Files
ports/graphics/py-svgwrite/Makefile
T
Kai Knoblich 6bed64ef9f 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@m5p.com (maintainer)
2021-01-04 09:20:12 +00:00

34 lines
791 B
Makefile

# $FreeBSD$
PORTNAME= svgwrite
PORTVERSION= 1.4
CATEGORIES= graphics python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= george@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 concurrent distutils
NO_ARCH= yes
PORTEXAMPLES= *
OPTIONS_DEFINE= EXAMPLES
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>