aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKubilay Kocak <koobs@FreeBSD.org>2014-02-01 14:43:46 +0000
committerKubilay Kocak <koobs@FreeBSD.org>2014-02-01 14:43:46 +0000
commit5a9a35ae4893afde1c332c8dcdd3d0040f0950b3 (patch)
treeef2e10894623cd66462640438ade1392e913cea2
parent626206e9586bdf3b1892f42748108934ddba1eb4 (diff)
Notes
-rw-r--r--security/py-pysha3/Makefile21
1 files changed, 6 insertions, 15 deletions
diff --git a/security/py-pysha3/Makefile b/security/py-pysha3/Makefile
index 0e64e6c07ca2..ff6d53f7c793 100644
--- a/security/py-pysha3/Makefile
+++ b/security/py-pysha3/Makefile
@@ -3,6 +3,7 @@
PORTNAME= pysha3
PORTVERSION= 0.3
+PORTREVISION= 1
CATEGORIES= security python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -10,23 +11,13 @@ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= koobs@FreeBSD.org
COMMENT= SHA-3 (Keccak) for Python
-# Python3 ready
-USE_PYTHON= yes
-USE_PYDISTUTILS=yes
+LICENSE= PSFL
-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
+USE_PYTHON= yes
+USE_PYDISTUTILS= yes
+PYDISTUTILS_AUTOPLIST= yes
regression-test: build
@cd ${WRKSRC} && ${PYTHON_CMD} ${PYSETUP} test
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>