diff options
author | Michał Górny <mgorny@gentoo.org> | 2022-03-04 08:53:29 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2022-03-04 08:56:54 +0100 |
commit | b26d8560caf2b1d6da968ea1639d627f4c364979 (patch) | |
tree | 5f113a92459ba22263e5b2ae9431cfe2e4c3a2e0 /dev-python | |
parent | dev-python/jaraco-context: Rename dist-info for pkg_resources (diff) | |
download | gentoo-b26d8560caf2b1d6da968ea1639d627f4c364979.tar.gz gentoo-b26d8560caf2b1d6da968ea1639d627f4c364979.tar.bz2 gentoo-b26d8560caf2b1d6da968ea1639d627f4c364979.zip |
dev-python/jaraco-functools: 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-functools/jaraco-functools-3.5.0-r2.ebuild (renamed from dev-python/jaraco-functools/jaraco-functools-3.5.0-r1.ebuild) | 7 |
1 files changed, 7 insertions, 0 deletions
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 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 +} |