mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
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>
This commit is contained in:
parent
39d483e891
commit
9d9c7ce4ef
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=362060
@ -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/}
|
||||
|
Loading…
Reference in New Issue
Block a user