diff options
| author | Mike Gilbert <floppym@gentoo.org> | 2015-11-11 19:18:49 -0500 |
|---|---|---|
| committer | Mike Gilbert <floppym@gentoo.org> | 2015-11-11 19:45:27 -0500 |
| commit | 1e379f1f1a61be360bf9cf59030e15862c2a3d21 (patch) | |
| tree | afcb2ce9d2e5ade6a07c0b0a66231fffa4ecb3c3 /dev-lang/python/python-2.7.10.ebuild | |
| parent | fa5cc11feefd6de4503a81714e0dce64f4041a49 (diff) | |
| download | gentoo-1e379f1f1a61be360bf9cf59030e15862c2a3d21.tar.gz gentoo-1e379f1f1a61be360bf9cf59030e15862c2a3d21.tar.bz2 gentoo-1e379f1f1a61be360bf9cf59030e15862c2a3d21.zip | |
dev-lang/python: Set PYTHON_SITEDIR manually
The eclass change in fd4001e9 causes python_export to call ${PYTHON}
to obtain PYTHON_SITEDIR. This returns an empty string if ${PYTHON}
has not yet been merged.
Package-Manager: portage-2.2.23_p26
Diffstat (limited to 'dev-lang/python/python-2.7.10.ebuild')
| -rw-r--r-- | dev-lang/python/python-2.7.10.ebuild | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/dev-lang/python/python-2.7.10.ebuild b/dev-lang/python/python-2.7.10.ebuild index 393636d5cd2d..2d6f00d0b1bc 100644 --- a/dev-lang/python/python-2.7.10.ebuild +++ b/dev-lang/python/python-2.7.10.ebuild @@ -314,7 +314,8 @@ src_install() { -i "${ED}etc/conf.d/pydoc-${SLOT}" "${ED}etc/init.d/pydoc-${SLOT}" || die "sed failed" # for python-exec - python_export python${SLOT} EPYTHON PYTHON PYTHON_SITEDIR + python_export python${SLOT} EPYTHON PYTHON + export PYTHON_SITEDIR="${EPREFIX}/usr/$(get_libdir)/python${SLOT}/site-packages" # if not using a cross-compiler, use the fresh binary if ! tc-is-cross-compiler; then |
