1 # Copyright 1999-2019 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 # ebuild generated by hackport 0.4.6.9999
7 #hackport: flags: +base4,-base3,templatehaskell:template-haskell
9 CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
15 DESCRIPTION="Automatic testing of Haskell programs"
16 HOMEPAGE="https://github.com/nick8325/quickcheck"
17 SRC_URI="https://hackage.haskell.org/package/${MY_P}/${MY_P}.tar.gz"
21 KEYWORDS="amd64 ~ia64 ~ppc ~ppc64 ~sparc x86 ~amd64-linux"
22 IUSE="+template-haskell"
24 RESTRICT=test # to avoid test circular depends
26 RDEPEND="dev-haskell/random:=[profile?]
27 >=dev-haskell/tf-random-0.4:=[profile?]
28 >=dev-haskell/transformers-0.2:=[profile?]
29 >=dev-lang/ghc-7.4.1:=
32 >=dev-haskell/cabal-1.8
33 test? ( >=dev-haskell/test-framework-0.4 <dev-haskell/test-framework-0.9 )
36 S="${WORKDIR}/${MY_P}"
39 haskell-cabal_src_configure \
42 $(cabal_flag template-haskell templatehaskell)