• [gentoo-dev] [PATCH 1/4] distutils-r1.eclass: Allow .jar files in sited

    From =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?@21:1/5 to All on Sun Aug 25 17:40:01 2024
    Closes: https://bugs.gentoo.org/937642
    Signed-off-by: Michał Górny <mgorny@gentoo.org>
    ---
    eclass/distutils-r1.eclass | 2 ++
    1 file changed, 2 insertions(+)

    diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass
    index 0f9dc8d14d5e..39705c5c3c84 100644
    --- a/eclass/distutils-r1.eclass
    +++ b/eclass/distutils-r1.eclass
    @@ -2109,8 +2109,10 @@ _distutils-r1_post_python_install() {
    local strays=()
    local p
    mapfile -d $'\0' -t strays < <(
    + # jar for jpype, https://bugs.gentoo.org/937642
    find "${sitedir}" -maxdepth 1 -type f '!' '(' \
    -name '*.egg-info' -o \
    + -name '*.jar' -o \
    -name '*.pth' -o \
    -name '*.py' -o \
    -name '*.pyi' -o \
    --
    2.46.0

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)