dev-python/jaraco-context: 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:50:33 +01:00
parent 99ed895aab
commit 6826f59141

View File

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