1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-22 00:35:15 +00:00
freebsd-ports/math/py-numpy
Kubilay Kocak 9d9c7ce4ef 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>
2014-07-16 13:16:17 +00:00
..
files
distinfo
Makefile
pkg-descr
pkg-plist