7 CATEGORIES= security python
8 MASTER_SITES= CHEESESHOP
9 PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
11 MAINTAINER= koobs@FreeBSD.org
12 COMMENT= Python Cryptography Toolkit
15 USE_PYTHON= distutils autoplist
22 GMP_DESC= Use GMP for faster DSA/RSA operations
23 GMP_CONFIGURE_WITH= gmp
24 GMP_CPPFLAGS= -I${LOCALBASE}/include
25 GMP_LDFLAGS= -L${LOCALBASE}/lib
26 GMP_LIB_DEPENDS= libgmp.so:math/gmp
29 @${REINPLACE_CMD} -e "s|%%LOCALBASE%%|${LOCALBASE}|" ${WRKSRC}/setup.py
32 @${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/Crypto/*/*.so
34 regression-test: build
35 @cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
37 .include <bsd.port.mk>