public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: David Seifert <soap@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Cc: java@gentoo.org, "Michał Górny" <mgorny@gentoo.org>
Subject: Re: [gentoo-dev] [PATCH] java-utils-2.eclass: Add RESTRICT="!test? ( test )"
Date: Thu, 12 Dec 2019 13:25:23 +0100	[thread overview]
Message-ID: <6f65d6cee163c2fda19c0f04be7f928dc9c4a49e.camel@gentoo.org> (raw)
In-Reply-To: <20191212071442.7342-1-mgorny@gentoo.org>

On Thu, 2019-12-12 at 08:14 +0100, Michał Górny wrote:
> Add RESTRICT="!test? ( test )" when the ebuild specified
> JAVA_PKG_IUSE="test".  This fixes further 100 MissingTestRestrict
> cases.
> 
> Signed-off-by: Michał Górny <mgorny@gentoo.org>
> ---
>  eclass/java-utils-2.eclass | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/eclass/java-utils-2.eclass b/eclass/java-utils-2.eclass
> index e32cb572f147..1e46e9b55780 100644
> --- a/eclass/java-utils-2.eclass
> +++ b/eclass/java-utils-2.eclass
> @@ -28,6 +28,8 @@ export WANT_JAVA_CONFIG="2"
>  # Prefix variables are only available for EAPI>=3
>  has "${EAPI:-0}" 0 1 2 && ED="${D}" EPREFIX= EROOT="${ROOT}"
>  
> +has test ${JAVA_PKG_IUSE} && RESTRICT+=" !test? ( test )"
> +
>  # @VARIABLE: JAVA_PKG_E_DEPEND
>  # @INTERNAL
>  # @DESCRIPTION:

ACK



      reply	other threads:[~2019-12-12 12:25 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-12  7:14 [gentoo-dev] [PATCH] java-utils-2.eclass: Add RESTRICT="!test? ( test )" Michał Górny
2019-12-12 12:25 ` David Seifert [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6f65d6cee163c2fda19c0f04be7f928dc9c4a49e.camel@gentoo.org \
    --to=soap@gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    --cc=java@gentoo.org \
    --cc=mgorny@gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox