svn commit: r560274 - head/graphics/py-svgwrite
Kai Knoblich
kai at FreeBSD.org
Mon Jan 4 09:20:13 UTC 2021
Author: kai
Date: Mon Jan 4 09:20:12 2021
New Revision: 560274
URL: https://svnweb.freebsd.org/changeset/ports/560274
Log:
graphics/py-svgwrite: Update to 1.4
* Add NO_ARCH as the package doesn't contain architecture specific files.
* Simplify concurrent safety handling for the EXAMPLES option.
* Add "do-test" target to make future QA easier.
* Improve pkg-descr to give some hints about the features of the library.
Changelog:
https://github.com/mozman/svgwrite/blob/v1.4/NEWS.rst
PR: 252389
Approved by: george at m5p.com (maintainer)
Modified:
head/graphics/py-svgwrite/Makefile
head/graphics/py-svgwrite/distinfo
head/graphics/py-svgwrite/pkg-descr
Modified: head/graphics/py-svgwrite/Makefile
==============================================================================
--- head/graphics/py-svgwrite/Makefile Mon Jan 4 08:59:00 2021 (r560273)
+++ head/graphics/py-svgwrite/Makefile Mon Jan 4 09:20:12 2021 (r560274)
@@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= svgwrite
-PORTVERSION= 1.3.1
+PORTVERSION= 1.4
CATEGORIES= graphics python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -10,19 +10,24 @@ MAINTAINER= george at m5p.com
COMMENT= Python library to create SVG drawings
LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE.TXT
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyparsing>=0:devel/py-pyparsing@${PY_FLAVOR}
+TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR}
USES= python:3.6+ zip
-USE_PYTHON= autoplist distutils
+USE_PYTHON= autoplist concurrent distutils
+NO_ARCH= yes
+
PORTEXAMPLES= *
OPTIONS_DEFINE= EXAMPLES
-EXAMPLESDIR= ${PREFIX}/share/examples/${PKGNAMEPREFIX}${PORTNAME}
-
post-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
@(cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})
+
+do-test:
+ @cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest -v -rs
.include <bsd.port.mk>
Modified: head/graphics/py-svgwrite/distinfo
==============================================================================
--- head/graphics/py-svgwrite/distinfo Mon Jan 4 08:59:00 2021 (r560273)
+++ head/graphics/py-svgwrite/distinfo Mon Jan 4 09:20:12 2021 (r560274)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1561835799
-SHA256 (svgwrite-1.3.1.zip) = 11e47749b159ed7004721e11d380b4642a26154b8cb2f7b0102fea9c71a3dfa1
-SIZE (svgwrite-1.3.1.zip) = 185842
+TIMESTAMP = 1609687397
+SHA256 (svgwrite-1.4.zip) = b38ac03b67f81c728d81a33e4711aaf3ab136a57156d721bb17f88525d9909bb
+SIZE (svgwrite-1.4.zip) = 188493
Modified: head/graphics/py-svgwrite/pkg-descr
==============================================================================
--- head/graphics/py-svgwrite/pkg-descr Mon Jan 4 08:59:00 2021 (r560273)
+++ head/graphics/py-svgwrite/pkg-descr Mon Jan 4 09:20:12 2021 (r560274)
@@ -1,3 +1,7 @@
A Python library to create SVG drawings.
+As the name svgwrite implies, svgwrite creates new SVG drawings, it does not
+read existing drawings and also does not import existing drawings, but one can
+always include other SVG drawings by the <image> entity.
+
WWW: https://github.com/mozman/svgwrite
More information about the svn-ports-head
mailing list