commit:     affdbe24a2f7e300ae99137287800fbfd299e627
Author:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Tue Jul 27 09:24:00 2021 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Tue Jul 27 09:24:22 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=affdbe24

net-im/pidgin: Only run python_fix_shebang with USE="dbus"

Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>

 net-im/pidgin/pidgin-2.14.5-r1.ebuild | 2 +-
 net-im/pidgin/pidgin-2.14.6-r1.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-im/pidgin/pidgin-2.14.5-r1.ebuild 
b/net-im/pidgin/pidgin-2.14.5-r1.ebuild
index 21139390fc9..b3ff977ba24 100644
--- a/net-im/pidgin/pidgin-2.14.5-r1.ebuild
+++ b/net-im/pidgin/pidgin-2.14.5-r1.ebuild
@@ -255,8 +255,8 @@ src_install() {
        fi
        use perl && perl_delete_localpod
 
+       use dbus && python_fix_shebang "${ED}"
        if use python || use dbus ; then
-               python_fix_shebang "${ED}"
                python_optimize
        fi
 

diff --git a/net-im/pidgin/pidgin-2.14.6-r1.ebuild 
b/net-im/pidgin/pidgin-2.14.6-r1.ebuild
index a9ab6bb11e2..6983523531d 100644
--- a/net-im/pidgin/pidgin-2.14.6-r1.ebuild
+++ b/net-im/pidgin/pidgin-2.14.6-r1.ebuild
@@ -254,8 +254,8 @@ src_install() {
        fi
        use perl && perl_delete_localpod
 
+       use dbus && python_fix_shebang "${ED}"
        if use python || use dbus ; then
-               python_fix_shebang "${ED}"
                python_optimize
        fi
 

Reply via email to