summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-python/jaraco-context/jaraco-context-4.1.1-r2.ebuild (renamed from dev-python/jaraco-context/jaraco-context-4.1.1-r1.ebuild)7
1 files changed, 7 insertions, 0 deletions
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
index b7f36c26be0e..38c43218c585 100644
--- a/dev-python/jaraco-context/jaraco-context-4.1.1-r1.ebuild
+++ b/dev-python/jaraco-context/jaraco-context-4.1.1-r2.ebuild
@@ -36,3 +36,10 @@ src_configure() {
description = "Context managers by jaraco"
EOF
}
+
+python_install() {
+ distutils-r1_python_install
+ # rename to workaround a bug in pkg_resources
+ # https://bugs.gentoo.org/834522
+ mv "${D}$(python_get_sitedir)"/jaraco{_,.}context-${PV}.dist-info || die
+}