diff options
author | kamil <kamil@pkgsrc.org> | 2016-10-12 19:51:45 +0000 |
---|---|---|
committer | kamil <kamil@pkgsrc.org> | 2016-10-12 19:51:45 +0000 |
commit | 9afcf59b94879769f19f2576c6d37a7bdbf0141c (patch) | |
tree | 704360967cf62a6997fb64895eff286d5896ee7e /math | |
parent | 7e37c0887804e0f3fd473db6945d126d7237050f (diff) | |
download | pkgsrc-9afcf59b94879769f19f2576c6d37a7bdbf0141c.tar.gz |
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 (limited to 'math')
-rw-r--r-- | math/py-abcpmc/Makefile | 6 | ||||
-rw-r--r-- | math/py-abcpmc/PLIST | 2 |
2 files changed, 6 insertions, 2 deletions
diff --git a/math/py-abcpmc/Makefile b/math/py-abcpmc/Makefile index 6161ed33b8b..04ea06a12b0 100644 --- a/math/py-abcpmc/Makefile +++ b/math/py-abcpmc/Makefile @@ -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 diff --git a/math/py-abcpmc/PLIST b/math/py-abcpmc/PLIST index 83c5f62c869..f7069ce4e6e 100644 --- a/math/py-abcpmc/PLIST +++ b/math/py-abcpmc/PLIST @@ -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 |