diff options
author | Michał Górny <mgorny@gentoo.org> | 2022-03-04 08:54:27 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2022-03-04 08:56:57 +0100 |
commit | 5b68e88a901e7ac4a2f44f1d4dfec654d2fd8240 (patch) | |
tree | 75e47f49b34830c939f9d9ed73b7916df1180153 /dev-python | |
parent | dev-python/jaraco-functools: Rename dist-info for pkg_resources (diff) | |
download | gentoo-5b68e88a901e7ac4a2f44f1d4dfec654d2fd8240.tar.gz gentoo-5b68e88a901e7ac4a2f44f1d4dfec654d2fd8240.tar.bz2 gentoo-5b68e88a901e7ac4a2f44f1d4dfec654d2fd8240.zip |
dev-python/jaraco-text: 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')
-rw-r--r-- | dev-python/jaraco-text/jaraco-text-3.7.0-r2.ebuild (renamed from dev-python/jaraco-text/jaraco-text-3.7.0-r1.ebuild) | 7 |
1 files changed, 7 insertions, 0 deletions
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 index 85034eb2a60f..03319444e8f2 100644 --- a/dev-python/jaraco-text/jaraco-text-3.7.0-r1.ebuild +++ b/dev-python/jaraco-text/jaraco-text-3.7.0-r2.ebuild @@ -47,3 +47,10 @@ src_configure() { description = "Module for text manipulation" 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{_,.}text-${PV}.dist-info || die +} |