diff --git a/app-admin/system-config-printer/system-config-printer-1.5.16.ebuild b/app-admin/system-config-printer/system-config-printer-1.5.16-r1.ebuild similarity index 95% rename from app-admin/system-config-printer/system-config-printer-1.5.16.ebuild rename to app-admin/system-config-printer/system-config-printer-1.5.16-r1.ebuild index b253a7a4f49b3..c8b20534951da 100644 --- a/app-admin/system-config-printer/system-config-printer-1.5.16.ebuild +++ b/app-admin/system-config-printer/system-config-printer-1.5.16-r1.ebuild @@ -1,7 +1,7 @@ # Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 PYTHON_COMPAT=( python3_{8..10} ) PYTHON_REQ_USE="xml" @@ -70,8 +70,14 @@ src_configure() { econf "${myeconfargs[@]}" } +src_compile() { + default + python_optimize cupshelpers +} + src_install() { default python_fix_shebang "${ED}" python_optimize + python_domodule cupshelpers }