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
This commit is contained in:
Kubilay Kocak 2014-08-25 08:40:33 +00:00
parent dbd3a2d4b9
commit 71555846ee
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=366044
2 changed files with 9 additions and 8 deletions

View File

@ -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}

View File

@ -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