Index: head/security/py-pysha3/files/py3k-fix-pkg-plist.inc =================================================================== --- head/security/py-pysha3/files/py3k-fix-pkg-plist.inc (revision 419318) +++ head/security/py-pysha3/files/py3k-fix-pkg-plist.inc (nonexistent) @@ -1,14 +0,0 @@ -# When Python version is 3.2+ we rewrite all the filenames -# of TMPPLIST that end with .py[co], so that they conform -# to PEP 3147 (see http://www.python.org/dev/peps/pep-3147/) -PYMAGICTAG= ${PYTHON_CMD} -c 'import imp; print(imp.get_tag())' -add-plist-post: - @${AWK} '\ - /\.py[co]$$/ && !($$0 ~ "/" pc "/") {id = match($$0, /\/[^\/]+\.py[co]$$/); if (id != 0) {d = substr($$0, 1, RSTART - 1); dirs[d] = 1}; sub(/\.py[co]$$/, "." mt "&"); sub(/[^\/]+\.py[co]$$/, pc "/&"); print; next} \ - /^@dirrm / {d = substr($$0, 8); if (d in dirs) {print $$0 "/" pc}; print $$0; next} \ - {print} \ - END {if (sp in dirs) {print "@dirrm " sp "/" pc}} \ - ' \ - pc="__pycache__" mt="$$(${PYMAGICTAG})" sp="${PYTHON_SITELIBDIR:S,${PYTHONBASE}/,,g}" \ - ${TMPPLIST} > ${TMPPLIST}.pyc_tmp - @${MV} ${TMPPLIST}.pyc_tmp ${TMPPLIST} Property changes on: head/security/py-pysha3/files/py3k-fix-pkg-plist.inc ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/security/py-pysha3/Makefile =================================================================== --- head/security/py-pysha3/Makefile (revision 419318) +++ head/security/py-pysha3/Makefile (revision 419319) @@ -1,22 +1,26 @@ # Created by: Kubilay Kocak # $FreeBSD$ PORTNAME= pysha3 -PORTVERSION= 0.3 -PORTREVISION= 1 +DISTVERSION= 1.0b1 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 +# Actually Python 2.7,3.4+ USES= python -USE_PYTHON= distutils autoplist +USE_PYTHON= autoplist distutils -regression-test: build - @cd ${WRKSRC} && ${PYTHON_CMD} ${PYSETUP} test +post-install: + ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/_sha3.so + +do-test: + @cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test .include Index: head/security/py-pysha3/distinfo =================================================================== --- head/security/py-pysha3/distinfo (revision 419318) +++ head/security/py-pysha3/distinfo (revision 419319) @@ -1,2 +1,3 @@ -SHA256 (pysha3-0.3.tar.gz) = 191c5f1f77de11fb847c6c825b72f33c81ce67f72055038175fccbbeb891f04d -SIZE (pysha3-0.3.tar.gz) = 47546 +TIMESTAMP = 1469885509 +SHA256 (pysha3-1.0b1.tar.gz) = 9e9c1d9eab3ad18e3c715ae3550229c88011a97959feb96ad1747031ecfb0997 +SIZE (pysha3-1.0b1.tar.gz) = 828212