diff options
author | wiz <wiz@pkgsrc.org> | 2015-01-05 08:42:32 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2015-01-05 08:42:32 +0000 |
commit | 95a07bda2509166b98fee9dd9f9bba662716f0cd (patch) | |
tree | 74fa702ba6033c6a4ff4a6aa459f8624fbf5c11d /security | |
parent | ff039fcd04db661b5dbdb36c9d2d4b71dfc6fd80 (diff) | |
download | pkgsrc-95a07bda2509166b98fee9dd9f9bba662716f0cd.tar.gz |
Depend on py-enum34 if not building for python-3.4.
Diffstat (limited to 'security')
-rw-r--r-- | security/py-cryptography/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/security/py-cryptography/Makefile b/security/py-cryptography/Makefile index 19e0096621a..23ce4f7f963 100644 --- a/security/py-cryptography/Makefile +++ b/security/py-cryptography/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.14 2015/01/04 10:25:08 wiz Exp $ +# $NetBSD: Makefile,v 1.15 2015/01/05 08:42:32 wiz Exp $ DISTNAME= cryptography-0.7.1 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} @@ -20,6 +20,12 @@ BUILD_DEPENDS+= ${PYPKGPREFIX}-pretend-[0-9]*:../../devel/py-pretend BUILD_DEPENDS+= ${PYPKGPREFIX}-requests>=0.8:../../devel/py-requests BUILD_DEPENDS+= ${PYPKGPREFIX}-test>=0.8:../../devel/py-test +.include "../../lang/python/pyversion.mk" + +.if ${PYPKGPREFIX} == "py26" || ${PYPKGPREFIX} == "py27" || ${PYPKGPREFIX} == "py33" +DEPENDS+= ${PYPKGPREFIX}-enum34-[0-9]*:../../devel/py-enum34 +.endif + do-test: cd ${WRKSRC} && py.test-${PYVERSSUFFIX} |