mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-10 06:57:08 -08:00
distutils-r1.eclass: Fix PEP517 + single-impl w/ no scripts
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -1274,7 +1274,10 @@ distutils-r1_python_install() {
|
||||
# are already in scriptdir
|
||||
rm -r "${root}${scriptdir}" || die
|
||||
if [[ ${DISTUTILS_SINGLE_IMPL} ]]; then
|
||||
mv "${root}$(python_get_scriptdir)" "${root}${scriptdir}" || die
|
||||
local wrapped_scriptdir=${root}$(python_get_scriptdir)
|
||||
if [[ -d ${wrapped_scriptdir} ]]; then
|
||||
mv "${wrapped_scriptdir}" "${root}${scriptdir}" || die
|
||||
fi
|
||||
fi
|
||||
else
|
||||
local root=${D%/}/_${EPYTHON}
|
||||
|
||||
Reference in New Issue
Block a user