mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-25 15:41:04 +02:00
eclass/distutils-r1: Sync with Gentoo
It's from Gentoo commit 08cb1492fe62e8f15aa0d546db59ba27ec7a5ab3.
This commit is contained in:
parent
65f9f181bb
commit
c7f0266eeb
@ -1253,7 +1253,9 @@ distutils_pep517_install() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
local cmd=() config_settings=
|
local cmd=() config_settings=
|
||||||
has cargo ${INHERITED} && cmd+=( cargo_env )
|
if has cargo ${INHERITED} && [[ ${_CARGO_GEN_CONFIG_HAS_RUN} ]]; then
|
||||||
|
cmd+=( cargo_env )
|
||||||
|
fi
|
||||||
|
|
||||||
case ${DISTUTILS_USE_PEP517} in
|
case ${DISTUTILS_USE_PEP517} in
|
||||||
maturin)
|
maturin)
|
||||||
@ -2109,8 +2111,10 @@ _distutils-r1_post_python_install() {
|
|||||||
local strays=()
|
local strays=()
|
||||||
local p
|
local p
|
||||||
mapfile -d $'\0' -t strays < <(
|
mapfile -d $'\0' -t strays < <(
|
||||||
|
# jar for jpype, https://bugs.gentoo.org/937642
|
||||||
find "${sitedir}" -maxdepth 1 -type f '!' '(' \
|
find "${sitedir}" -maxdepth 1 -type f '!' '(' \
|
||||||
-name '*.egg-info' -o \
|
-name '*.egg-info' -o \
|
||||||
|
-name '*.jar' -o \
|
||||||
-name '*.pth' -o \
|
-name '*.pth' -o \
|
||||||
-name '*.py' -o \
|
-name '*.py' -o \
|
||||||
-name '*.pyi' -o \
|
-name '*.pyi' -o \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user