Date: Wed, 16 Jul 2014 13:16:18 +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: r362060 - head/math/py-numpy Message-ID: <201407161316.s6GDGId0080303@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: koobs Date: Wed Jul 16 13:16:17 2014 New Revision: 362060 URL: http://svnweb.freebsd.org/changeset/ports/362060 QAT: https://qat.redports.org/buildarchive/r362060/ Log: math/py-numpy: Use INSTALLS_EGGINFO, fixes pkg_resources detection Python packages installs .egg-info metadata directories when --single-version-externally managed is specified, as the Python ports framework does currently for all ports when USE_PYDISTUTILS is defined. In this case the py-numpy port does *not* currently define PYDISTUTILS_AUTOPLIST nor INSTALLS_EGGINFO, which precludes the contents of the add-plist-egginfo: target from being executed. This results in an .egg-info metadata directory being built, and staged, but not installed. Correctly specify INSTALLS_EGGINFO to compensate. Additionally add an "Open" Goal Wiki entry [1] to look at automatically detecting the presence of .egg-info metadata directories, since all ports leveraging USE_PYDISTUTILS also use the --record mechanism for generating installed file lists, and potentially deprecating INSTALLS_EGGINFO and related variables. [1] https://wiki.freebsd.org/Python#Goals PR: 191865 Submitted by: John W. O'Brien <john at saltant dot com> Modified: head/math/py-numpy/Makefile Modified: head/math/py-numpy/Makefile ============================================================================== --- head/math/py-numpy/Makefile Wed Jul 16 12:26:39 2014 (r362059) +++ head/math/py-numpy/Makefile Wed Jul 16 13:16:17 2014 (r362060) @@ -3,6 +3,7 @@ PORTNAME= numpy PORTVERSION= 1.8.1 +PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= math python MASTER_SITES= http://docs.scipy.org/doc/${PORTNAME}/:doc \ @@ -31,6 +32,7 @@ USE_PYDISTUTILS= yes PYDISTUTILS_CONFIGUREARGS+= --fcompiler=gnu95 PYDISTUTILS_BUILDARGS+= --fcompiler=gnu95 PYTHON_PY3K_PLIST_HACK= yes +INSTALLS_EGGINFO= yes PORTDOCS= * WRKSRC= ${WRKDIR}/${DISTNAME:S/r/rc/}
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201407161316.s6GDGId0080303>