aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDuje Mihanović <duje.mihanovic@skole.hr>2022-07-25 11:54:24 +0200
committerDuje Mihanović <duje.mihanovic@skole.hr>2022-07-25 11:54:24 +0200
commitcb5a904fe69d75858da5abd2e08cbb8e64da8f19 (patch)
tree3cdf3ddd692cfe99fb807176dfdb8e04743bac65 /x11-apps
parentx11-apps/lightdm-gtk-greeter-settings: use python-single-r1 (diff)
downloadguru-cb5a904fe69d75858da5abd2e08cbb8e64da8f19.tar.gz
guru-cb5a904fe69d75858da5abd2e08cbb8e64da8f19.tar.bz2
guru-cb5a904fe69d75858da5abd2e08cbb8e64da8f19.zip
x11-apps/lightdm-gtk-greeter-settings: optimize Python modules
Closes: https://bugs.gentoo.org/860855 Signed-off-by: Duje Mihanović <duje.mihanovic@skole.hr>
Diffstat (limited to 'x11-apps')
-rw-r--r--x11-apps/lightdm-gtk-greeter-settings/lightdm-gtk-greeter-settings-1.2.2.ebuild5
1 files changed, 5 insertions, 0 deletions
diff --git a/x11-apps/lightdm-gtk-greeter-settings/lightdm-gtk-greeter-settings-1.2.2.ebuild b/x11-apps/lightdm-gtk-greeter-settings/lightdm-gtk-greeter-settings-1.2.2.ebuild
index 185f53340..f46ae4adb 100644
--- a/x11-apps/lightdm-gtk-greeter-settings/lightdm-gtk-greeter-settings-1.2.2.ebuild
+++ b/x11-apps/lightdm-gtk-greeter-settings/lightdm-gtk-greeter-settings-1.2.2.ebuild
@@ -25,6 +25,11 @@ python_configure_all() {
fi
}
+src_install() {
+ distutils-r1_src_install
+ python_optimize
+}
+
pkg_preinst() {
rm -r "${D}/usr/share/doc/${PN}"
}