commit:     2c83d223b009069602d896da6eb321aa4ac254db
Author:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 27 09:43:19 2019 +0000
Commit:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Wed Mar 27 09:45:02 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c83d223

net-analyzer/fail2ban: RESTRICT=test

Fixes: https://bugs.gentoo.org/659010
Fixes: https://bugs.gentoo.org/681838
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org>

 .../{fail2ban-0.10.4.ebuild => fail2ban-0.10.4-r1.ebuild}     | 11 +++--------
 net-analyzer/fail2ban/fail2ban-0.10.4.ebuild                  |  9 ++-------
 net-analyzer/fail2ban/fail2ban-99999999.ebuild                |  7 +------
 3 files changed, 6 insertions(+), 21 deletions(-)

diff --git a/net-analyzer/fail2ban/fail2ban-0.10.4.ebuild 
b/net-analyzer/fail2ban/fail2ban-0.10.4-r1.ebuild
similarity index 94%
copy from net-analyzer/fail2ban/fail2ban-0.10.4.ebuild
copy to net-analyzer/fail2ban/fail2ban-0.10.4-r1.ebuild
index 4ba2745237d..51b196ff788 100644
--- a/net-analyzer/fail2ban/fail2ban-0.10.4.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-0.10.4-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/${PN}/${PN}/tarball/${PV} -> 
${P}.tar.gz"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ppc ppc64 sparc x86 ~x86-fbsd"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
 IUSE="selinux systemd"
 
 # TODO support ipfw and ipfilter
@@ -29,9 +29,8 @@ RDEPEND="
                sys-apps/systemd[python(-),${PYTHON_USEDEP}]
        )' 'python*' ) )
 "
-
 REQUIRED_USE="systemd? ( !python_single_target_pypy )"
-
+RESTRICT="test"
 DOCS=( ChangeLog DEVELOP README.md THANKS TODO doc/run-rootless.txt )
 
 python_prepare_all() {
@@ -53,10 +52,6 @@ python_compile() {
        distutils-r1_python_compile
 }
 
-python_test() {
-       "${PYTHON}" "bin/${PN}-testcases" || die "tests failed with ${EPYTHON}"
-}
-
 python_install_all() {
        distutils-r1_python_install_all
 

diff --git a/net-analyzer/fail2ban/fail2ban-0.10.4.ebuild 
b/net-analyzer/fail2ban/fail2ban-0.10.4.ebuild
index 4ba2745237d..55ab05ed1d4 100644
--- a/net-analyzer/fail2ban/fail2ban-0.10.4.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-0.10.4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -29,9 +29,8 @@ RDEPEND="
                sys-apps/systemd[python(-),${PYTHON_USEDEP}]
        )' 'python*' ) )
 "
-
 REQUIRED_USE="systemd? ( !python_single_target_pypy )"
-
+RESTRICT="test"
 DOCS=( ChangeLog DEVELOP README.md THANKS TODO doc/run-rootless.txt )
 
 python_prepare_all() {
@@ -53,10 +52,6 @@ python_compile() {
        distutils-r1_python_compile
 }
 
-python_test() {
-       "${PYTHON}" "bin/${PN}-testcases" || die "tests failed with ${EPYTHON}"
-}
-
 python_install_all() {
        distutils-r1_python_install_all
 

diff --git a/net-analyzer/fail2ban/fail2ban-99999999.ebuild 
b/net-analyzer/fail2ban/fail2ban-99999999.ebuild
index c43c91b4673..3eb5b64cab5 100644
--- a/net-analyzer/fail2ban/fail2ban-99999999.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-99999999.ebuild
@@ -29,9 +29,8 @@ RDEPEND="
                sys-apps/systemd[python(-),${PYTHON_USEDEP}]
        )' 'python*' ) )
 "
-
 REQUIRED_USE="systemd? ( !python_single_target_pypy )"
-
+RESTRICT="test"
 DOCS=( ChangeLog DEVELOP README.md THANKS TODO doc/run-rootless.txt )
 
 python_prepare_all() {
@@ -46,10 +45,6 @@ python_prepare_all() {
        distutils-r1_python_prepare_all
 }
 
-python_test() {
-       "${PYTHON}" "bin/${PN}-testcases" || die "tests failed with ${EPYTHON}"
-}
-
 python_install_all() {
        distutils-r1_python_install_all
 

Reply via email to