mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-19 00:13:33 +00:00
converters/py-svglib: Update to 1.5.1
* Convert "do-test" target to USE_PYTHON=pytest while I'm here. Changelog since 1.4.1: https://github.com/deeplook/svglib/blob/v1.5.1/CHANGELOG.rst
This commit is contained in:
parent
a9555f688e
commit
b548bc454f
@ -1,5 +1,5 @@
|
||||
PORTNAME= svglib
|
||||
DISTVERSION= 1.4.1
|
||||
DISTVERSION= 1.5.1
|
||||
CATEGORIES= converters python
|
||||
MASTER_SITES= PYPI
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
@ -15,11 +15,11 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cssselect2>=0.2.0:textproc/py-cssselect2@${P
|
||||
${PYTHON_PKGNAMEPREFIX}lxml>0:devel/py-lxml@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}reportlab>0:print/py-reportlab@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}tinycss2>=0.6.0:textproc/py-tinycss2@${PY_FLAVOR}
|
||||
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR}
|
||||
|
||||
USES= cpe python:3.7+
|
||||
USE_PYTHON= autoplist concurrent distutils
|
||||
USE_PYTHON= autoplist concurrent distutils pytest
|
||||
CPE_VENDOR= svglib_project
|
||||
PYTEST_IGNORED_TESTS= test_font_family
|
||||
|
||||
TEST_ENV= PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
|
||||
|
||||
@ -27,7 +27,4 @@ CONFLICTS_INSTALL= svg2pdf # bin/svg2pdf
|
||||
|
||||
NO_ARCH= yes
|
||||
|
||||
do-test:
|
||||
@cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest -v -rs -k 'not test_font_family'
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,3 +1,3 @@
|
||||
TIMESTAMP = 1659866548
|
||||
SHA256 (svglib-1.4.1.tar.gz) = 48c24706c23bb4262173b6fa49eabb10afa15b8412f14283120549517ccfa314
|
||||
SIZE (svglib-1.4.1.tar.gz) = 913042
|
||||
TIMESTAMP = 1677150655
|
||||
SHA256 (svglib-1.5.1.tar.gz) = 3ae765d3a9409ee60c0fb4d24c2deb6a80617aa927054f5bcd7fc98f0695e587
|
||||
SIZE (svglib-1.5.1.tar.gz) = 913900
|
||||
|
Loading…
Reference in New Issue
Block a user