summaryrefslogtreecommitdiff
path: root/security/py-cryptography/Makefile
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2014-03-21 22:04:19 +0000
committerwiz <wiz@pkgsrc.org>2014-03-21 22:04:19 +0000
commit411f5c8853feef0e0bc112993222567e2e2a0f92 (patch)
tree5840eafcd4f147cf3add910ef893e225e22a39c4 /security/py-cryptography/Makefile
parent08ff0935bc2095ae28298ce96d103200e3955a43 (diff)
downloadpkgsrc-411f5c8853feef0e0bc112993222567e2e2a0f92.tar.gz
Fix use with python-2.x.
Add test target and most of the needed dependencies. (Two more packages ready, will be added after the freeze.) Bump PKGREVISION.
Diffstat (limited to 'security/py-cryptography/Makefile')
-rw-r--r--security/py-cryptography/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/security/py-cryptography/Makefile b/security/py-cryptography/Makefile
index 40236f69e7c..e759ec20aa2 100644
--- a/security/py-cryptography/Makefile
+++ b/security/py-cryptography/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.2 2014/03/21 14:02:45 wiz Exp $
+# $NetBSD: Makefile,v 1.3 2014/03/21 22:04:19 wiz Exp $
DISTNAME= cryptography-0.2.2
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= security python
MASTER_SITES= https://pypi.python.org/packages/source/c/cryptography/
@@ -14,6 +14,11 @@ LICENSE= apache-2.0
DEPENDS+= ${PYPKGPREFIX}-cffi>=0.8:../../devel/py-cffi
DEPENDS+= ${PYPKGPREFIX}-cparser>=2.10:../../devel/py-cparser
DEPENDS+= ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
+BUILD_DEPENDS+= ${PYPKGPREFIX}-requests>=0.8:../../devel/py-requests
+BUILD_DEPENDS+= ${PYPKGPREFIX}-test>=0.8:../../devel/py-test
+
+do-test:
+ cd ${WRKSRC} && py.test-${PYVERSSUFFIX}
.include "../../lang/python/egg.mk"
.include "../../security/openssl/buildlink3.mk"