summaryrefslogtreecommitdiff
path: root/textproc/py-genshi/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/py-genshi/Makefile')
-rw-r--r--textproc/py-genshi/Makefile12
1 files changed, 7 insertions, 5 deletions
diff --git a/textproc/py-genshi/Makefile b/textproc/py-genshi/Makefile
index 2926f0b74fc5..76d8646a491b 100644
--- a/textproc/py-genshi/Makefile
+++ b/textproc/py-genshi/Makefile
@@ -1,8 +1,9 @@
PORTNAME= Genshi
-PORTVERSION= 0.7.9
+PORTVERSION= 0.7.10
CATEGORIES= textproc www python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= ${PORTNAME:tl}-${DISTVERSION}
MAINTAINER= nivit@FreeBSD.org
COMMENT= Toolkit for generation of output for the web
@@ -15,7 +16,11 @@ BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=63.1.0:devel/py-setuptools@${P
${PYTHON_PKGNAMEPREFIX}wheel>=0.43.0:devel/py-wheel@${PY_FLAVOR}
USES= python
-USE_PYTHON= autoplist pep517
+USE_PYTHON= autoplist pep517 pytest
+
+# tests: 808 passed
+TEST_ENV= PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
+ PYTHONPATH="${STAGEDIR}${PYTHON_SITELIBDIR}"
OPTIONS_DEFINE= BABEL
BABEL_DESC= I18n support through the Babel plugin
@@ -25,7 +30,4 @@ BABEL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Babel>=0.8:devel/py-babel@${PY_FLAVOR}
post-install:
@${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/genshi/_speedups${PYTHON_TAG}.so
-do-test:
- @cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
-
.include <bsd.port.mk>