sys-apps/apparmor-utils: restrict tests
authorMichael Palimaka <kensington@gentoo.org>
Sun, 18 Jun 2017 05:54:39 +0000 (15:54 +1000)
committerMichael Palimaka <kensington@gentoo.org>
Sun, 18 Jun 2017 05:55:34 +0000 (15:55 +1000)
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

index 195fd98674941daedaf60c6b0fddba38feac3e2f..9fa4c41e00935b8879e8c02c98bb0b09091493eb 100644 (file)
@@ -18,6 +18,8 @@ KEYWORDS="~amd64"
 IUSE=""
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
+RESTRICT="test"
+
 DEPEND="dev-lang/perl
        ${PYTHON_DEPS}"
 RDEPEND="${DEPEND}