dev-python/jaraco-text: 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:54:27 +01:00
parent b26d8560ca
commit 5b68e88a90

View File

@@ -47,3 +47,10 @@ src_configure() {
description = "Module for text manipulation"
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{_,.}text-${PV}.dist-info || die
}