diff options
author | Michał Górny <mgorny@gentoo.org> | 2024-08-10 07:33:33 +0200 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2024-09-08 19:21:29 +0100 |
commit | 31705da10b8165380b2eb7b21da4cffd7d3a1621 (patch) | |
tree | 69273a9bf097ee5a0ca487f8b18f984c2b51510f /eclass | |
parent | xdg-utils.eclass: add global-scope ewarn for deprecated < EAPI 7 (diff) | |
download | gentoo-31705da10b8165380b2eb7b21da4cffd7d3a1621.tar.gz gentoo-31705da10b8165380b2eb7b21da4cffd7d3a1621.tar.bz2 gentoo-31705da10b8165380b2eb7b21da4cffd7d3a1621.zip |
distutils-r1.eclass: Allow .jar files in sitedir
Closes: https://bugs.gentoo.org/937642
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/distutils-r1.eclass | 2 |
1 files changed, 2 insertions, 0 deletions
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 \ |