svn commit: r419319 - in head/security/py-pysha3: . files

Kubilay Kocak koobs at FreeBSD.org
Sat Jul 30 14:16:40 UTC 2016


Author: koobs
Date: Sat Jul 30 14:16:38 2016
New Revision: 419319
URL: https://svnweb.freebsd.org/changeset/ports/419319

Log:
  security/py-pysha3: Update to 1.0b1, Modernize
  
  * Update DISTVERSION and distinfo (1.0b1)
  * Add LICENSE_FILE
  * Sort USE_PYTHON
  * Update test target
  * Strip shared library
  * Remove vestigial files/py3k-fix-pkg-plist.in patch

Deleted:
  head/security/py-pysha3/files/
Modified:
  head/security/py-pysha3/Makefile
  head/security/py-pysha3/distinfo

Modified: head/security/py-pysha3/Makefile
==============================================================================
--- head/security/py-pysha3/Makefile	Sat Jul 30 13:55:17 2016	(r419318)
+++ head/security/py-pysha3/Makefile	Sat Jul 30 14:16:38 2016	(r419319)
@@ -2,8 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	pysha3
-PORTVERSION=	0.3
-PORTREVISION=	1
+DISTVERSION=	1.0b1
 CATEGORIES=	security python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -12,11 +11,16 @@ MAINTAINER=	koobs at 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 <bsd.port.mk>

Modified: head/security/py-pysha3/distinfo
==============================================================================
--- head/security/py-pysha3/distinfo	Sat Jul 30 13:55:17 2016	(r419318)
+++ head/security/py-pysha3/distinfo	Sat Jul 30 14:16:38 2016	(r419319)
@@ -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


More information about the svn-ports-head mailing list