commit:     6e062d789d69666ff1e576e23bda988657772feb
Author:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 18 05:54:39 2017 +0000
Commit:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Sun Jun 18 05:55:34 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6e062d78

sys-apps/apparmor-utils: restrict tests

As the ebuild is now, the test phase does nothing but dies. While attempting to
fix the test phase, I discovered that the tests attempt to call python2 while
this package has only python3 in PYTHON_COMPAT (because the scripts that are
actually installed are no longer python2-compatible). Python wrapper does not
allow this, so the test phase has to be restricted.

Gentoo-bug: 621844
Package-Manager: Portage-2.3.5, Repoman-2.3.2

 sys-apps/apparmor-utils/apparmor-utils-2.11.0-r1.ebuild | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sys-apps/apparmor-utils/apparmor-utils-2.11.0-r1.ebuild 
b/sys-apps/apparmor-utils/apparmor-utils-2.11.0-r1.ebuild
index 195fd986749..9fa4c41e009 100644
--- a/sys-apps/apparmor-utils/apparmor-utils-2.11.0-r1.ebuild
+++ b/sys-apps/apparmor-utils/apparmor-utils-2.11.0-r1.ebuild
@@ -18,6 +18,8 @@ KEYWORDS="~amd64"
 IUSE=""
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
+RESTRICT="test"
+
 DEPEND="dev-lang/perl
        ${PYTHON_DEPS}"
 RDEPEND="${DEPEND}

Reply via email to