Date: Mon, 2 Nov 2015 16:39:53 +0000 (UTC) From: Kubilay Kocak <koobs@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r400661 - head/security/py-cryptography Message-ID: <201511021639.tA2GdrRK079223@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: koobs Date: Mon Nov 2 16:39:53 2015 New Revision: 400661 URL: https://svnweb.freebsd.org/changeset/ports/400661 Log: security/py-cryptography: Add missing run-time dependencies Add py-idna and conditionally (For Python < 3.3) py-ipaddress to RUN_DEPENDS While I'm here: - Update minimum versions requirement for py-cffi - Update test target since the framework supports TEST_DEPENDS et al. Noticed by: brnrd Modified: head/security/py-cryptography/Makefile Modified: head/security/py-cryptography/Makefile ============================================================================== --- head/security/py-cryptography/Makefile Mon Nov 2 16:30:46 2015 (r400660) +++ head/security/py-cryptography/Makefile Mon Nov 2 16:39:53 2015 (r400661) @@ -3,7 +3,7 @@ PORTNAME= cryptography PORTVERSION= 1.0.2 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= security python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -14,10 +14,11 @@ COMMENT= Cryptographic recipes and primi LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE -BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>=0.8:${PORTSDIR}/devel/py-cffi +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>=1.1.0:${PORTSDIR}/devel/py-cffi RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>=1.4.1:${PORTSDIR}/devel/py-six \ ${PYTHON_PKGNAMEPREFIX}asn1>=0.1.8:${PORTSDIR}/devel/py-asn1 \ - ${PYTHON_PKGNAMEPREFIX}cffi>=0.8:${PORTSDIR}/devel/py-cffi + ${PYTHON_PKGNAMEPREFIX}cffi>=1.1.0:${PORTSDIR}/devel/py-cffi \ + ${PYTHON_PKGNAMEPREFIX}idna>=2.0:${PORTSDIR}/dns/py-idna TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:${PORTSDIR}/devel/py-pytest \ ${PYTHON_PKGNAMEPREFIX}iso8601>0:${PORTSDIR}/devel/py-iso8601 @@ -30,6 +31,10 @@ LDFLAGS+= -L${OPENSSLLIB} .include <bsd.port.pre.mk> +.if ${PYTHON_REL} < 3300 +RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}ipaddress>0:${PORTSDIR}/net/py-ipaddress +.endif + .if ${PYTHON_REL} < 3400 RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}enum34>0:${PORTSDIR}/devel/py-enum34 .endif @@ -37,7 +42,7 @@ RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}enu post-install: ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/cryptography/hazmat/bindings/*.so -regression-test: build +do-test: @cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test .include <bsd.port.post.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201511021639.tA2GdrRK079223>