pytest from versioned deps.diff -r1.4 -r1.5 pkgsrc/devel/py-test-localserver/Makefile
(adam)
@@ -1,23 +1,25 @@ | @@ -1,23 +1,25 @@ | |||
1 | # $NetBSD: Makefile,v 1.4 2018/11/20 21:21:23 adam Exp $ | 1 | # $NetBSD: Makefile,v 1.5 2020/05/16 16:30:16 adam Exp $ | |
2 | 2 | |||
3 | DISTNAME= pytest-localserver-0.5.0 | 3 | DISTNAME= pytest-localserver-0.5.0 | |
4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/py//} | 4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/py//} | |
5 | CATEGORIES= devel python | 5 | CATEGORIES= devel python | |
6 | MASTER_SITES= ${MASTER_SITE_PYPI:=p/pytest-localserver/} | 6 | MASTER_SITES= ${MASTER_SITE_PYPI:=p/pytest-localserver/} | |
7 | 7 | |||
8 | MAINTAINER= pkgsrc-users@NetBSD.org | 8 | MAINTAINER= pkgsrc-users@NetBSD.org | |
9 | HOMEPAGE= https://bitbucket.org/pytest-dev/pytest-localserver/ | 9 | HOMEPAGE= https://bitbucket.org/pytest-dev/pytest-localserver/ | |
10 | COMMENT= Py.test plugin to test server connections locally | 10 | COMMENT= Py.test plugin to test server connections locally | |
11 | LICENSE= mit | 11 | LICENSE= mit | |
12 | 12 | |||
13 | DEPENDS+= ${PYPKGPREFIX}-werkzeug>=0.10:../../www/py-werkzeug | 13 | DEPENDS+= ${PYPKGPREFIX}-werkzeug>=0.10:../../www/py-werkzeug | |
14 | TEST_DEPENDS+= ${PYPKGPREFIX}-requests-[0-9]*:../../devel/py-requests | 14 | TEST_DEPENDS+= ${PYPKGPREFIX}-requests-[0-9]*:../../devel/py-requests | |
15 | TEST_DEPENDS+= ${PYPKGPREFIX}-test>=2.0.0:../../devel/py-test | 15 | ||
16 | PYTHON_VERSIONED_DEPENDENCIES= test:test | |||
16 | 17 | |||
17 | USE_LANGUAGES= # none | 18 | USE_LANGUAGES= # none | |
18 | 19 | |||
19 | do-test: | 20 | do-test: | |
20 | cd ${WRKSRC}/tests && py.test-${PYVERSSUFFIX} | 21 | cd ${WRKSRC}/tests && pytest-${PYVERSSUFFIX} | |
21 | 22 | |||
22 | .include "../../lang/python/egg.mk" | 23 | .include "../../lang/python/egg.mk" | |
24 | .include "../../lang/python/versioned_dependencies.mk" | |||
23 | .include "../../mk/bsd.pkg.mk" | 25 | .include "../../mk/bsd.pkg.mk" |
@@ -1,25 +1,27 @@ | @@ -1,25 +1,27 @@ | |||
1 | # $NetBSD: Makefile,v 1.21 2020/01/27 13:05:07 adam Exp $ | 1 | # $NetBSD: Makefile,v 1.22 2020/05/16 16:30:15 adam Exp $ | |
2 | 2 | |||
3 | DISTNAME= pytest-mock-2.0.0 | 3 | DISTNAME= pytest-mock-2.0.0 | |
4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/py//} | 4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/py//} | |
5 | CATEGORIES= devel python | 5 | CATEGORIES= devel python | |
6 | MASTER_SITES= ${MASTER_SITE_PYPI:=p/pytest-mock/} | 6 | MASTER_SITES= ${MASTER_SITE_PYPI:=p/pytest-mock/} | |
7 | 7 | |||
8 | MAINTAINER= pkgsrc-users@NetBSD.org | 8 | MAINTAINER= pkgsrc-users@NetBSD.org | |
9 | HOMEPAGE= https://github.com/pytest-dev/pytest-mock | 9 | HOMEPAGE= https://github.com/pytest-dev/pytest-mock | |
10 | COMMENT= Thin-wrapper around the mock package for easier use with py.test | 10 | COMMENT= Thin-wrapper around the mock package for easier use with py.test | |
11 | LICENSE= mit | 11 | LICENSE= mit | |
12 | 12 | |||
13 | DEPENDS+= ${PYPKGPREFIX}-test>=2.7:../../devel/py-test | |||
14 | BUILD_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm-[0-9]*:../../devel/py-setuptools_scm | 13 | BUILD_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm-[0-9]*:../../devel/py-setuptools_scm | |
15 | 14 | |||
15 | PYTHON_VERSIONED_DEPENDENCIES= test | |||
16 | ||||
16 | .include "../../lang/python/pyversion.mk" | 17 | .include "../../lang/python/pyversion.mk" | |
17 | .if ${_PYTHON_VERSION} == 27 | 18 | .if ${_PYTHON_VERSION} == 27 | |
18 | DEPENDS+= ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock | 19 | DEPENDS+= ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock | |
19 | .endif | 20 | .endif | |
20 | 21 | |||
21 | do-test: | 22 | do-test: | |
22 | cd ${WRKSRC} && pytest-${PYVERSSUFFIX} | 23 | cd ${WRKSRC} && pytest-${PYVERSSUFFIX} | |
23 | 24 | |||
24 | .include "../../lang/python/egg.mk" | 25 | .include "../../lang/python/egg.mk" | |
26 | .include "../../lang/python/versioned_dependencies.mk" | |||
25 | .include "../../mk/bsd.pkg.mk" | 27 | .include "../../mk/bsd.pkg.mk" |
@@ -1,21 +1,22 @@ | @@ -1,21 +1,22 @@ | |||
1 | # $NetBSD: Makefile,v 1.2 2018/08/23 07:48:43 adam Exp $ | 1 | # $NetBSD: Makefile,v 1.3 2020/05/16 16:30:16 adam Exp $ | |
2 | 2 | |||
3 | DISTNAME= pytest-pythonpath-0.7.3 | 3 | DISTNAME= pytest-pythonpath-0.7.3 | |
4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/py//} | 4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/py//} | |
5 | CATEGORIES= devel python | 5 | CATEGORIES= devel python | |
6 | MASTER_SITES= ${MASTER_SITE_PYPI:=p/pytest-pythonpath/} | 6 | MASTER_SITES= ${MASTER_SITE_PYPI:=p/pytest-pythonpath/} | |
7 | 7 | |||
8 | MAINTAINER= pkgsrc-users@NetBSD.org | 8 | MAINTAINER= pkgsrc-users@NetBSD.org | |
9 | HOMEPAGE= https://github.com/bigsassy/pytest-pythonpath | 9 | HOMEPAGE= https://github.com/bigsassy/pytest-pythonpath | |
10 | COMMENT= Pytest plugin for adding to the PYTHONPATH | 10 | COMMENT= Pytest plugin for adding to the PYTHONPATH | |
11 | LICENSE= mit | 11 | LICENSE= mit | |
12 | 12 | |||
13 | DEPENDS+= ${PYPKGPREFIX}-test>=2.5.2:../../devel/py-test | 13 | PYTHON_VERSIONED_DEPENDENCIES= test | |
14 | 14 | |||
15 | USE_LANGUAGES= # none | 15 | USE_LANGUAGES= # none | |
16 | 16 | |||
17 | do-test: | 17 | do-test: | |
18 | cd ${WRKSRC} && pytest-${PYVERSSUFFIX} | 18 | cd ${WRKSRC} && pytest-${PYVERSSUFFIX} | |
19 | 19 | |||
20 | .include "../../lang/python/egg.mk" | 20 | .include "../../lang/python/egg.mk" | |
21 | .include "../../lang/python/versioned_dependencies.mk" | |||
21 | .include "../../mk/bsd.pkg.mk" | 22 | .include "../../mk/bsd.pkg.mk" |
@@ -1,18 +1,19 @@ | @@ -1,18 +1,19 @@ | |||
1 | # $NetBSD: Makefile,v 1.1 2020/01/29 21:43:02 adam Exp $ | 1 | # $NetBSD: Makefile,v 1.2 2020/05/16 16:30:16 adam Exp $ | |
2 | 2 | |||
3 | DISTNAME= pytest-random-order-1.0.4 | 3 | DISTNAME= pytest-random-order-1.0.4 | |
4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/^py//} | 4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/^py//} | |
5 | CATEGORIES= devel python | 5 | CATEGORIES= devel python | |
6 | MASTER_SITES= ${MASTER_SITE_PYPI:=p/pytest-random-order/} | 6 | MASTER_SITES= ${MASTER_SITE_PYPI:=p/pytest-random-order/} | |
7 | 7 | |||
8 | MAINTAINER= pkgsrc-users@NetBSD.org | 8 | MAINTAINER= pkgsrc-users@NetBSD.org | |
9 | HOMEPAGE= https://github.com/jbasko/pytest-random-order | 9 | HOMEPAGE= https://github.com/jbasko/pytest-random-order | |
10 | COMMENT= Randomise the order in which pytest tests are run | 10 | COMMENT= Randomise the order in which pytest tests are run | |
11 | LICENSE= mit | 11 | LICENSE= mit | |
12 | 12 | |||
13 | DEPENDS+= ${PYPKGPREFIX}-test>=3.0.0:../../devel/py-test | 13 | PYTHON_VERSIONED_DEPENDENCIES= test | |
14 | 14 | |||
15 | USE_LANGUAGES= # none | 15 | USE_LANGUAGES= # none | |
16 | 16 | |||
17 | .include "../../lang/python/egg.mk" | 17 | .include "../../lang/python/egg.mk" | |
18 | .include "../../lang/python/versioned_dependencies.mk" | |||
18 | .include "../../mk/bsd.pkg.mk" | 19 | .include "../../mk/bsd.pkg.mk" |