commit:     3616aae899723b001c0d9a4b6a9051ed3d8f019e
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 10 22:41:36 2019 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Sun Nov 10 22:41:36 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3616aae8

sys-libs/glibc: add RESTRICT="!test? ( test )"

Package-Manager: Portage-2.3.79, Repoman-2.3.18
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>

 sys-libs/glibc/glibc-2.28-r6.ebuild | 2 +-
 sys-libs/glibc/glibc-2.29-r2.ebuild | 2 +-
 sys-libs/glibc/glibc-2.29-r5.ebuild | 2 +-
 sys-libs/glibc/glibc-2.29-r6.ebuild | 2 ++
 sys-libs/glibc/glibc-2.30-r2.ebuild | 2 ++
 sys-libs/glibc/glibc-9999.ebuild    | 2 ++
 6 files changed, 9 insertions(+), 3 deletions(-)

diff --git a/sys-libs/glibc/glibc-2.28-r6.ebuild 
b/sys-libs/glibc/glibc-2.28-r6.ebuild
index 542ac476177..32987585499 100644
--- a/sys-libs/glibc/glibc-2.28-r6.ebuild
+++ b/sys-libs/glibc/glibc-2.28-r6.ebuild
@@ -78,7 +78,7 @@ fi
 # As Gentoo's strip does not allow us to pass less aggressive stripping
 # options and does not check the machine target we disable stripping
 # entirely.
-RESTRICT=strip
+RESTRICT="strip !test? ( test )"
 
 # We need a new-enough binutils/gcc to match upstream baseline.
 # Also we need to make sure our binutils/gcc supports TLS,

diff --git a/sys-libs/glibc/glibc-2.29-r2.ebuild 
b/sys-libs/glibc/glibc-2.29-r2.ebuild
index fffa190fc85..5e57364b5be 100644
--- a/sys-libs/glibc/glibc-2.29-r2.ebuild
+++ b/sys-libs/glibc/glibc-2.29-r2.ebuild
@@ -80,7 +80,7 @@ fi
 # As Gentoo's strip does not allow us to pass less aggressive stripping
 # options and does not check the machine target we disable stripping
 # entirely.
-RESTRICT=strip
+RESTRICT="strip !test? ( test )"
 
 # We need a new-enough binutils/gcc to match upstream baseline.
 # Also we need to make sure our binutils/gcc supports TLS,

diff --git a/sys-libs/glibc/glibc-2.29-r5.ebuild 
b/sys-libs/glibc/glibc-2.29-r5.ebuild
index cbcf205430f..5cb7bd73144 100644
--- a/sys-libs/glibc/glibc-2.29-r5.ebuild
+++ b/sys-libs/glibc/glibc-2.29-r5.ebuild
@@ -80,7 +80,7 @@ fi
 # As Gentoo's strip does not allow us to pass less aggressive stripping
 # options and does not check the machine target we disable stripping
 # entirely.
-RESTRICT=strip
+RESTRICT="strip !test? ( test )"
 
 # We need a new-enough binutils/gcc to match upstream baseline.
 # Also we need to make sure our binutils/gcc supports TLS,

diff --git a/sys-libs/glibc/glibc-2.29-r6.ebuild 
b/sys-libs/glibc/glibc-2.29-r6.ebuild
index 2c67eee47a0..8f88020a9c2 100644
--- a/sys-libs/glibc/glibc-2.29-r6.ebuild
+++ b/sys-libs/glibc/glibc-2.29-r6.ebuild
@@ -107,6 +107,8 @@ RDEPEND="${COMMON_DEPEND}
        sys-apps/gentoo-functions
 "
 
+RESTRICT="!test? ( test )"
+
 if [[ ${CATEGORY} == cross-* ]] ; then
        BDEPEND+=" !headers-only? (
                >=${CATEGORY}/binutils-2.24

diff --git a/sys-libs/glibc/glibc-2.30-r2.ebuild 
b/sys-libs/glibc/glibc-2.30-r2.ebuild
index 97a8ffa7165..f3282ba8a07 100644
--- a/sys-libs/glibc/glibc-2.30-r2.ebuild
+++ b/sys-libs/glibc/glibc-2.30-r2.ebuild
@@ -107,6 +107,8 @@ RDEPEND="${COMMON_DEPEND}
        sys-apps/gentoo-functions
 "
 
+RESTRICT="!test? ( test )"
+
 if [[ ${CATEGORY} == cross-* ]] ; then
        BDEPEND+=" !headers-only? (
                >=${CATEGORY}/binutils-2.24

diff --git a/sys-libs/glibc/glibc-9999.ebuild b/sys-libs/glibc/glibc-9999.ebuild
index 46d8888c699..2298db5a53a 100644
--- a/sys-libs/glibc/glibc-9999.ebuild
+++ b/sys-libs/glibc/glibc-9999.ebuild
@@ -108,6 +108,8 @@ RDEPEND="${COMMON_DEPEND}
        sys-apps/gentoo-functions
 "
 
+RESTRICT="!test? ( test )"
+
 if [[ ${CATEGORY} == cross-* ]] ; then
        BDEPEND+=" !headers-only? (
                >=${CATEGORY}/binutils-2.24

Reply via email to