svn commit: r399860 - head/security/py-cryptography
Kubilay Kocak
koobs at FreeBSD.org
Tue Oct 20 15:14:10 UTC 2015
Author: koobs
Date: Tue Oct 20 15:14:08 2015
New Revision: 399860
URL: https://svnweb.freebsd.org/changeset/ports/399860
Log:
security/py-cryptography: Add enum43 to RUN_DEPENDS
Refactor *_DEPENDS to match setup.py's less than obvious dependencies
cffi is both a build/run dependency, the rest are only run dependencies.
This was causing a build failure for net-im/papyon:
ImportError: No module named enum
Reported by: kwm, pkg-fallout
Assisted by: antoine
Modified:
head/security/py-cryptography/Makefile
Modified: head/security/py-cryptography/Makefile
==============================================================================
--- head/security/py-cryptography/Makefile Tue Oct 20 15:09:55 2015 (r399859)
+++ head/security/py-cryptography/Makefile Tue Oct 20 15:14:08 2015 (r399860)
@@ -3,6 +3,7 @@
PORTNAME= cryptography
PORTVERSION= 1.0.2
+PORTREVISION= 1
CATEGORIES= security python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -13,10 +14,10 @@ COMMENT= Cryptographic recipes and primi
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 \
- ${PYTHON_PKGNAMEPREFIX}asn1>0:${PORTSDIR}/devel/py-asn1
-RUN_DEPENDS:= ${BUILD_DEPENDS}
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>=0.8:${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
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:${PORTSDIR}/devel/py-pytest \
${PYTHON_PKGNAMEPREFIX}iso8601>0:${PORTSDIR}/devel/py-iso8601
@@ -30,7 +31,7 @@ LDFLAGS+= -L${OPENSSLLIB}
.include <bsd.port.pre.mk>
.if ${PYTHON_REL} < 3400
-BUILD_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}enum34>0:${PORTSDIR}/devel/py-enum34
+RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}enum34>0:${PORTSDIR}/devel/py-enum34
.endif
post-install:
More information about the svn-ports-head
mailing list