diff options
author | Michał Górny <mgorny@gentoo.org> | 2022-03-04 08:50:33 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2022-03-04 08:56:51 +0100 |
commit | 6826f591416a13631c62aec8ee4bb563e295c7a2 (patch) | |
tree | fc87b91bb71d54af8a06e98e4048cc8acc1fcaee /dev-python/jaraco-context | |
parent | dev-python/importlib_metadata: Revert to EAPI 7 (diff) | |
download | gentoo-6826f591416a13631c62aec8ee4bb563e295c7a2.tar.gz gentoo-6826f591416a13631c62aec8ee4bb563e295c7a2.tar.bz2 gentoo-6826f591416a13631c62aec8ee4bb563e295c7a2.zip |
dev-python/jaraco-context: Rename dist-info for pkg_resources
Bug: https://bugs.gentoo.org/834522
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/jaraco-context')
-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 +} |