public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Sergei Trofimovich <slyfox@gentoo.org>
To: "Michał Górny" <mgorny@gentoo.org>
Cc: gentoo-dev@lists.gentoo.org, haskell@gentoo.org
Subject: [gentoo-dev] Re: [PATCH] haskell-cabal.eclass: Fix MissingTestRestrict
Date: Wed, 11 Dec 2019 19:55:57 +0000	[thread overview]
Message-ID: <20191211195557.30906fba@sf> (raw)
In-Reply-To: <20191211095136.201200-1-mgorny@gentoo.org>

On Wed, 11 Dec 2019 10:51:36 +0100
Michał Górny <mgorny@gentoo.org> wrote:

> This fixes 564 cases of MissingTestRestrict.  According to md5-cache
> inspection, no other changes in metadata occur.
> 
> Signed-off-by: Michał Górny <mgorny@gentoo.org>

Looks good.

> ---
>  eclass/haskell-cabal.eclass | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/eclass/haskell-cabal.eclass b/eclass/haskell-cabal.eclass
> index 30b67bf7af94..2fc797e764cb 100644
> --- a/eclass/haskell-cabal.eclass
> +++ b/eclass/haskell-cabal.eclass
> @@ -1,4 +1,4 @@
> -# Copyright 1999-2018 Gentoo Authors
> +# Copyright 1999-2019 Gentoo Authors
>  # Distributed under the terms of the GNU General Public License v2
>  
>  # @ECLASS: haskell-cabal.eclass
> @@ -137,6 +137,7 @@ fi
>  
>  if [[ -n "${CABAL_TEST_SUITE}" ]]; then
>  	IUSE="${IUSE} test"
> +	RESTRICT+=" !test? ( test )"
>  fi
>  
>  # returns the version of cabal currently in use.
> -- 
> 2.24.0
> 


-- 

  Sergei


      parent reply	other threads:[~2019-12-11 19:56 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-11  9:51 [gentoo-dev] [PATCH] haskell-cabal.eclass: Fix MissingTestRestrict Michał Górny
2019-12-11 16:04 ` Aaron Bauman
2019-12-11 19:55 ` Sergei Trofimovich [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=20191211195557.30906fba@sf \
    --to=slyfox@gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    --cc=haskell@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