Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/fail2ban/
Date: Fri, 14 Aug 2020 23:22:29
Message-Id: 1597447292.4db82961339725f1218f6e2e58d75007b444d1db.asturm@gentoo
1 commit: 4db82961339725f1218f6e2e58d75007b444d1db
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Mon Aug 3 21:23:58 2020 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Fri Aug 14 23:21:32 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4db82961
7
8 net-analyzer/fail2ban: Drop superfluous calls to python_is_python3
9
10 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
11
12 net-analyzer/fail2ban/fail2ban-0.11.1-r2.ebuild | 4 +---
13 net-analyzer/fail2ban/fail2ban-99999999.ebuild | 4 +---
14 2 files changed, 2 insertions(+), 6 deletions(-)
15
16 diff --git a/net-analyzer/fail2ban/fail2ban-0.11.1-r2.ebuild b/net-analyzer/fail2ban/fail2ban-0.11.1-r2.ebuild
17 index f71bda0473e..dae97e6adc4 100644
18 --- a/net-analyzer/fail2ban/fail2ban-0.11.1-r2.ebuild
19 +++ b/net-analyzer/fail2ban/fail2ban-0.11.1-r2.ebuild
20 @@ -42,9 +42,7 @@ python_prepare_all() {
21 }
22
23 python_compile() {
24 - if python_is_python3; then
25 - ./fail2ban-2to3 || die
26 - fi
27 + ./fail2ban-2to3 || die
28 distutils-r1_python_compile
29 }
30
31
32 diff --git a/net-analyzer/fail2ban/fail2ban-99999999.ebuild b/net-analyzer/fail2ban/fail2ban-99999999.ebuild
33 index 2fe548988a0..358d12b3149 100644
34 --- a/net-analyzer/fail2ban/fail2ban-99999999.ebuild
35 +++ b/net-analyzer/fail2ban/fail2ban-99999999.ebuild
36 @@ -42,9 +42,7 @@ python_prepare_all() {
37 }
38
39 python_compile() {
40 - if python_is_python3; then
41 - ./fail2ban-2to3 || die
42 - fi
43 + ./fail2ban-2to3 || die
44 distutils-r1_python_compile
45 }