1 # Copyright 1999-2016 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
7 # ebuild generated by hackport 0.4.6.9999
8 #hackport: flags: +base4,-base3,templatehaskell:template_haskell
10 CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
16 DESCRIPTION="Automatic testing of Haskell programs"
17 HOMEPAGE="https://github.com/nick8325/quickcheck"
18 SRC_URI="mirror://hackage/packages/archive/${MY_PN}/${PV}/${MY_P}.tar.gz"
22 KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux"
23 IUSE="+template_haskell"
25 RESTRICT=test # to avoid test circular depends
27 RDEPEND="dev-haskell/random:=[profile?]
28 >=dev-haskell/tf-random-0.4:=[profile?]
29 >=dev-haskell/transformers-0.2:=[profile?]
30 >=dev-lang/ghc-7.4.1:=
33 >=dev-haskell/cabal-1.8
34 test? ( >=dev-haskell/test-framework-0.4 <dev-haskell/test-framework-0.9 )
37 S="${WORKDIR}/${MY_P}"
40 haskell-cabal_src_configure \
43 $(cabal_flag template_haskell templatehaskell)