diff options
author | wiz <wiz> | 2015-01-05 08:42:32 +0000 |
---|---|---|
committer | wiz <wiz> | 2015-01-05 08:42:32 +0000 |
commit | 89d7f10c63414becf320fd65a8f55f31a413beb3 (patch) | |
tree | 74fa702ba6033c6a4ff4a6aa459f8624fbf5c11d /security | |
parent | f9b99f077175496006ece375c8294fb8145ae1fd (diff) | |
download | pkgsrc-89d7f10c63414becf320fd65a8f55f31a413beb3.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} |