From owner-svn-ports-all@FreeBSD.ORG Wed Feb 5 21:15:16 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 03F7FCD3; Wed, 5 Feb 2014 21:15:16 +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 E2A691A7D; Wed, 5 Feb 2014 21:15:15 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s15LFFoV047894; Wed, 5 Feb 2014 21:15:15 GMT (envelope-from antoine@svn.freebsd.org) Received: (from antoine@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s15LFFkD047893; Wed, 5 Feb 2014 21:15:15 GMT (envelope-from antoine@svn.freebsd.org) Message-Id: <201402052115.s15LFFkD047893@svn.freebsd.org> From: Antoine Brodin Date: Wed, 5 Feb 2014 21:15:15 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r342856 - head/devel/py-bitarray X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Feb 2014 21:15:16 -0000 Author: antoine Date: Wed Feb 5 21:15:15 2014 New Revision: 342856 URL: http://svnweb.freebsd.org/changeset/ports/342856 QAT: https://qat.redports.org/buildarchive/r342856/ Log: - Switch from easy_install to install - Stage support - Use PYDISTUTILS_AUTOPLIST Deleted: head/devel/py-bitarray/pkg-plist Modified: head/devel/py-bitarray/Makefile Modified: head/devel/py-bitarray/Makefile ============================================================================== --- head/devel/py-bitarray/Makefile Wed Feb 5 21:12:21 2014 (r342855) +++ head/devel/py-bitarray/Makefile Wed Feb 5 21:15:15 2014 (r342856) @@ -3,6 +3,7 @@ PORTNAME= bitarray PORTVERSION= 0.8.1 +PORTREVISION= 1 CATEGORIES= devel python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -13,27 +14,22 @@ COMMENT= Efficient arrays of booleans LICENSE= PSFL USE_PYTHON= yes -USE_PYDISTUTILS=easy_install -PYEASYINSTALL_ARCHDEP= yes -PYEASYINSTALL_EGG= ${PYDISTUTILS_PKGNAME}-${PORTVERSION}-py${PYTHON_VER}${PYEASYINSTALL_OSARCH}.egg +USE_PYDISTUTILS= yes +PYDISTUTILS_AUTOPLIST= yes DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME} EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME} PORTDOCS= AUTHORS CHANGE_LOG LICENSE README.rst +PORTEXAMPLES= * -NO_STAGE= yes -.include +OPTIONS_DEFINE= DOCS EXAMPLES post-install: -.if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR} -.endif -.if ${PORT_OPTIONS:MEXAMPLES} - @${MKDIR} ${EXAMPLESDIR} - ${INSTALL_DATA} ${WRKSRC}/examples/* ${EXAMPLESDIR} -.endif + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR} regression-test: extract @(cd ${WRKSRC}/${PORTNAME}; ${PYTHON_CMD} -c "import ${PORTNAME}; ${PORTNAME}.test()")