summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2020-05-17 18:39:29 +0000
committeradam <adam@pkgsrc.org>2020-05-17 18:39:29 +0000
commita27faabe52f42731d87617100695b5ed1fd95fe7 (patch)
treefe04f85dc8dcb12603f0eb6346b8d047f7bd1555
parentd6271a6d3efe79248564b8db0aa75e59e716203b (diff)
downloadpkgsrc-a27faabe52f42731d87617100695b5ed1fd95fe7.tar.gz
pytest from versioned depends
-rw-r--r--lang/py-parso/Makefile6
-rw-r--r--lang/py-six/Makefile5
-rw-r--r--lang/py-uncompyle6/Makefile6
3 files changed, 11 insertions, 6 deletions
diff --git a/lang/py-parso/Makefile b/lang/py-parso/Makefile
index 1329142e623..22b0d2385cf 100644
--- a/lang/py-parso/Makefile
+++ b/lang/py-parso/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2020/04/20 10:18:40 adam Exp $
+# $NetBSD: Makefile,v 1.12 2020/05/17 18:39:29 adam Exp $
DISTNAME= parso-0.7.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
@@ -11,7 +11,8 @@ COMMENT= Python Parser
LICENSE= mit
TEST_DEPENDS+= ${PYPKGPREFIX}-docopt-[0-9]*:../../devel/py-docopt
-TEST_DEPENDS+= ${PYPKGPREFIX}-test>=3.0.7:../../devel/py-test
+
+PYTHON_VERSIONED_DEPENDENCIES= test:test
USE_LANGUAGES= # none
@@ -19,4 +20,5 @@ do-test:
cd ${WRKSRC} && pytest-${PYVERSSUFFIX}
.include "../../lang/python/egg.mk"
+.include "../../lang/python/versioned_dependencies.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/lang/py-six/Makefile b/lang/py-six/Makefile
index a935a862c75..fc3c5028ff0 100644
--- a/lang/py-six/Makefile
+++ b/lang/py-six/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2020/01/16 08:22:41 adam Exp $
+# $NetBSD: Makefile,v 1.17 2020/05/17 18:39:29 adam Exp $
DISTNAME= six-1.14.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
@@ -10,7 +10,7 @@ HOMEPAGE= https://github.com/benjaminp/six
COMMENT= Python 2 and 3 compatibility utilities
LICENSE= mit
-TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
+PYTHON_VERSIONED_DEPENDENCIES= test:test
USE_LANGUAGES= # none
@@ -18,4 +18,5 @@ do-test:
cd ${WRKSRC} && pytest-${PYVERSSUFFIX}
.include "../../lang/python/egg.mk"
+.include "../../lang/python/versioned_dependencies.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/lang/py-uncompyle6/Makefile b/lang/py-uncompyle6/Makefile
index fe7d3143cfe..8ebd7fe6a68 100644
--- a/lang/py-uncompyle6/Makefile
+++ b/lang/py-uncompyle6/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.22 2020/04/28 11:03:22 adam Exp $
+# $NetBSD: Makefile,v 1.23 2020/05/17 18:39:29 adam Exp $
DISTNAME= uncompyle6-3.6.7
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
@@ -12,7 +12,8 @@ LICENSE= gnu-gpl-v3
DEPENDS+= ${PYPKGPREFIX}-spark-parser>=1.8.9:../../lang/py-spark-parser
DEPENDS+= ${PYPKGPREFIX}-xdis>=4.5.1:../../devel/py-xdis
-TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
+
+PYTHON_VERSIONED_DEPENDENCIES= test:test
USE_LANGUAGES= # none
@@ -25,4 +26,5 @@ do-test:
cd ${WRKSRC}/pytest && pytest-${PYVERSSUFFIX}
.include "../../lang/python/egg.mk"
+.include "../../lang/python/versioned_dependencies.mk"
.include "../../mk/bsd.pkg.mk"