commit: 01e35683446d1371522b2ddf5d0fd6148132c675
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 5 16:30:59 2023 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Feb 7 14:24:52 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=01e35683
distutils-r1.eclass: Strip licenses directory (hatchling)
Signed-off-by: Michał Górny <mgorny <AT> 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 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
}