commit: 398788db0e61daa292812702e5cf7a9cdead94b8
Author: Brian Dolbec <dolsen <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 7 21:08:49 2017 +0000
Commit: Brian Dolbec <dolsen <AT> gentoo <DOT> org>
CommitDate: Thu Jan 12 23:58:08 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=398788db
eclass/distutils-r1.eclass: Remove setting egg-base due to absolute path errors
In setuptools and new python releases, this causes the SOURCES.txt to include
all
egg-info files with absolute paths. Without this setting these files are not
included in that file and everything works and installs correctly.
eclass/distutils-r1.eclass | 5 -----
1 file changed, 5 deletions(-)
diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass
index 2db3be8..68151af 100644
--- a/eclass/distutils-r1.eclass
+++ b/eclass/distutils-r1.eclass
@@ -288,8 +288,6 @@ distutils_install_for_testing() {
PYTHONPATH=${libdir}:${PYTHONPATH}
local add_args=(
- egg_info
- --egg-base="${libdir}"
install
--home="${TEST_DIR}"
--install-lib="${libdir}"
@@ -394,9 +392,6 @@ _distutils-r1_create_setup_cfg() {
# make the ebuild writer lives easier
build-scripts = %(build-base)s/scripts
- [egg_info]
- egg-base = ${BUILD_DIR}
-
# this is needed by distutils_install_for_testing since
# setuptools like to create .egg files for install --home.
[bdist_egg]