commit: 6826f591416a13631c62aec8ee4bb563e295c7a2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Fri Mar 4 07:50:33 2022 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Fri Mar 4 07:56:51 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6826f591
dev-python/jaraco-context: Rename dist-info for pkg_resources Bug: https://bugs.gentoo.org/834522 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> ...raco-context-4.1.1-r1.ebuild => jaraco-context-4.1.1-r2.ebuild} | 7 +++++++ 1 file changed, 7 insertions(+) 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 similarity index 83% rename from dev-python/jaraco-context/jaraco-context-4.1.1-r1.ebuild rename to 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 +}
