Sat May 16 16:30:16 2020 UTC ()
pytest from versioned deps.


(adam)
diff -r1.4 -r1.5 pkgsrc/devel/py-test-localserver/Makefile
diff -r1.21 -r1.22 pkgsrc/devel/py-test-mock/Makefile
diff -r1.2 -r1.3 pkgsrc/devel/py-test-pythonpath/Makefile
diff -r1.1 -r1.2 pkgsrc/devel/py-test-random-order/Makefile

cvs diff -r1.4 -r1.5 pkgsrc/devel/py-test-localserver/Makefile (expand / switch to unified diff)

--- pkgsrc/devel/py-test-localserver/Makefile 2018/11/20 21:21:23 1.4
+++ pkgsrc/devel/py-test-localserver/Makefile 2020/05/16 16:30:16 1.5
@@ -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
3DISTNAME= pytest-localserver-0.5.0 3DISTNAME= pytest-localserver-0.5.0
4PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/py//} 4PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/py//}
5CATEGORIES= devel python 5CATEGORIES= devel python
6MASTER_SITES= ${MASTER_SITE_PYPI:=p/pytest-localserver/} 6MASTER_SITES= ${MASTER_SITE_PYPI:=p/pytest-localserver/}
7 7
8MAINTAINER= pkgsrc-users@NetBSD.org 8MAINTAINER= pkgsrc-users@NetBSD.org
9HOMEPAGE= https://bitbucket.org/pytest-dev/pytest-localserver/ 9HOMEPAGE= https://bitbucket.org/pytest-dev/pytest-localserver/
10COMMENT= Py.test plugin to test server connections locally 10COMMENT= Py.test plugin to test server connections locally
11LICENSE= mit 11LICENSE= mit
12 12
13DEPENDS+= ${PYPKGPREFIX}-werkzeug>=0.10:../../www/py-werkzeug 13DEPENDS+= ${PYPKGPREFIX}-werkzeug>=0.10:../../www/py-werkzeug
14TEST_DEPENDS+= ${PYPKGPREFIX}-requests-[0-9]*:../../devel/py-requests 14TEST_DEPENDS+= ${PYPKGPREFIX}-requests-[0-9]*:../../devel/py-requests
15TEST_DEPENDS+= ${PYPKGPREFIX}-test>=2.0.0:../../devel/py-test 15
 16PYTHON_VERSIONED_DEPENDENCIES= test:test
16 17
17USE_LANGUAGES= # none 18USE_LANGUAGES= # none
18 19
19do-test: 20do-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"

cvs diff -r1.21 -r1.22 pkgsrc/devel/py-test-mock/Makefile (expand / switch to unified diff)

--- pkgsrc/devel/py-test-mock/Makefile 2020/01/27 13:05:07 1.21
+++ pkgsrc/devel/py-test-mock/Makefile 2020/05/16 16:30:15 1.22
@@ -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
3DISTNAME= pytest-mock-2.0.0 3DISTNAME= pytest-mock-2.0.0
4PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/py//} 4PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/py//}
5CATEGORIES= devel python 5CATEGORIES= devel python
6MASTER_SITES= ${MASTER_SITE_PYPI:=p/pytest-mock/} 6MASTER_SITES= ${MASTER_SITE_PYPI:=p/pytest-mock/}
7 7
8MAINTAINER= pkgsrc-users@NetBSD.org 8MAINTAINER= pkgsrc-users@NetBSD.org
9HOMEPAGE= https://github.com/pytest-dev/pytest-mock 9HOMEPAGE= https://github.com/pytest-dev/pytest-mock
10COMMENT= Thin-wrapper around the mock package for easier use with py.test 10COMMENT= Thin-wrapper around the mock package for easier use with py.test
11LICENSE= mit 11LICENSE= mit
12 12
13DEPENDS+= ${PYPKGPREFIX}-test>=2.7:../../devel/py-test 
14BUILD_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm-[0-9]*:../../devel/py-setuptools_scm 13BUILD_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm-[0-9]*:../../devel/py-setuptools_scm
15 14
 15PYTHON_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
18DEPENDS+= ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock 19DEPENDS+= ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock
19.endif 20.endif
20 21
21do-test: 22do-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"

cvs diff -r1.2 -r1.3 pkgsrc/devel/py-test-pythonpath/Makefile (expand / switch to unified diff)

--- pkgsrc/devel/py-test-pythonpath/Makefile 2018/08/23 07:48:43 1.2
+++ pkgsrc/devel/py-test-pythonpath/Makefile 2020/05/16 16:30:16 1.3
@@ -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
3DISTNAME= pytest-pythonpath-0.7.3 3DISTNAME= pytest-pythonpath-0.7.3
4PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/py//} 4PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/py//}
5CATEGORIES= devel python 5CATEGORIES= devel python
6MASTER_SITES= ${MASTER_SITE_PYPI:=p/pytest-pythonpath/} 6MASTER_SITES= ${MASTER_SITE_PYPI:=p/pytest-pythonpath/}
7 7
8MAINTAINER= pkgsrc-users@NetBSD.org 8MAINTAINER= pkgsrc-users@NetBSD.org
9HOMEPAGE= https://github.com/bigsassy/pytest-pythonpath 9HOMEPAGE= https://github.com/bigsassy/pytest-pythonpath
10COMMENT= Pytest plugin for adding to the PYTHONPATH 10COMMENT= Pytest plugin for adding to the PYTHONPATH
11LICENSE= mit 11LICENSE= mit
12 12
13DEPENDS+= ${PYPKGPREFIX}-test>=2.5.2:../../devel/py-test 13PYTHON_VERSIONED_DEPENDENCIES= test
14 14
15USE_LANGUAGES= # none 15USE_LANGUAGES= # none
16 16
17do-test: 17do-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"

cvs diff -r1.1 -r1.2 pkgsrc/devel/py-test-random-order/Makefile (expand / switch to unified diff)

--- pkgsrc/devel/py-test-random-order/Makefile 2020/01/29 21:43:02 1.1
+++ pkgsrc/devel/py-test-random-order/Makefile 2020/05/16 16:30:16 1.2
@@ -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
3DISTNAME= pytest-random-order-1.0.4 3DISTNAME= pytest-random-order-1.0.4
4PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/^py//} 4PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/^py//}
5CATEGORIES= devel python 5CATEGORIES= devel python
6MASTER_SITES= ${MASTER_SITE_PYPI:=p/pytest-random-order/} 6MASTER_SITES= ${MASTER_SITE_PYPI:=p/pytest-random-order/}
7 7
8MAINTAINER= pkgsrc-users@NetBSD.org 8MAINTAINER= pkgsrc-users@NetBSD.org
9HOMEPAGE= https://github.com/jbasko/pytest-random-order 9HOMEPAGE= https://github.com/jbasko/pytest-random-order
10COMMENT= Randomise the order in which pytest tests are run 10COMMENT= Randomise the order in which pytest tests are run
11LICENSE= mit 11LICENSE= mit
12 12
13DEPENDS+= ${PYPKGPREFIX}-test>=3.0.0:../../devel/py-test 13PYTHON_VERSIONED_DEPENDENCIES= test
14 14
15USE_LANGUAGES= # none 15USE_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"