From: Michael Palimaka Date: Sun, 18 Jun 2017 05:54:39 +0000 (+1000) Subject: sys-apps/apparmor-utils: restrict tests X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=6e062d789d69666ff1e576e23bda988657772feb;p=gentoo.git 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 --- 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 195fd9867494..9fa4c41e0093 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}