diff options
author | Jeroen Roovers <jer@gentoo.org> | 2020-01-10 14:19:30 +0100 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2020-01-10 14:20:08 +0100 |
commit | 55db316d2faf53a0cd07b0bccf16a37e9d3367fd (patch) | |
tree | 94aaa9643f11be16c44c3610279ed1c6019a9311 /net-analyzer/fail2ban | |
parent | net-analyzer/fail2ban: Version 0.10.5 (diff) | |
download | gentoo-55db316d2faf53a0cd07b0bccf16a37e9d3367fd.tar.gz gentoo-55db316d2faf53a0cd07b0bccf16a37e9d3367fd.tar.bz2 gentoo-55db316d2faf53a0cd07b0bccf16a37e9d3367fd.zip |
net-analyzer/fail2ban: Update live ebuild
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Jeroen Roovers <jer@gentoo.org>
Diffstat (limited to 'net-analyzer/fail2ban')
-rw-r--r-- | net-analyzer/fail2ban/fail2ban-99999999.ebuild | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/net-analyzer/fail2ban/fail2ban-99999999.ebuild b/net-analyzer/fail2ban/fail2ban-99999999.ebuild index bb304da8236d..59fb036b1675 100644 --- a/net-analyzer/fail2ban/fail2ban-99999999.ebuild +++ b/net-analyzer/fail2ban/fail2ban-99999999.ebuild @@ -41,6 +41,13 @@ python_prepare_all() { distutils-r1_python_prepare_all } +python_compile() { + if python_is_python3; then + ./fail2ban-2to3 || die + fi + distutils-r1_python_compile +} + python_install_all() { distutils-r1_python_install_all @@ -49,8 +56,8 @@ python_install_all() { # not FILESDIR newconfd files/gentoo-confd ${PN} newinitd files/gentoo-initd ${PN} - sed -e "s:@BINDIR@:${EPREFIX}/usr/bin:g" files/${PN}.service.in > "${T}"/${PN}.service || die - systemd_dounit "${T}"/${PN}.service + sed -e "s:@BINDIR@:${EPREFIX}/usr/bin:g" files/${PN}.service.in > "${T}/${PN}.service" || die + systemd_dounit "${T}/${PN}.service" systemd_dotmpfilesd files/${PN}-tmpfiles.conf doman man/*.{1,5} |