pkgsrc-Changes archive

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

CVS commit: pkgsrc/graphics



Module Name:    pkgsrc
Committed By:   adam
Date:           Mon May 18 10:30:16 UTC 2020

Modified Files:
        pkgsrc/graphics/py-pygal: Makefile
        pkgsrc/graphics/py-strich: Makefile

Log Message:
pytest from versioned depends


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 pkgsrc/graphics/py-pygal/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/graphics/py-strich/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/graphics/py-pygal/Makefile
diff -u pkgsrc/graphics/py-pygal/Makefile:1.10 pkgsrc/graphics/py-pygal/Makefile:1.11
--- pkgsrc/graphics/py-pygal/Makefile:1.10      Sat Sep 16 19:26:58 2017
+++ pkgsrc/graphics/py-pygal/Makefile   Mon May 18 10:30:16 2020
@@ -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]*
 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

Index: pkgsrc/graphics/py-strich/Makefile
diff -u pkgsrc/graphics/py-strich/Makefile:1.2 pkgsrc/graphics/py-strich/Makefile:1.3
--- pkgsrc/graphics/py-strich/Makefile:1.2      Mon Oct 23 13:42:17 2017
+++ pkgsrc/graphics/py-strich/Makefile  Mon May 18 10:30:16 2020
@@ -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/p
 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"



Home | Main Index | Thread Index | Old Index