aboutsummaryrefslogtreecommitdiff
path: root/security/py-pycryptodome
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2018-02-20 20:27:41 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2018-02-20 20:27:41 +0000
commit4cf0cc01ef6e3035353edc70c8e9e1c094aeac19 (patch)
treeb9637e9873841f93b01d9f123300b68a2f2fbc24 /security/py-pycryptodome
parentd04f0a7f2e577f415495038e0cd42c5cc721d80c (diff)
downloadports-4cf0cc01ef6e3035353edc70c8e9e1c094aeac19.tar.gz
ports-4cf0cc01ef6e3035353edc70c8e9e1c094aeac19.zip
Notes
Diffstat (limited to 'security/py-pycryptodome')
-rw-r--r--security/py-pycryptodome/Makefile12
1 files changed, 7 insertions, 5 deletions
diff --git a/security/py-pycryptodome/Makefile b/security/py-pycryptodome/Makefile
index 3ccb24feaa31..5c183d3bb3c3 100644
--- a/security/py-pycryptodome/Makefile
+++ b/security/py-pycryptodome/Makefile
@@ -13,15 +13,17 @@ COMMENT= Cryptographic library for Python
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE.rst
+CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}pycrypto
+
USES= python
USE_PYTHON= autoplist distutils
post-install:
- @${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/Crypto/Cipher/*.so
- @${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/Crypto/Hash/*.so
- @${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/Crypto/Math/*.so
- @${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/Crypto/Protocol/*.so
- @${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/Crypto/Util/*.so
+ ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/Crypto/Cipher/*.so
+ ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/Crypto/Hash/*.so
+ ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/Crypto/Math/*.so
+ ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/Crypto/Protocol/*.so
+ ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/Crypto/Util/*.so
do-test:
@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test