diff options
author | koobs <koobs@FreeBSD.org> | 2014-07-16 21:16:17 +0800 |
---|---|---|
committer | koobs <koobs@FreeBSD.org> | 2014-07-16 21:16:17 +0800 |
commit | 3ef8d9985efff13aec89c9714873a40e45f362c7 (patch) | |
tree | d2aed5404f09ec9146b946c59676321717dbfc29 /math | |
parent | a6f0c58fcca6819ba3004d8069fccbb3728dc889 (diff) | |
download | freebsd-ports-gnome-3ef8d9985efff13aec89c9714873a40e45f362c7.tar.gz freebsd-ports-gnome-3ef8d9985efff13aec89c9714873a40e45f362c7.tar.zst freebsd-ports-gnome-3ef8d9985efff13aec89c9714873a40e45f362c7.zip |
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>
Diffstat (limited to 'math')
-rw-r--r-- | math/py-numpy/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/math/py-numpy/Makefile b/math/py-numpy/Makefile index 81189e00b7f0..1fc0fb59a6eb 100644 --- a/math/py-numpy/Makefile +++ b/math/py-numpy/Makefile @@ -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/} |