diff options
author | adam <adam@pkgsrc.org> | 2020-05-17 20:18:35 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2020-05-17 20:18:35 +0000 |
commit | 391a7050280a6d69ae4c13556d187fbe7dc94212 (patch) | |
tree | f2db6b2a3d8008f69db46098117ba6b0f1ddad21 /www | |
parent | 47f75faaf830d2fef7a31c5715e9c49776ea68cd (diff) | |
download | pkgsrc-391a7050280a6d69ae4c13556d187fbe7dc94212.tar.gz |
pytest from versioned depends
Diffstat (limited to 'www')
-rw-r--r-- | www/py-PasteDeploy/Makefile | 3 | ||||
-rw-r--r-- | www/py-WebOb/Makefile | 4 | ||||
-rw-r--r-- | www/py-betamax/Makefile | 12 | ||||
-rw-r--r-- | www/py-bleach/Makefile | 3 | ||||
-rw-r--r-- | www/py-flask-jwt-extended/Makefile | 6 | ||||
-rw-r--r-- | www/py-flask/Makefile | 6 | ||||
-rw-r--r-- | www/py-h2/Makefile | 6 | ||||
-rw-r--r-- | www/py-protego/Makefile | 4 | ||||
-rw-r--r-- | www/py-raven/Makefile | 6 | ||||
-rw-r--r-- | www/py-rfc3986/Makefile | 6 |
10 files changed, 33 insertions, 23 deletions
diff --git a/www/py-PasteDeploy/Makefile b/www/py-PasteDeploy/Makefile index d70b375c1c1..62ff3d14290 100644 --- a/www/py-PasteDeploy/Makefile +++ b/www/py-PasteDeploy/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.9 2018/12/14 13:29:28 adam Exp $ +# $NetBSD: Makefile,v 1.10 2020/05/17 20:18:35 adam Exp $ DISTNAME= PasteDeploy-2.0.1 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} @@ -11,7 +11,6 @@ COMMENT= Load, configure, and compose WSGI applications and servers LICENSE= mit BUILD_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner -TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test USE_LANGUAGES= # none diff --git a/www/py-WebOb/Makefile b/www/py-WebOb/Makefile index bf920c0c3dc..e443aed532b 100644 --- a/www/py-WebOb/Makefile +++ b/www/py-WebOb/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.9 2020/01/29 22:47:02 adam Exp $ +# $NetBSD: Makefile,v 1.10 2020/05/17 20:18:35 adam Exp $ DISTNAME= WebOb-1.8.6 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} @@ -11,8 +11,8 @@ COMMENT= Python module providing WSGI request and response objects LICENSE= mit TEST_DEPENDS+= ${PYPKGPREFIX}-coverage-[0-9]*:../../devel/py-coverage -TEST_DEPENDS+= ${PYPKGPREFIX}-test>=3.1.0:../../devel/py-test TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov +TEST_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner TEST_DEPENDS+= ${PYPKGPREFIX}-test-xdist-[0-9]*:../../devel/py-test-xdist USE_LANGUAGES= # none diff --git a/www/py-betamax/Makefile b/www/py-betamax/Makefile index 261af671dec..92212e46c96 100644 --- a/www/py-betamax/Makefile +++ b/www/py-betamax/Makefile @@ -1,19 +1,21 @@ -# $NetBSD: Makefile,v 1.8 2018/04/17 10:45:05 wiz Exp $ +# $NetBSD: Makefile,v 1.9 2020/05/17 20:18:35 adam Exp $ DISTNAME= betamax-0.8.1 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} -CATEGORIES= www +CATEGORIES= www python MASTER_SITES= ${MASTER_SITE_PYPI:=b/betamax/} MAINTAINER= pkgsrc-users@NetBSD.org -HOMEPAGE= https://pypi.python.org/pypi/betamax +HOMEPAGE= https://github.com/sigmavirus24/betamax COMMENT= VCR imitation for python-requests LICENSE= apache-2.0 -DEPENDS+= ${PYPKGPREFIX}-requests-[0-9]*:../../devel/py-requests -BUILD_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test +DEPENDS+= ${PYPKGPREFIX}-requests>=2.0:../../devel/py-requests + +PYTHON_VERSIONED_DEPENDENCIES= test:build USE_LANGUAGES= # none .include "../../lang/python/egg.mk" +.include "../../lang/python/versioned_dependencies.mk" .include "../../mk/bsd.pkg.mk" diff --git a/www/py-bleach/Makefile b/www/py-bleach/Makefile index e33112aef87..5022b0e690f 100644 --- a/www/py-bleach/Makefile +++ b/www/py-bleach/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.16 2020/04/30 09:37:26 adam Exp $ +# $NetBSD: Makefile,v 1.17 2020/05/17 20:18:35 adam Exp $ DISTNAME= bleach-3.1.5 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} @@ -13,7 +13,6 @@ LICENSE= apache-2.0 DEPENDS+= ${PYPKGPREFIX}-six>=1.9:../../lang/py-six DEPENDS+= ${PYPKGPREFIX}-webencodings-[0-9]*:../../textproc/py-webencodings BUILD_DEPENDS+= ${PYPKGPREFIX}-test-runner>=2.0:../../devel/py-test-runner -TEST_DEPENDS+= ${PYPKGPREFIX}-test>=3.0.0:../../devel/py-test USE_LANGUAGES= # none diff --git a/www/py-flask-jwt-extended/Makefile b/www/py-flask-jwt-extended/Makefile index 681527761a8..9728754ced5 100644 --- a/www/py-flask-jwt-extended/Makefile +++ b/www/py-flask-jwt-extended/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.8 2019/10/25 09:34:08 adam Exp $ +# $NetBSD: Makefile,v 1.9 2020/05/17 20:18:35 adam Exp $ DISTNAME= Flask-JWT-Extended-3.24.1 PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl} @@ -15,7 +15,8 @@ DEPENDS+= ${PYPKGPREFIX}-flask>=1.0:../../www/py-flask DEPENDS+= ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six DEPENDS+= ${PYPKGPREFIX}-cryptography>=2.3:../../security/py-cryptography DEPENDS+= ${PYPKGPREFIX}-werkzeug>=0.14:../../www/py-werkzeug -TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test + +PYTHON_VERSIONED_DEPENDENCIES= test:test USE_LANGUAGES= # none @@ -23,4 +24,5 @@ do-test: cd ${WRKSRC} && pytest-${PYVERSSUFFIX} tests .include "../../lang/python/egg.mk" +.include "../../lang/python/versioned_dependencies.mk" .include "../../mk/bsd.pkg.mk" diff --git a/www/py-flask/Makefile b/www/py-flask/Makefile index c7f3e1fc342..9dc0d1f5d4a 100644 --- a/www/py-flask/Makefile +++ b/www/py-flask/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.16 2020/04/07 08:52:06 adam Exp $ +# $NetBSD: Makefile,v 1.17 2020/05/17 20:18:35 adam Exp $ DISTNAME= Flask-1.1.2 PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl} @@ -14,7 +14,8 @@ DEPENDS+= ${PYPKGPREFIX}-click>=5.1:../../devel/py-click DEPENDS+= ${PYPKGPREFIX}-itsdangerous>=0.24:../../security/py-itsdangerous DEPENDS+= ${PYPKGPREFIX}-jinja2>=2.10.1:../../textproc/py-jinja2 DEPENDS+= ${PYPKGPREFIX}-werkzeug>=0.15:../../www/py-werkzeug -TEST_DEPENDS+= ${PYPKGPREFIX}-test>=3.0:../../devel/py-test + +PYTHON_VERSIONED_DEPENDENCIES= test:test USE_LANGUAGES= # none @@ -26,4 +27,5 @@ do-test: cd ${WRKSRC}/tests && pytest-${PYVERSSUFFIX} .include "../../lang/python/egg.mk" +.include "../../lang/python/versioned_dependencies.mk" .include "../../mk/bsd.pkg.mk" diff --git a/www/py-h2/Makefile b/www/py-h2/Makefile index 5c140d09816..f4cf1b518a0 100644 --- a/www/py-h2/Makefile +++ b/www/py-h2/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.7 2020/02/17 12:12:37 adam Exp $ +# $NetBSD: Makefile,v 1.8 2020/05/17 20:18:36 adam Exp $ DISTNAME= h2-3.2.0 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} @@ -12,16 +12,18 @@ LICENSE= mit DEPENDS+= ${PYPKGPREFIX}-hyperframe>=5.2.0:../../www/py-hyperframe DEPENDS+= ${PYPKGPREFIX}-hpack>=3.0:../../net/py-hpack -TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test .include "../../lang/python/pyversion.mk" .if ${_PYTHON_VERSION} == 27 DEPENDS+= ${PYPKGPREFIX}-enum34>=1.1.6:../../devel/py-enum34 .endif +PYTHON_VERSIONED_DEPENDENCIES= test:test + USE_LANGUAGES= # none do-test: cd ${WRKSRC} && pytest-${PYVERSSUFFIX} test .include "../../lang/python/egg.mk" +.include "../../lang/python/versioned_dependencies.mk" .include "../../mk/bsd.pkg.mk" diff --git a/www/py-protego/Makefile b/www/py-protego/Makefile index 454b37d3658..dc7daf18325 100644 --- a/www/py-protego/Makefile +++ b/www/py-protego/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1 2020/01/29 21:52:27 adam Exp $ +# $NetBSD: Makefile,v 1.2 2020/05/17 20:18:36 adam Exp $ DISTNAME= Protego-0.1.16 PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl} @@ -11,7 +11,7 @@ COMMENT= Pure-Python robots.txt parser with support for modern conventions LICENSE= modified-bsd DEPENDS+= ${PYPKGPREFIX}-six-[0-9]*:../../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 diff --git a/www/py-raven/Makefile b/www/py-raven/Makefile index 2844ee6e5d8..23075f5430c 100644 --- a/www/py-raven/Makefile +++ b/www/py-raven/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.9 2020/03/22 12:28:28 rillig Exp $ +# $NetBSD: Makefile,v 1.10 2020/05/17 20:18:36 adam Exp $ DISTNAME= raven-6.10.0 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} @@ -29,7 +29,6 @@ TEST_DEPENDS+= ${PYPKGPREFIX}-pytz-[0-9]*:../../time/py-pytz # avoid circular dependency #TEST_DEPENDS+= ${PYPKGPREFIX}-requests-[0-9]*:../../devel/py-requests TEST_DEPENDS+= ${PYPKGPREFIX}-sanic>=0.7.0:../../www/py-sanic -TEST_DEPENDS+= ${PYPKGPREFIX}-test>=3.2.0:../../devel/py-test TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov>=2.5.1:../../devel/py-test-cov TEST_DEPENDS+= ${PYPKGPREFIX}-test-flake8>=1.0.0:../../devel/py-test-flake8 TEST_DEPENDS+= ${PYPKGPREFIX}-test-pythonpath>=0.7.1:../../devel/py-test-pythonpath @@ -42,6 +41,8 @@ TEST_DEPENDS+= ${PYPKGPREFIX}-unittest2-[0-9]*:../../devel/py-unittest2 TEST_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel TEST_DEPENDS+= ${PYPKGPREFIX}-zconfig-[0-9]*:../../devel/py-zconfig +PYTHON_VERSIONED_DEPENDENCIES= test:test + .include "../../lang/python/pyversion.mk" .if ${PYPKGPREFIX} == py27 DEPENDS+= ${PYPKGPREFIX}-contextlib2-[0-9]*:../../devel/py-contextlib2 @@ -56,4 +57,5 @@ post-install: ${MV} raven raven-${PYVERSSUFFIX} || ${TRUE} .include "../../lang/python/egg.mk" +.include "../../lang/python/versioned_dependencies.mk" .include "../../mk/bsd.pkg.mk" diff --git a/www/py-rfc3986/Makefile b/www/py-rfc3986/Makefile index 8fbc2f6ea0a..05905db3db0 100644 --- a/www/py-rfc3986/Makefile +++ b/www/py-rfc3986/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2020/04/11 07:11:35 adam Exp $ +# $NetBSD: Makefile,v 1.3 2020/05/17 20:18:36 adam Exp $ DISTNAME= rfc3986-1.4.0 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} @@ -11,7 +11,8 @@ COMMENT= Validating URI References per RFC 3986 LICENSE= apache-2.0 DEPENDS+= ${PYPKGPREFIX}-idna-[0-9]*:../../www/py-idna -TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test + +PYTHON_VERSIONED_DEPENDENCIES= test:test USE_LANGUAGES= # none @@ -19,4 +20,5 @@ do-test: cd ${WRKSRC} && pytest-${PYVERSSUFFIX} tests .include "../../lang/python/egg.mk" +.include "../../lang/python/versioned_dependencies.mk" .include "../../mk/bsd.pkg.mk" |