pkgsrc-Changes archive

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

CVS commit: pkgsrc/math/py-abcpmc



Module Name:    pkgsrc
Committed By:   kamil
Date:           Wed Oct 12 19:51:45 UTC 2016

Modified Files:
        pkgsrc/math/py-abcpmc: Makefile PLIST

Log Message:
Don't include py-funcsig for Python older than 3.3.

This feature is now part of Python 3.3 and newer:
https://www.python.org/dev/peps/pep-0362/


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/math/py-abcpmc/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/math/py-abcpmc/PLIST

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

Modified files:

Index: pkgsrc/math/py-abcpmc/Makefile
diff -u pkgsrc/math/py-abcpmc/Makefile:1.2 pkgsrc/math/py-abcpmc/Makefile:1.3
--- pkgsrc/math/py-abcpmc/Makefile:1.2  Wed Oct 12 10:37:18 2016
+++ pkgsrc/math/py-abcpmc/Makefile      Wed Oct 12 19:51:45 2016
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2016/10/12 10:37:18 kamil Exp $
+# $NetBSD: Makefile,v 1.3 2016/10/12 19:51:45 kamil Exp $
 
 DISTNAME=      abcpmc-0.1.2
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
@@ -13,7 +13,11 @@ LICENSE=     gnu-gpl-v3
 USE_LANGUAGES= # none
 
 # TEST_DEPENDS
+.include "../../lang/python/pyversion.mk"
+
+.if ${_PYTHON_VERSION} < 33
 BUILD_DEPENDS+=        ${PYPKGPREFIX}-funcsigs-[0-9]*:../../devel/py-funcsigs
+.endif
 BUILD_DEPENDS+=        ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock
 BUILD_DEPENDS+=        ${PYPKGPREFIX}-pbr-[0-9]*:../../devel/py-pbr
 BUILD_DEPENDS+=        ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test

Index: pkgsrc/math/py-abcpmc/PLIST
diff -u pkgsrc/math/py-abcpmc/PLIST:1.1 pkgsrc/math/py-abcpmc/PLIST:1.2
--- pkgsrc/math/py-abcpmc/PLIST:1.1     Wed Oct 12 00:27:01 2016
+++ pkgsrc/math/py-abcpmc/PLIST Wed Oct 12 19:51:45 2016
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1 2016/10/12 00:27:01 kamil Exp $
+@comment $NetBSD: PLIST,v 1.2 2016/10/12 19:51:45 kamil Exp $
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt



Home | Main Index | Thread Index | Old Index