summaryrefslogtreecommitdiff
path: root/devel/py-stevedore/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/py-stevedore/Makefile')
-rw-r--r--devel/py-stevedore/Makefile15
1 files changed, 10 insertions, 5 deletions
diff --git a/devel/py-stevedore/Makefile b/devel/py-stevedore/Makefile
index a17d16b05a57..0d7b03c7c083 100644
--- a/devel/py-stevedore/Makefile
+++ b/devel/py-stevedore/Makefile
@@ -1,5 +1,5 @@
PORTNAME= stevedore
-PORTVERSION= 5.4.1
+PORTVERSION= 5.5.0
CATEGORIES= devel
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -14,11 +14,16 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
# pbr is a RUN_DEPENDS too, just declared elsewhere (requirements.txt)
# https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=234529
# https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197373
-BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pbr>=2.0.0:devel/py-pbr@${PY_FLAVOR}
-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pbr>=2.0.0:devel/py-pbr@${PY_FLAVOR}
-
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pbr>=6.1.1:devel/py-pbr@${PY_FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pbr>=6.1.1:devel/py-pbr@${PY_FLAVOR}
USES= python
-USE_PYTHON= autoplist distutils
+USE_PYTHON= autoplist distutils pytest
+
+.if make(test)
+# tests: 91 passed, 1 skipped
+TEST_ENV= PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
+ PYTHONPATH="${STAGEDIR}${PYTHON_SITELIBDIR}"
+.endif
NO_ARCH= yes