diff options
author | adam <adam@pkgsrc.org> | 2020-05-18 10:30:16 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2020-05-18 10:30:16 +0000 |
commit | 2978329fd215724fe5a32f3f86bfb4ea96044d33 (patch) | |
tree | 1127e012710611421d55fe40c7e5ba48dff2926d | |
parent | 4b03affa77a0565bdb5b72fca972cf51a7d5454b (diff) | |
download | pkgsrc-2978329fd215724fe5a32f3f86bfb4ea96044d33.tar.gz |
pytest from versioned depends
-rw-r--r-- | graphics/py-pygal/Makefile | 3 | ||||
-rw-r--r-- | graphics/py-strich/Makefile | 8 | ||||
-rw-r--r-- | pkgtools/url2pkg/Makefile | 5 |
3 files changed, 9 insertions, 7 deletions
diff --git a/graphics/py-pygal/Makefile b/graphics/py-pygal/Makefile index 369b1598da7..62e0e000586 100644 --- a/graphics/py-pygal/Makefile +++ b/graphics/py-pygal/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.10 2017/09/16 19:26:58 wiz Exp $ +# $NetBSD: Makefile,v 1.11 2020/05/18 10:30:16 adam Exp $ DISTNAME= pygal-2.4.0 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} @@ -14,7 +14,6 @@ DEPENDS+= ${PYPKGPREFIX}-cairosvg-[0-9]*:../../converters/py-cairosvg DEPENDS+= ${PYPKGPREFIX}-lxml-[0-9]*:../../textproc/py-lxml BUILD_DEPENDS+= ${PYPKGPREFIX}-flask-[0-9]*:../../www/py-flask BUILD_DEPENDS+= ${PYPKGPREFIX}-pyquery-[0-9]*:../../textproc/py-pyquery -BUILD_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test BUILD_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov BUILD_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner # more BUILD_DEPENDS needed diff --git a/graphics/py-strich/Makefile b/graphics/py-strich/Makefile index eee960643b3..2597286120c 100644 --- a/graphics/py-strich/Makefile +++ b/graphics/py-strich/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2017/10/23 13:42:17 wiz Exp $ +# $NetBSD: Makefile,v 1.3 2020/05/18 10:30:16 adam Exp $ DISTNAME= pyStrich-0.8 PKGNAME= ${PYPKGPREFIX}-strich-0.8 @@ -10,12 +10,14 @@ HOMEPAGE= https://github.com/mmulqueen/pyStrich COMMENT= 1D and 2D barcode generator LICENSE= 2-clause-bsd AND apache-2.0 -BUILD_DEPENDS+= ${PYPKGPREFIX}-test>=2.8:../../devel/py-test DEPENDS+= ${PYPKGPREFIX}-Pillow-[0-9]*:../../graphics/py-Pillow +PYTHON_VERSIONED_DEPENDENCIES= test:test + do-test: ${MKDIR} ${WRKSRC}/pystrich/code128/test_img ${WRKSRC}/pystrich/ean13/test_img - cd ${WRKSRC} && py.test-${PYVERSSUFFIX} + cd ${WRKSRC} && pytest-${PYVERSSUFFIX} .include "../../lang/python/egg.mk" +.include "../../lang/python/versioned_dependencies.mk" .include "../../mk/bsd.pkg.mk" diff --git a/pkgtools/url2pkg/Makefile b/pkgtools/url2pkg/Makefile index 1df9bc0a6c6..78bc2a8ea17 100644 --- a/pkgtools/url2pkg/Makefile +++ b/pkgtools/url2pkg/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.111 2020/01/18 23:33:27 rillig Exp $ +# $NetBSD: Makefile,v 1.112 2020/05/18 10:31:31 adam Exp $ PKGNAME= url2pkg-19.3.7 CATEGORIES= pkgtools @@ -15,7 +15,7 @@ USE_LANGUAGES= # none USE_TOOLS+= perl:run AUTO_MKDIRS= yes -TEST_DEPENDS+= ${PYPKGPREFIX}-test>=0:../../devel/py-test +PYTHON_VERSIONED_DEPENDENCIES= test:test do-extract: ${RUN} cd ${FILESDIR} && cp *.* ${WRKSRC}/ @@ -44,4 +44,5 @@ do-install: ${INSTALL_DATA} ${WRKSRC}/setuptools.py ${DESTDIR}${PREFIX}/lib/url2pkg/distutils/extension.py .include "../../lang/python/application.mk" +.include "../../lang/python/versioned_dependencies.mk" .include "../../mk/bsd.pkg.mk" |