commit:     383ac8b9e905ae1696b4ccd7b75c26d45613e055
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Sat Jul 24 18:35:38 2021 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Sat Jul 24 18:36:08 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=383ac8b9

sys-auth/libnss-cache: disable tests

Reported-by: Diego Elio Pettenò
Closes: https://bugs.gentoo.org/422567
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>

 sys-auth/libnss-cache/libnss-cache-0.10.2.ebuild | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/sys-auth/libnss-cache/libnss-cache-0.10.2.ebuild 
b/sys-auth/libnss-cache/libnss-cache-0.10.2.ebuild
index 0ad34429a48..3fe430b8655 100644
--- a/sys-auth/libnss-cache/libnss-cache-0.10.2.ebuild
+++ b/sys-auth/libnss-cache/libnss-cache-0.10.2.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=8
 
 inherit multilib-minimal toolchain-funcs
 
@@ -12,7 +12,8 @@ SRC_URI="https://nsscache.googlecode.com/files/${P}.tar.gz";
 LICENSE="GPL-3"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE=""
+
+RESTRICT=test # needs special sudo configuration, bug #422567
 
 PATCHES=(
        "${FILESDIR}"/${PN}-0.10.1-make.patch
@@ -29,5 +30,5 @@ multilib_src_compile() {
 }
 
 multilib_src_install() {
-       emake DESTDIR="${ED}" LIBDIR="${ED%/}/usr/$(get_libdir)" install
+       emake DESTDIR="${ED}" LIBDIR="${ED}/usr/$(get_libdir)" install
 }

Reply via email to