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>
This commit is contained in:
Michał Górny
2022-03-04 08:53:29 +01:00
parent 6826f59141
commit b26d8560ca

View File

@@ -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
}