summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-01-23 00:50:14 +0000
committerSam James <sam@gentoo.org>2022-01-23 15:19:55 +0000
commitc2f936993e512259febd1361c64579350071301d (patch)
tree6dca6d858bef9e970a25feafbc61dccb27b7a731 /net-analyzer/fail2ban
parentdev-lang/yap: remove old version (diff)
downloadgentoo-c2f936993e512259febd1361c64579350071301d.tar.gz
gentoo-c2f936993e512259febd1361c64579350071301d.tar.bz2
gentoo-c2f936993e512259febd1361c64579350071301d.zip
net-analyzer/fail2ban: fix installation of .egg-info if tests used
Need to revbump as anyone who ran tests will have a dodgy installation of fail2ban. mgorny explains fully in the bug (and thanks to him for investigating this), but the gist is that the test runner sets umask but never unsets it/reverts it, so it ends up affecting the rest of the installed files by the package. Closes: https://bugs.gentoo.org/790251 Thanks-to: Michał Górny <mgorny@gentoo.org> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-analyzer/fail2ban')
-rw-r--r--net-analyzer/fail2ban/fail2ban-0.11.2-r4.ebuild (renamed from net-analyzer/fail2ban/fail2ban-0.11.2-r3.ebuild)3
1 files changed, 3 insertions, 0 deletions
diff --git a/net-analyzer/fail2ban/fail2ban-0.11.2-r3.ebuild b/net-analyzer/fail2ban/fail2ban-0.11.2-r4.ebuild
index 1390bc1bdc39..fe1a7dcfa4cb 100644
--- a/net-analyzer/fail2ban/fail2ban-0.11.2-r3.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-0.11.2-r4.ebuild
@@ -64,6 +64,9 @@ python_test() {
--no-network \
--no-gamin \
--verbosity=4 || die "Tests failed with ${EPYTHON}"
+
+ # Workaround for bug #790251
+ rm -r fail2ban.egg-info || die
}
python_install_all() {