1 |
commit: 6826f591416a13631c62aec8ee4bb563e295c7a2 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Mar 4 07:50:33 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Mar 4 07:56:51 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6826f591 |
7 |
|
8 |
dev-python/jaraco-context: 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 |
...raco-context-4.1.1-r1.ebuild => jaraco-context-4.1.1-r2.ebuild} | 7 +++++++ |
14 |
1 file changed, 7 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/jaraco-context/jaraco-context-4.1.1-r1.ebuild b/dev-python/jaraco-context/jaraco-context-4.1.1-r2.ebuild |
17 |
similarity index 83% |
18 |
rename from dev-python/jaraco-context/jaraco-context-4.1.1-r1.ebuild |
19 |
rename to dev-python/jaraco-context/jaraco-context-4.1.1-r2.ebuild |
20 |
index b7f36c26be0e..38c43218c585 100644 |
21 |
--- a/dev-python/jaraco-context/jaraco-context-4.1.1-r1.ebuild |
22 |
+++ b/dev-python/jaraco-context/jaraco-context-4.1.1-r2.ebuild |
23 |
@@ -36,3 +36,10 @@ src_configure() { |
24 |
description = "Context managers by jaraco" |
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{_,.}context-${PV}.dist-info || die |
33 |
+} |