Skip to content

Commit

Permalink
dev-haskell/vector: drop USE=test, bug #666812
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Sergei Trofimovich committed Sep 23, 2018
1 parent 6917ced commit c84b298
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions dev-haskell/vector/vector-0.11.0.0.ebuild
Original file line number Diff line number Diff line change
@@ -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"
Expand All @@ -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)
Expand Down

0 comments on commit c84b298

Please sign in to comment.