From owner-svn-ports-head@FreeBSD.ORG Sat Feb 1 14:31:41 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 044B3B8F; Sat, 1 Feb 2014 14:31:41 +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)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id CC29112C1; Sat, 1 Feb 2014 14:31:40 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id s11EVe4k007129; Sat, 1 Feb 2014 14:31:40 GMT (envelope-from koobs@svn.freebsd.org) Received: (from koobs@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id s11EVeRe007128; Sat, 1 Feb 2014 14:31:40 GMT (envelope-from koobs@svn.freebsd.org) Message-Id: <201402011431.s11EVeRe007128@svn.freebsd.org> From: Kubilay Kocak Date: Sat, 1 Feb 2014 14:31:40 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r342144 - 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.17 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: Sat, 01 Feb 2014 14:31:41 -0000 Author: koobs Date: Sat Feb 1 14:31:40 2014 New Revision: 342144 URL: http://svnweb.freebsd.org/changeset/ports/342144 QAT: https://qat.redports.org/buildarchive/r342144/ Log: security/py-pycrypto: Modernise: STAGE, AUTOPLIST and more - Enable STAGE support - Enable AUTOPLIST, delete pkg-plist - Modernise LIB_DEPENDS - Trim MASTER_SITES to PyPI only - Deprecate OPTIONSFILE override - Use OPTIONS helpers - Remove test: target, leaving regression-test: - Whitespace alignment in OPTIONS Deleted: head/security/py-pycrypto/pkg-plist Modified: head/security/py-pycrypto/Makefile Modified: head/security/py-pycrypto/Makefile ============================================================================== --- head/security/py-pycrypto/Makefile Sat Feb 1 14:23:20 2014 (r342143) +++ head/security/py-pycrypto/Makefile Sat Feb 1 14:31:40 2014 (r342144) @@ -4,8 +4,7 @@ PORTNAME= pycrypto PORTVERSION= 2.6.1 CATEGORIES= security python -MASTER_SITES= CHEESESHOP \ - https://ftp.dlitz.net/pub/dlitz/crypto/pycrypto/ +MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= koobs@FreeBSD.org @@ -13,36 +12,25 @@ COMMENT= The Python Cryptography Toolkit USE_PYTHON= yes USE_PYDISTUTILS= yes +PYDISTUTILS_AUTOPLIST= yes HAS_CONFIGURE= yes USE_AUTOTOOLS= autoconf -OPTIONS_DEFINE= GMP +OPTIONS_DEFINE= GMP OPTIONS_DEFAULT= GMP -GMP_DESC= Use GMP for faster DSA/RSA operations -OPTIONSFILE?= ${PORT_DBDIR}/py-${PORTNAME}/options +GMP_DESC= Use GMP for faster DSA/RSA operations -NO_STAGE= yes -.include - -.if ${PORT_OPTIONS:MGMP} -LIB_DEPENDS+= gmp:${PORTSDIR}/math/gmp -CONFIGURE_ARGS+= --with-gmp -CPPFLAGS+= -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib -PLIST_SUB+= GMP="" -.else -CONFIGURE_ARGS+= --without-gmp -PLIST_SUB+= GMP="@comment " -.endif +GMP_CONFIGURE_WITH= gmp +GMP_CPPFLAGS= -I${LOCALBASE}/include +GMP_LDFLAGS= -L${LOCALBASE}/lib +GMP_LIB_DEPENDS= libgmp.so:${PORTSDIR}/math/gmp pre-patch: @${REINPLACE_CMD} -e "s|%%LOCALBASE%%|${LOCALBASE}|" ${WRKSRC}/setup.py -test: build +regression-test: build cd ${WRKSRC} && ${PYTHON_CMD} ${PYSETUP} test -regression-test: test - .include