public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] [PATCH] haskell-cabal.eclass: Fix MissingTestRestrict
@ 2019-12-11  9:51 Michał Górny
  2019-12-11 16:04 ` Aaron Bauman
  2019-12-11 19:55 ` [gentoo-dev] " Sergei Trofimovich
  0 siblings, 2 replies; 3+ messages in thread
From: Michał Górny @ 2019-12-11  9:51 UTC (permalink / raw
  To: gentoo-dev; +Cc: haskell, Michał Górny

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>
---
 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



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [gentoo-dev] [PATCH] haskell-cabal.eclass: Fix MissingTestRestrict
  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 ` [gentoo-dev] " Sergei Trofimovich
  1 sibling, 0 replies; 3+ messages in thread
From: Aaron Bauman @ 2019-12-11 16:04 UTC (permalink / raw
  To: gentoo-dev; +Cc: haskell, Michał Górny

[-- Attachment #1: Type: text/plain, Size: 1042 bytes --]

On Wed, Dec 11, 2019 at 10:51:36AM +0100, Michał Górny 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>
> ---
>  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
> 
> 

Acked-by: Aaron Bauman <bman@gentoo.org>

-- 
Cheers,
Aaron

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [gentoo-dev] Re: [PATCH] haskell-cabal.eclass: Fix MissingTestRestrict
  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
  1 sibling, 0 replies; 3+ messages in thread
From: Sergei Trofimovich @ 2019-12-11 19:55 UTC (permalink / raw
  To: Michał Górny; +Cc: gentoo-dev, haskell

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-12-11 19:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 ` [gentoo-dev] " Sergei Trofimovich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox