summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-02-05 17:30:59 +0100
committerMichał Górny <mgorny@gentoo.org>2023-02-07 15:24:52 +0100
commit01e35683446d1371522b2ddf5d0fd6148132c675 (patch)
tree4e0fa50b774197eea198d549fc1c19972b95afee
parentdistutils-r1.eclass: Update link to deprecated PEP517 backend doc (diff)
downloadgentoo-01e35683446d1371522b2ddf5d0fd6148132c675.tar.gz
gentoo-01e35683446d1371522b2ddf5d0fd6148132c675.tar.bz2
gentoo-01e35683446d1371522b2ddf5d0fd6148132c675.zip
distutils-r1.eclass: Strip licenses directory (hatchling)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
-rw-r--r--eclass/distutils-r1.eclass2
1 files changed, 2 insertions, 0 deletions
diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass
index 98b6adfc10fb..30398f9871cd 100644
--- a/eclass/distutils-r1.eclass
+++ b/eclass/distutils-r1.eclass
@@ -1267,6 +1267,8 @@ distutils_wheel_install() {
-o -path '*.dist-info/LICENSE*' \
-o -path '*.dist-info/license_files/*' \
-o -path '*.dist-info/license_files' \
+ -o -path '*.dist-info/licenses/*' \
+ -o -path '*.dist-info/licenses' \
\) -delete || die
}