commit: 5b68e88a901e7ac4a2f44f1d4dfec654d2fd8240 Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Fri Mar 4 07:54:27 2022 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Fri Mar 4 07:56:57 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b68e88a
dev-python/jaraco-text: Rename dist-info for pkg_resources Bug: https://bugs.gentoo.org/834522 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> .../{jaraco-text-3.7.0-r1.ebuild => jaraco-text-3.7.0-r2.ebuild} | 7 +++++++ 1 file changed, 7 insertions(+) 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 similarity index 87% rename from dev-python/jaraco-text/jaraco-text-3.7.0-r1.ebuild rename to 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 +}