summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2020-08-03 23:23:58 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2020-08-15 01:21:32 +0200
commit4db82961339725f1218f6e2e58d75007b444d1db (patch)
treed7926b9ebe456399dbff9fb56462bd06878a0c6a /net-analyzer/fail2ban
parentdev-util/trace-cmd: Drop superfluous calls to python_is_python3 (diff)
downloadgentoo-4db82961339725f1218f6e2e58d75007b444d1db.tar.gz
gentoo-4db82961339725f1218f6e2e58d75007b444d1db.tar.bz2
gentoo-4db82961339725f1218f6e2e58d75007b444d1db.zip
net-analyzer/fail2ban: Drop superfluous calls to python_is_python3
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'net-analyzer/fail2ban')
-rw-r--r--net-analyzer/fail2ban/fail2ban-0.11.1-r2.ebuild4
-rw-r--r--net-analyzer/fail2ban/fail2ban-99999999.ebuild4
2 files changed, 2 insertions, 6 deletions
diff --git a/net-analyzer/fail2ban/fail2ban-0.11.1-r2.ebuild b/net-analyzer/fail2ban/fail2ban-0.11.1-r2.ebuild
index f71bda0473e8..dae97e6adc44 100644
--- a/net-analyzer/fail2ban/fail2ban-0.11.1-r2.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-0.11.1-r2.ebuild
@@ -42,9 +42,7 @@ python_prepare_all() {
}
python_compile() {
- if python_is_python3; then
- ./fail2ban-2to3 || die
- fi
+ ./fail2ban-2to3 || die
distutils-r1_python_compile
}
diff --git a/net-analyzer/fail2ban/fail2ban-99999999.ebuild b/net-analyzer/fail2ban/fail2ban-99999999.ebuild
index 2fe548988a01..358d12b3149a 100644
--- a/net-analyzer/fail2ban/fail2ban-99999999.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-99999999.ebuild
@@ -42,9 +42,7 @@ python_prepare_all() {
}
python_compile() {
- if python_is_python3; then
- ./fail2ban-2to3 || die
- fi
+ ./fail2ban-2to3 || die
distutils-r1_python_compile
}