From owner-svn-ports-head@FreeBSD.ORG Thu Dec 12 20:18:09 2013 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 3619BACA; Thu, 12 Dec 2013 20:18:09 +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 086C81448; Thu, 12 Dec 2013 20:18:09 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rBCKI8pS065825; Thu, 12 Dec 2013 20:18:08 GMT (envelope-from wg@svn.freebsd.org) Received: (from wg@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id rBCKI82h065823; Thu, 12 Dec 2013 20:18:08 GMT (envelope-from wg@svn.freebsd.org) Message-Id: <201312122018.rBCKI82h065823@svn.freebsd.org> From: William Grzybowski Date: Thu, 12 Dec 2013 20:18:08 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r336287 - in head/math/py-numarray: . files 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: Thu, 12 Dec 2013 20:18:09 -0000 Author: wg Date: Thu Dec 12 20:18:08 2013 New Revision: 336287 URL: http://svnweb.freebsd.org/changeset/ports/336287 Log: math/py-numarray: allow staging and use auto python plist Added: head/math/py-numarray/files/ head/math/py-numarray/files/patch-setup.py (contents, props changed) Deleted: head/math/py-numarray/pkg-plist Modified: head/math/py-numarray/Makefile Modified: head/math/py-numarray/Makefile ============================================================================== --- head/math/py-numarray/Makefile Thu Dec 12 20:00:58 2013 (r336286) +++ head/math/py-numarray/Makefile Thu Dec 12 20:18:08 2013 (r336287) @@ -12,19 +12,22 @@ COMMENT= Numeric array manipulation exte USE_PYTHON= yes USE_PYDISTUTILS=yes +PYDISTUTILS_AUTOPLIST= yes + +PORTDOCS= * +PORTEXAMPLES= * + +OPTIONS_DEFINE= DOCS EXAMPLES -NO_STAGE= yes post-configure: cd ${WRKSRC} && \ ${PYTHON_CMD} generate.py && \ ${PYTHON_CMD} Include/numarray/genapis.py post-install: -.if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} ${EXAMPLESDIR} - @${TAR} -C ${WRKSRC}/Doc -cf- .|${TAR} -C ${DOCSDIR} -xf- - @${TAR} -C ${WRKSRC}/Examples -cf- .|${TAR} -C ${EXAMPLESDIR} -xf- - @${RM} -fr ${EXAMPLESDIR}/ufunc/build -.endif + @${MKDIR} ${STAGEDIR}${DOCSDIR} ${STAGEDIR}${EXAMPLESDIR} + @${TAR} -C ${WRKSRC}/Doc -cf- .|${TAR} -C ${STAGEDIR}${DOCSDIR} -xf- + @${TAR} -C ${WRKSRC}/Examples -cf- .|${TAR} -C ${STAGEDIR}${EXAMPLESDIR} -xf- + @${RM} -fr ${STAGEDIR}${EXAMPLESDIR}/ufunc/build .include Added: head/math/py-numarray/files/patch-setup.py ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/py-numarray/files/patch-setup.py Thu Dec 12 20:18:08 2013 (r336287) @@ -0,0 +1,9 @@ +--- setup.py.orig 2013-12-12 18:04:59.679796972 -0200 ++++ setup.py 2013-12-12 18:05:04.376796310 -0200 +@@ -227,6 +227,4 @@ + # Do the installation. + # + if __name__ == "__main__": +- if "config" not in sys.argv and ("build" in sys.argv or "install" in sys.argv): +- sys.argv.insert(sys.argv.index("setup.py")+1, "config") + main()