From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 2B85D138334 for ; Wed, 11 Dec 2019 16:05:01 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 638E0E089A; Wed, 11 Dec 2019 16:04:58 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 0395FE0882 for ; Wed, 11 Dec 2019 16:04:58 +0000 (UTC) Received: from localhost (pool-108-44-175-72.clppva.fios.verizon.net [108.44.175.72]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: bman) by smtp.gentoo.org (Postfix) with ESMTPSA id 0AE4934D928; Wed, 11 Dec 2019 16:04:56 +0000 (UTC) Date: Wed, 11 Dec 2019 11:04:55 -0500 From: Aaron Bauman To: gentoo-dev@lists.gentoo.org Cc: =?utf-8?B?TWljaGHFgiBHw7Nybnk=?= Subject: Re: [gentoo-dev] [PATCH] virtualx.eclass: Append RESTRICT="!test? ( test )" by default Message-ID: <20191211160455.GB1074948@bubba.lan> References: <20191211145833.782128-1-mgorny@gentoo.org> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="BwCQnh7xodEAoBMC" Content-Disposition: inline In-Reply-To: <20191211145833.782128-1-mgorny@gentoo.org> X-Archives-Salt: 494a02ac-b07e-4de8-a132-88b1fe6ba9a7 X-Archives-Hash: 38431a7e140250e111c064686a11b006 --BwCQnh7xodEAoBMC Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Dec 11, 2019 at 03:58:33PM +0100, Micha=C5=82 G=C3=B3rny wrote: > Append RESTRICT=3D"!test? ( test )" in the default case when virtualx > is conditional to USE=3Dtest. This fixes 440 MissingTestRestrict > warnings. >=20 > Signed-off-by: Micha=C5=82 G=C3=B3rny > --- > eclass/virtualx.eclass | 2 ++ > 1 file changed, 2 insertions(+) >=20 > diff --git a/eclass/virtualx.eclass b/eclass/virtualx.eclass > index 40eeea5463bc..6aba6bf488dd 100644 > --- a/eclass/virtualx.eclass > +++ b/eclass/virtualx.eclass > @@ -89,6 +89,8 @@ case ${VIRTUALX_REQUIRED} in > fi > RDEPEND=3D"" > IUSE=3D"${VIRTUALX_REQUIRED}" > + [[ ${VIRTUALX_REQUIRED} =3D=3D test ]] && > + RESTRICT+=3D" !test? ( test )" > ;; > esac > =20 > --=20 > 2.24.1 >=20 >=20 Acked-by: Aaron Bauman --=20 Cheers, Aaron --BwCQnh7xodEAoBMC Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCAAdFiEEDA48qNrrn8VVVcst4yp5f7HQy3AFAl3xE6YACgkQ4yp5f7HQ y3APhQf/dk5SXDzqU3UczprzAE3rwR0904Dpp478WDA0IjdccVHDkwbs6ZAAZpJG erR6AFlJqhkmKsuTrfUub26WyJGMt9bi2kv12487+ReJGkzosyvjWfY98XGenX7n /5j87D1aEb2M6e7sQtFiULiFwkkO+7POcRbiaXbVfGUyaXIBknDsQsjdIftO5UxT /eW0dvGXQb6f83xzd+MN3hwCWBwtpul/mCBKL3K5M/mhdaD9JlFTv1B9TQXtXZs0 zlS7HKjlzpMwiMHH0GadS4wZedcPbBH1/uDhnwN6BlObMdHsZ7tjOxgKH4DU0qOX ZYDYb5RFriof2dd0ftjfS6ZlnAZZBA== =SpFQ -----END PGP SIGNATURE----- --BwCQnh7xodEAoBMC--