Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang pytest from versioned depends



details:   https://anonhg.NetBSD.org/pkgsrc/rev/44fec909de52
branches:  trunk
changeset: 431944:44fec909de52
user:      adam <adam%pkgsrc.org@localhost>
date:      Sun May 17 18:39:29 2020 +0000

description:
pytest from versioned depends

diffstat:

 lang/py-parso/Makefile      |  6 ++++--
 lang/py-six/Makefile        |  5 +++--
 lang/py-uncompyle6/Makefile |  6 ++++--
 3 files changed, 11 insertions(+), 6 deletions(-)

diffs (74 lines):

diff -r a34e6c346158 -r 44fec909de52 lang/py-parso/Makefile
--- a/lang/py-parso/Makefile    Sun May 17 18:32:42 2020 +0000
+++ b/lang/py-parso/Makefile    Sun May 17 18:39:29 2020 +0000
@@ -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 @@
 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 @@
        cd ${WRKSRC} && pytest-${PYVERSSUFFIX}
 
 .include "../../lang/python/egg.mk"
+.include "../../lang/python/versioned_dependencies.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r a34e6c346158 -r 44fec909de52 lang/py-six/Makefile
--- a/lang/py-six/Makefile      Sun May 17 18:32:42 2020 +0000
+++ b/lang/py-six/Makefile      Sun May 17 18:39:29 2020 +0000
@@ -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 @@
 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 @@
        cd ${WRKSRC} && pytest-${PYVERSSUFFIX}
 
 .include "../../lang/python/egg.mk"
+.include "../../lang/python/versioned_dependencies.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r a34e6c346158 -r 44fec909de52 lang/py-uncompyle6/Makefile
--- a/lang/py-uncompyle6/Makefile       Sun May 17 18:32:42 2020 +0000
+++ b/lang/py-uncompyle6/Makefile       Sun May 17 18:39:29 2020 +0000
@@ -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 @@
 
 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 @@
        cd ${WRKSRC}/pytest && pytest-${PYVERSSUFFIX}
 
 .include "../../lang/python/egg.mk"
+.include "../../lang/python/versioned_dependencies.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index