mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-04 01:48:54 +00:00
33 lines
677 B
Makefile
33 lines
677 B
Makefile
# Created by: Kubilay Kocak <koobs@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= pysha3
|
|
PORTVERSION= 0.3
|
|
CATEGORIES= security python
|
|
MASTER_SITES= CHEESESHOP
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= koobs@FreeBSD.org
|
|
COMMENT= SHA-3 (Keccak) for Python
|
|
|
|
# Python3 ready
|
|
USE_PYTHON= yes
|
|
USE_PYDISTUTILS=yes
|
|
|
|
PLIST_FILES= %%PYTHON_SITELIBDIR%%/_sha3.so \
|
|
%%PYTHON_SITELIBDIR%%/sha3.py \
|
|
%%PYTHON_SITELIBDIR%%/sha3.pyc \
|
|
%%PYTHON_SITELIBDIR%%/sha3.pyo
|
|
|
|
NO_STAGE= yes
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${PYTHON_REL} >= 320
|
|
.include "${FILESDIR}/py3k-fix-pkg-plist.inc"
|
|
.endif
|
|
|
|
regression-test: build
|
|
@cd ${WRKSRC} && ${PYTHON_CMD} ${PYSETUP} test
|
|
|
|
.include <bsd.port.post.mk>
|