pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/math/py-abcpmc Don't include py-funcsig for Python old...
details: https://anonhg.NetBSD.org/pkgsrc/rev/8cf747a15868
branches: trunk
changeset: 353775:8cf747a15868
user: kamil <kamil%pkgsrc.org@localhost>
date: Wed Oct 12 19:51:45 2016 +0000
description:
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/
diffstat:
math/py-abcpmc/Makefile | 6 +++++-
math/py-abcpmc/PLIST | 2 +-
2 files changed, 6 insertions(+), 2 deletions(-)
diffs (30 lines):
diff -r d8972c31a148 -r 8cf747a15868 math/py-abcpmc/Makefile
--- a/math/py-abcpmc/Makefile Wed Oct 12 16:59:37 2016 +0000
+++ b/math/py-abcpmc/Makefile Wed Oct 12 19:51:45 2016 +0000
@@ -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 @@
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
diff -r d8972c31a148 -r 8cf747a15868 math/py-abcpmc/PLIST
--- a/math/py-abcpmc/PLIST Wed Oct 12 16:59:37 2016 +0000
+++ b/math/py-abcpmc/PLIST Wed Oct 12 19:51:45 2016 +0000
@@ -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