mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-29 22:28:08 -07:00
dev-python/PyUtilib: Drop superfluous calls to python_is_python3
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
@@ -51,11 +51,4 @@ python_install_all() {
|
||||
|
||||
python_install() {
|
||||
distutils-r1_python_install
|
||||
|
||||
if ! python_is_python3; then
|
||||
printf "# Placeholder for python2\n" \
|
||||
> "${D}$(python_get_sitedir)/${PN,,}/__init__.py"
|
||||
|
||||
python_optimize
|
||||
fi
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user