commit:     88e73ced2a730e212311b9a603b00846e3064e58
Author:     Patrick McLean <chutzpah <AT> gentoo <DOT> org>
AuthorDate: Mon Apr 13 18:45:46 2020 +0000
Commit:     Patrick McLean <chutzpah <AT> gentoo <DOT> org>
CommitDate: Mon Apr 13 18:47:12 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=88e73ced

net-firewall/nftables-0.9.4-r{1,2}: Fix USE=-python (bug #717162)

Closes: https://bugs.gentoo.org/717162
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org>

 net-firewall/nftables/nftables-0.9.4-r1.ebuild | 2 +-
 net-firewall/nftables/nftables-0.9.4-r2.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-firewall/nftables/nftables-0.9.4-r1.ebuild 
b/net-firewall/nftables/nftables-0.9.4-r1.ebuild
index c6c7496044c..9cd3da3f64c 100644
--- a/net-firewall/nftables/nftables-0.9.4-r1.ebuild
+++ b/net-firewall/nftables/nftables-0.9.4-r1.ebuild
@@ -115,9 +115,9 @@ src_install() {
 
        if use python ; then
                python_foreach_impl python_make install
+               python_foreach_impl python_optimize
        fi
 
-       python_foreach_impl python_optimize
        find "${ED}" -type f -name "*.la" -delete || die
 }
 

diff --git a/net-firewall/nftables/nftables-0.9.4-r2.ebuild 
b/net-firewall/nftables/nftables-0.9.4-r2.ebuild
index f9a434586f7..cf8385c7c2b 100644
--- a/net-firewall/nftables/nftables-0.9.4-r2.ebuild
+++ b/net-firewall/nftables/nftables-0.9.4-r2.ebuild
@@ -126,9 +126,9 @@ src_install() {
 
        if use python ; then
                python_foreach_impl python_make install
+               python_foreach_impl python_optimize
        fi
 
-       python_foreach_impl python_optimize
        find "${ED}" -type f -name "*.la" -delete || die
 }
 

Reply via email to