net-analyzer/fail2ban: Drop vcs-snapshot.eclass, set EAPI=7
authorJeroen Roovers <jer@gentoo.org>
Wed, 27 Mar 2019 10:02:16 +0000 (11:02 +0100)
committerJeroen Roovers <jer@gentoo.org>
Wed, 27 Mar 2019 10:03:27 +0000 (11:03 +0100)
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Jeroen Roovers <jer@gentoo.org>
net-analyzer/fail2ban/fail2ban-0.10.4-r1.ebuild

index 51b196ff7889825365aabb631eb1ce0f74a70abc..7c58a3532c1dd135d18214fbcdd2b29e140e096c 100644 (file)
@@ -1,11 +1,11 @@
 # Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} pypy )
 DISTUTILS_SINGLE_IMPL=1
 
-inherit distutils-r1 eutils systemd vcs-snapshot
+inherit distutils-r1 eutils systemd
 
 DESCRIPTION="scans log files and bans IPs that show malicious signs"
 HOMEPAGE="http://www.fail2ban.org/"
@@ -33,6 +33,11 @@ REQUIRED_USE="systemd? ( !python_single_target_pypy )"
 RESTRICT="test"
 DOCS=( ChangeLog DEVELOP README.md THANKS TODO doc/run-rootless.txt )
 
+src_unpack() {
+       default
+       mv ${PN}-${PN}-* ${P} || die
+}
+
 python_prepare_all() {
        eapply_user