commit: b26d8560caf2b1d6da968ea1639d627f4c364979 Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Fri Mar 4 07:53:29 2022 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Fri Mar 4 07:56:54 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b26d8560
dev-python/jaraco-functools: Rename dist-info for pkg_resources Bug: https://bugs.gentoo.org/834522 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> ...-functools-3.5.0-r1.ebuild => jaraco-functools-3.5.0-r2.ebuild} | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/dev-python/jaraco-functools/jaraco-functools-3.5.0-r1.ebuild b/dev-python/jaraco-functools/jaraco-functools-3.5.0-r2.ebuild similarity index 86% rename from dev-python/jaraco-functools/jaraco-functools-3.5.0-r1.ebuild rename to dev-python/jaraco-functools/jaraco-functools-3.5.0-r2.ebuild index fbe54974f9ab..2e1c4bb4a95d 100644 --- a/dev-python/jaraco-functools/jaraco-functools-3.5.0-r1.ebuild +++ b/dev-python/jaraco-functools/jaraco-functools-3.5.0-r2.ebuild @@ -48,3 +48,10 @@ src_configure() { description = "Functools like those found in stdlib" 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{_,.}functools-${PV}.dist-info || die +}
