aboutsummaryrefslogtreecommitdiffstats
path: root/security/py-cryptography
diff options
context:
space:
mode:
authorkoobs <koobs@FreeBSD.org>2014-08-25 16:40:33 +0800
committerkoobs <koobs@FreeBSD.org>2014-08-25 16:40:33 +0800
commite09f7aa66a97b3549f44499d38b8b6a2d7e63493 (patch)
tree90296cc585e3d445e844f0ff1fba732dab71d4dc /security/py-cryptography
parentf3660d02744dd197b077c7106a3db0dd5213f661 (diff)
downloadfreebsd-ports-gnome-e09f7aa66a97b3549f44499d38b8b6a2d7e63493.tar.gz
freebsd-ports-gnome-e09f7aa66a97b3549f44499d38b8b6a2d7e63493.tar.zst
freebsd-ports-gnome-e09f7aa66a97b3549f44499d38b8b6a2d7e63493.zip
security/py-cryptography: Update to 0.5.4, Modernize
- Update 0.5.4 - Add LICENSE_FILE - Update TEST_DEPENDS - Modernize Python framework entries (USES, USE_PYTHON) Changes: https://github.com/pyca/cryptography/blob/0.5.4/CHANGELOG.rst
Diffstat (limited to 'security/py-cryptography')
-rw-r--r--security/py-cryptography/Makefile13
-rw-r--r--security/py-cryptography/distinfo4
2 files changed, 9 insertions, 8 deletions
diff --git a/security/py-cryptography/Makefile b/security/py-cryptography/Makefile
index fd413fd80c9d..01e533181e3f 100644
--- a/security/py-cryptography/Makefile
+++ b/security/py-cryptography/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= cryptography
-PORTVERSION= 0.4
+PORTVERSION= 0.5.4
CATEGORIES= security python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -11,16 +11,17 @@ MAINTAINER= koobs@FreeBSD.org
COMMENT= Expose cryptographic recipes and primitives to Python developers
LICENSE= APACHE20
+LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>=0.8:${PORTSDIR}/devel/py-cffi \
${PYTHON_PKGNAMEPREFIX}six>=1.4.1:${PORTSDIR}/devel/py-six
RUN_DEPENDS:= ${BUILD_DEPENDS}
-TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:${PORTSDIR}/devel/py-pytest
+TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:${PORTSDIR}/devel/py-pytest \
+ ${PYTHON_PKGNAMEPREFIX}asn1>0:${PORTSDIR}/devel/py-asn1
-USE_OPENSSL= yes
-USE_PYTHON= yes
-USE_PYDISTUTILS= yes
-PYDISTUTILS_AUTOPLIST= yes
+USES= python
+USE_OPENSSL= yes
+USE_PYTHON= autoplist distutils
CFLAGS+= -I${OPENSSLINC}
LDFLAGS+= -L${OPENSSLLIB}
diff --git a/security/py-cryptography/distinfo b/security/py-cryptography/distinfo
index 0354cbfc7486..94851ffb68af 100644
--- a/security/py-cryptography/distinfo
+++ b/security/py-cryptography/distinfo
@@ -1,2 +1,2 @@
-SHA256 (cryptography-0.4.tar.gz) = 5ef81de44c87a87779710cbb476ffbec86a4a6c0bd2a5bebeccc3bfb3c3478e5
-SIZE (cryptography-0.4.tar.gz) = 260891
+SHA256 (cryptography-0.5.4.tar.gz) = 5675999f3744cbc32a60cb0bba64de21405abced32ce19655212612262dd270d
+SIZE (cryptography-0.5.4.tar.gz) = 320104