svn commit: r375311 - head/security/py-pycrypto

Kubilay Kocak koobs at FreeBSD.org
Tue Dec 23 04:52:08 UTC 2014


Author: koobs
Date: Tue Dec 23 04:52:07 2014
New Revision: 375311
URL: https://svnweb.freebsd.org/changeset/ports/375311
QAT: https://qat.redports.org/buildarchive/r375311/

Log:
  security/py-pycrypto: Strip shared libraries
  
  - Strip shared libraries
  - Use GNU_CONFIGURE over HAS_CONFIGURE and USE_AUTOTOOLS
  - Give in and strip leading "The" in COMMENT
  - Tweak regression-test target
  - Update pkg-descr WWW: URL

Modified:
  head/security/py-pycrypto/Makefile
  head/security/py-pycrypto/pkg-descr

Modified: head/security/py-pycrypto/Makefile
==============================================================================
--- head/security/py-pycrypto/Makefile	Tue Dec 23 04:34:44 2014	(r375310)
+++ head/security/py-pycrypto/Makefile	Tue Dec 23 04:52:07 2014	(r375311)
@@ -3,24 +3,23 @@
 
 PORTNAME=	pycrypto
 PORTVERSION=	2.6.1
+PORTREVISION=	1
 CATEGORIES=	security python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
 MAINTAINER=	koobs at FreeBSD.org
-COMMENT=	The Python Cryptography Toolkit
+COMMENT=	Python Cryptography Toolkit
 
 USES=		python
 USE_PYTHON=	distutils autoplist
 
-HAS_CONFIGURE=	yes
-USE_AUTOTOOLS=	autoconf
+GNU_CONFIGURE=	yes
 
 OPTIONS_DEFINE=		GMP
 OPTIONS_DEFAULT=	GMP
 
 GMP_DESC=		Use GMP for faster DSA/RSA operations
-
 GMP_CONFIGURE_WITH=	gmp
 GMP_CPPFLAGS=		-I${LOCALBASE}/include
 GMP_LDFLAGS=		-L${LOCALBASE}/lib
@@ -29,7 +28,10 @@ GMP_LIB_DEPENDS=	libgmp.so:${PORTSDIR}/m
 pre-patch:
 	@${REINPLACE_CMD} -e "s|%%LOCALBASE%%|${LOCALBASE}|" ${WRKSRC}/setup.py
 
+post-install:
+	@${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/Crypto/*/*.so
+
 regression-test: build
-	cd ${WRKSRC} && ${PYTHON_CMD} ${PYSETUP} test
+	@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
 
 .include <bsd.port.mk>

Modified: head/security/py-pycrypto/pkg-descr
==============================================================================
--- head/security/py-pycrypto/pkg-descr	Tue Dec 23 04:34:44 2014	(r375310)
+++ head/security/py-pycrypto/pkg-descr	Tue Dec 23 04:52:07 2014	(r375311)
@@ -4,4 +4,4 @@ This is a collection of both secure hash
 SHA), and various encryption algorithms (AES, DES, ElGamal, etc.) for
 Python.
 
-WWW: http://pycrypto.org
+WWW: https://pycrypto.org


More information about the svn-ports-head mailing list