diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2020-08-03 23:23:58 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2020-08-15 01:21:32 +0200 |
commit | 4db82961339725f1218f6e2e58d75007b444d1db (patch) | |
tree | d7926b9ebe456399dbff9fb56462bd06878a0c6a /net-analyzer/fail2ban | |
parent | dev-util/trace-cmd: Drop superfluous calls to python_is_python3 (diff) | |
download | gentoo-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.ebuild | 4 | ||||
-rw-r--r-- | net-analyzer/fail2ban/fail2ban-99999999.ebuild | 4 |
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 } |