commit:     4c3a07ee80625af8539f7fd164e74c53b4ecb7e1
Author:     Yuri Konotopov <ykonotopov <AT> gnome <DOT> org>
AuthorDate: Sun Nov 22 11:54:33 2020 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Sun Jan  3 17:02:41 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c3a07ee

app-editors/gedit-plugins: fix build with USE=-python

Closes: https://bugs.gentoo.org/721846
Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Yuri Konotopov <ykonotopov <AT> gnome.org>
Closes: https://github.com/gentoo/gentoo/pull/18359
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>

 app-editors/gedit-plugins/gedit-plugins-3.36.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-editors/gedit-plugins/gedit-plugins-3.36.2.ebuild 
b/app-editors/gedit-plugins/gedit-plugins-3.36.2.ebuild
index 724f74088f8..997b81affda 100644
--- a/app-editors/gedit-plugins/gedit-plugins-3.36.2.ebuild
+++ b/app-editors/gedit-plugins/gedit-plugins-3.36.2.ebuild
@@ -94,7 +94,7 @@ src_configure() {
 
 src_install() {
        meson_src_install
-       python_optimize "${ED}/usr/$(get_libdir)/gedit/plugins/"
+       use python && python_optimize "${ED}/usr/$(get_libdir)/gedit/plugins/"
 }
 
 pkg_postinst() {

Reply via email to