summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2020-05-16 14:05:15 +0000
committeradam <adam@pkgsrc.org>2020-05-16 14:05:15 +0000
commit1fd4ef38a8b569bb648cc50e1b1517c747a36fdc (patch)
tree19347447c5dc06d29f1ec1e1a4ed86815a33f4d6 /devel
parent932460a92c8107ce19280754113bef1aaede66e6 (diff)
downloadpkgsrc-1fd4ef38a8b569bb648cc50e1b1517c747a36fdc.tar.gz
pytest from versioned deps.
Diffstat (limited to 'devel')
-rw-r--r--devel/py-test-isort/Makefile6
-rw-r--r--devel/py-test-xdist/Makefile6
-rw-r--r--devel/py-xdis/Makefile3
3 files changed, 9 insertions, 6 deletions
diff --git a/devel/py-test-isort/Makefile b/devel/py-test-isort/Makefile
index 23158b47e65..5a429e5c6b4 100644
--- a/devel/py-test-isort/Makefile
+++ b/devel/py-test-isort/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2017/08/21 15:30:27 adam Exp $
+# $NetBSD: Makefile,v 1.2 2020/05/16 14:05:15 adam Exp $
DISTNAME= pytest-isort-0.1.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/py//}
@@ -11,10 +11,12 @@ COMMENT= Pytest plugin to perform isort checks (import ordering)
LICENSE= modified-bsd
DEPENDS+= ${PYPKGPREFIX}-isort>=3.9.6:../../devel/py-isort
-DEPENDS+= ${PYPKGPREFIX}-test>=2.6.4:../../devel/py-test
DEPENDS+= ${PYPKGPREFIX}-test-cache>=1.0:../../devel/py-test-cache
+PYTHON_VERSIONED_DEPENDENCIES= test
+
USE_LANGUAGES= # none
.include "../../lang/python/egg.mk"
+.include "../../lang/python/versioned_dependencies.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/py-test-xdist/Makefile b/devel/py-test-xdist/Makefile
index 36117c38a43..9d248c32fda 100644
--- a/devel/py-test-xdist/Makefile
+++ b/devel/py-test-xdist/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.26 2020/05/03 18:17:36 adam Exp $
+# $NetBSD: Makefile,v 1.27 2020/05/16 14:07:20 adam Exp $
DISTNAME= pytest-xdist-1.32.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/py//}
@@ -12,15 +12,17 @@ LICENSE= mit
DEPENDS+= ${PYPKGPREFIX}-execnet>=1.1:../../devel/py-execnet
DEPENDS+= ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
-DEPENDS+= ${PYPKGPREFIX}-test>=4.4.0:../../devel/py-test
DEPENDS+= ${PYPKGPREFIX}-test-forked-[0-9]*:../../devel/py-test-forked
BUILD_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm-[0-9]*:../../devel/py-setuptools_scm
TEST_DEPENDS+= ${PYPKGPREFIX}-filelock-[0-9]*:../../devel/py-filelock
+PYTHON_VERSIONED_DEPENDENCIES= test
+
USE_LANGUAGES= # none
do-test:
cd ${WRKSRC} && pytest-${PYVERSSUFFIX} testing
.include "../../lang/python/egg.mk"
+.include "../../lang/python/versioned_dependencies.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/py-xdis/Makefile b/devel/py-xdis/Makefile
index 98a0c7c22e7..ece9d0b7513 100644
--- a/devel/py-xdis/Makefile
+++ b/devel/py-xdis/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.22 2020/04/28 11:01:17 adam Exp $
+# $NetBSD: Makefile,v 1.23 2020/05/16 14:07:20 adam Exp $
DISTNAME= xdis-4.5.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
@@ -12,7 +12,6 @@ LICENSE= gnu-gpl-v2
DEPENDS+= ${PYPKGPREFIX}-click-[0-9]*:../../devel/py-click
DEPENDS+= ${PYPKGPREFIX}-six>=1.10.0:../../lang/py-six
-TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
TEST_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
USE_LANGUAGES= # none