# Created by: Yuri Victorovich # $FreeBSD$ PORTNAME= pycryptodome DISTVERSION= 3.6.2 PORTREVISION= 0 CATEGORIES= security python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= john@saltant.com COMMENT= Cryptographic library for Python LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE.rst CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}pycrypto USES= python USE_PYTHON= autoplist distutils NAMESPACE?= Crypto post-install: @${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/${NAMESPACE}/Cipher/*.so @${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/${NAMESPACE}/Hash/*.so @${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/${NAMESPACE}/Math/*.so @${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/${NAMESPACE}/Protocol/*.so @${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/${NAMESPACE}/Util/*.so do-test: @cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test .include