Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Dec 2014 04:52:08 +0000 (UTC)
From:      Kubilay Kocak <koobs@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r375311 - head/security/py-pycrypto
Message-ID:  <201412230452.sBN4q8xH088169@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201412230452.sBN4q8xH088169>