From b26d8560caf2b1d6da968ea1639d627f4c364979 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Fri, 4 Mar 2022 08:53:29 +0100 Subject: [PATCH] dev-python/jaraco-functools: Rename dist-info for pkg_resources MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bug: https://bugs.gentoo.org/834522 Signed-off-by: Michał Górny --- ...ls-3.5.0-r1.ebuild => jaraco-functools-3.5.0-r2.ebuild} | 7 +++++++ 1 file changed, 7 insertions(+) rename dev-python/jaraco-functools/{jaraco-functools-3.5.0-r1.ebuild => jaraco-functools-3.5.0-r2.ebuild} (86%) 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 fbe54974f9ab3..2e1c4bb4a95dc 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 +}