Index: branches/2016Q4/security/py-cryptography/Makefile =================================================================== --- branches/2016Q4/security/py-cryptography/Makefile (revision 428138) +++ branches/2016Q4/security/py-cryptography/Makefile (revision 428139) @@ -1,46 +1,51 @@ # Created by: Kubilay Kocak # $FreeBSD$ PORTNAME= cryptography PORTVERSION= 1.6 CATEGORIES= security python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= koobs@FreeBSD.org COMMENT= Cryptographic recipes and primitives for Python developers LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>=1.4.1:devel/py-cffi RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>=1.4.1:devel/py-six \ ${PYTHON_PKGNAMEPREFIX}pyasn1>=0.1.8:devel/py-pyasn1 \ ${PYTHON_PKGNAMEPREFIX}cffi>=1.1.0:devel/py-cffi \ ${PYTHON_PKGNAMEPREFIX}idna>=2.0:dns/py-idna TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest \ ${PYTHON_PKGNAMEPREFIX}iso8601>0:devel/py-iso8601 USES= python ssl USE_PYTHON= autoplist distutils CFLAGS+= -I${OPENSSLINC} LDFLAGS+= -L${OPENSSLLIB} +# Modern py-cyptography requires newer OpenSSL +.if ${OSVERSION} < 1000000 +WITH_OPENSSL_PORT= yes +.endif + .include .if ${PYTHON_REL} < 3300 RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}ipaddress>0:net/py-ipaddress .endif .if ${PYTHON_REL} < 3400 RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}enum34>0:devel/py-enum34 .endif post-install: ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/cryptography/hazmat/bindings/*.so do-test: @cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test .include Index: branches/2016Q4 =================================================================== --- branches/2016Q4 (revision 428138) +++ branches/2016Q4 (revision 428139) Property changes on: branches/2016Q4 ___________________________________________________________________ Modified: svn:mergeinfo ## -0,0 +0,1 ## Merged /head:r428138