freebsd-ports/security/py-pysha3/Makefile
Dmitry Marakasov 6af6b63644 - Pass TEST_ENV to testing
- Update WWW

Approved by:	portmgr blanket
2020-09-14 09:36:53 +00:00

28 lines
657 B
Makefile

# Created by: Kubilay Kocak <koobs@FreeBSD.org>
# $FreeBSD$
PORTNAME= pysha3
DISTVERSION= 1.0.2
CATEGORIES= security python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= koobs@FreeBSD.org
COMMENT= SHA-3 (Keccak) for Python
LICENSE= PSFL
LICENSE_FILE= ${WRKSRC}/LICENSE
BROKEN_mips64= fails to compile: KeccakP-1600-opt64.c: error: Not yet implemented
# Actually Python 2.7,3.4+
USES= python
USE_PYTHON= autoplist distutils
post-install:
${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/_pysha3.so
do-test:
@cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
.include <bsd.port.mk>