From owner-svn-ports-head@FreeBSD.ORG Tue Dec 23 04:52:08 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B1F0AEF6; Tue, 23 Dec 2014 04:52:08 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 84C0014AC; Tue, 23 Dec 2014 04:52:08 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id sBN4q8dS088172; Tue, 23 Dec 2014 04:52:08 GMT (envelope-from koobs@FreeBSD.org) Received: (from koobs@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id sBN4q8xH088169; Tue, 23 Dec 2014 04:52:08 GMT (envelope-from koobs@FreeBSD.org) Message-Id: <201412230452.sBN4q8xH088169@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: koobs set sender to koobs@FreeBSD.org using -f From: Kubilay Kocak Date: Tue, 23 Dec 2014 04:52:08 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r375311 - head/security/py-pycrypto X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Dec 2014 04:52:08 -0000 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 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