summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Seaman <matthew@FreeBSD.org>2023-03-31 08:31:18 +0000
committerMatthew Seaman <matthew@FreeBSD.org>2023-03-31 08:33:38 +0000
commitf420651869bb3f6cbfb3b28c83dd0a705a919884 (patch)
tree7b02dbf17cb2f9c08f735baa158725f1d8f37aff
parent529c25f292c05e34f6689fa791807ea63fc2136f (diff)
downloadfreebsd-ports-f420651869bb3f6cbfb3b28c83dd0a705a919884.zip
devel/py-pytest-helpers-namespace: update to 2021.12.29
Switch to pep517 build Changes: https://github.com/saltstack/pytest-helpers-namespace/blob/v2021.12.29/CHANGELOG.rst
-rw-r--r--devel/py-pytest-helpers-namespace/Makefile17
-rw-r--r--devel/py-pytest-helpers-namespace/distinfo6
2 files changed, 12 insertions, 11 deletions
diff --git a/devel/py-pytest-helpers-namespace/Makefile b/devel/py-pytest-helpers-namespace/Makefile
index 010023c2e171..393dc5cbf275 100644
--- a/devel/py-pytest-helpers-namespace/Makefile
+++ b/devel/py-pytest-helpers-namespace/Makefile
@@ -1,5 +1,5 @@
PORTNAME= pytest-helpers-namespace
-PORTVERSION= 2019.1.8
+PORTVERSION= 2021.12.29
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -10,17 +10,18 @@ WWW= https://pypi.org/project/pytest-helpers-namespace/
LICENSE= APACHE20
-TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}coverage>0:devel/py-coverage@${PY_FLAVOR}
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=50.3.2:devel/py-setuptools@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=3.4:devel/py-setuptools_scm@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}setuptools-declarative-requirements>=0:devel/py-setuptools-declarative-requirements@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR}
USES= python:3.6+
-USE_PYTHON= autoplist concurrent distutils
+USE_PYTHON= autoplist concurrent pep517 pytest
NO_ARCH= yes
-# pypi tarball does not contain any of the test code?
-
-#do-test:
-# @cd ${WRKSRC} && ${LOCALBASE}/bin/pytest-${PYTHON_VER} tests
+TEST_ENV= PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
.include <bsd.port.mk>
diff --git a/devel/py-pytest-helpers-namespace/distinfo b/devel/py-pytest-helpers-namespace/distinfo
index 86c6c46b9e4d..37f6a5f6f2a3 100644
--- a/devel/py-pytest-helpers-namespace/distinfo
+++ b/devel/py-pytest-helpers-namespace/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1560495290
-SHA256 (pytest-helpers-namespace-2019.1.8.tar.gz) = 4eff23a19f92410c0166f6dffbfa8901d3e14a80e97d70cd08428b6d597771ce
-SIZE (pytest-helpers-namespace-2019.1.8.tar.gz) = 5487
+TIMESTAMP = 1680179653
+SHA256 (pytest-helpers-namespace-2021.12.29.tar.gz) = 792038247e0021beb966a7ea6e3a70ff5fcfba77eb72c6ec8fd6287af871c35b
+SIZE (pytest-helpers-namespace-2021.12.29.tar.gz) = 53355