1 |
commit: 5b68e88a901e7ac4a2f44f1d4dfec654d2fd8240 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Mar 4 07:54:27 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Mar 4 07:56:57 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b68e88a |
7 |
|
8 |
dev-python/jaraco-text: Rename dist-info for pkg_resources |
9 |
|
10 |
Bug: https://bugs.gentoo.org/834522 |
11 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
12 |
|
13 |
.../{jaraco-text-3.7.0-r1.ebuild => jaraco-text-3.7.0-r2.ebuild} | 7 +++++++ |
14 |
1 file changed, 7 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/jaraco-text/jaraco-text-3.7.0-r1.ebuild b/dev-python/jaraco-text/jaraco-text-3.7.0-r2.ebuild |
17 |
similarity index 87% |
18 |
rename from dev-python/jaraco-text/jaraco-text-3.7.0-r1.ebuild |
19 |
rename to dev-python/jaraco-text/jaraco-text-3.7.0-r2.ebuild |
20 |
index 85034eb2a60f..03319444e8f2 100644 |
21 |
--- a/dev-python/jaraco-text/jaraco-text-3.7.0-r1.ebuild |
22 |
+++ b/dev-python/jaraco-text/jaraco-text-3.7.0-r2.ebuild |
23 |
@@ -47,3 +47,10 @@ src_configure() { |
24 |
description = "Module for text manipulation" |
25 |
EOF |
26 |
} |
27 |
+ |
28 |
+python_install() { |
29 |
+ distutils-r1_python_install |
30 |
+ # rename to workaround a bug in pkg_resources |
31 |
+ # https://bugs.gentoo.org/834522 |
32 |
+ mv "${D}$(python_get_sitedir)"/jaraco{_,.}text-${PV}.dist-info || die |
33 |
+} |