dev-haskell/vector: drop USE=test, bug #666812
authorSergei Trofimovich <slyfox@gentoo.org>
Sun, 23 Sep 2018 13:26:56 +0000 (14:26 +0100)
committerSergei Trofimovich <slyfox@gentoo.org>
Sun, 23 Sep 2018 13:26:56 +0000 (14:26 +0100)
Test suite is not compatible with modern QuickCheck instances:

```
tests/Utilities.hs:54:10: error:
    Duplicate instance declarations:
      instance Arbitrary a => Arbitrary (Identity a)
        -- Defined at tests/Utilities.hs:54:10
        -- Defined in ‘Test.QuickCheck.Arbitrary’
```

Let's drop test suite and fix it in text vector release.

Reported-by: Pacho Ramos
Closes: https://bugs.gentoo.org/666812
Package-Manager: Portage-2.3.49, Repoman-2.3.11

dev-haskell/vector/vector-0.11.0.0.ebuild

index f27cf913c98b8211475a5647ef3991c1e2b239d4..efdc86104afb9c4184fe71611f5bb69b7d13b7c4 100644 (file)
@@ -1,11 +1,11 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
 
 # ebuild generated by hackport 0.4.6.9999
 
-CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
+CABAL_FEATURES="lib profile haddock hoogle hscolour" # Broken test-suite: #666812
 inherit haskell-cabal
 
 DESCRIPTION="Efficient Arrays"
@@ -24,11 +24,6 @@ RDEPEND=">=dev-haskell/primitive-0.5.0.1:=[profile?] <dev-haskell/primitive-0.7:
 "
 DEPEND="${RDEPEND}
        >=dev-haskell/cabal-1.10
-       test? ( >=dev-haskell/quickcheck-2.7
-               dev-haskell/random
-               dev-haskell/test-framework
-               dev-haskell/test-framework-quickcheck2
-               >=dev-haskell/transformers-0.2.0.0 )
 "
 
 PATCHES=("${FILESDIR}"/${P}-primitive-0.6.2.0.patch)