1 # Copyright 1999-2019 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 # ebuild generated by hackport 0.3.2.9999
8 CABAL_FEATURES="bin lib profile haddock hoogle hscolour"
9 inherit eutils haskell-cabal
11 DESCRIPTION="A bioinformatics library"
12 HOMEPAGE="http://biohaskell.org/Libraries/Bio"
13 SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz"
17 KEYWORDS="~amd64 ~x86"
19 RESTRICT="!test? ( test )"
21 RDEPEND=">=dev-haskell/binary-0.4:=[profile?]
22 dev-haskell/mtl:=[profile?]
23 dev-haskell/old-time:=[profile?]
24 dev-haskell/parallel:=[profile?]
25 dev-haskell/parsec:=[profile?]
26 >=dev-haskell/quickcheck-2:2=[profile?]
27 dev-haskell/random:=[profile?]
28 >=dev-haskell/tagsoup-0.8:=[profile?]
29 >=dev-lang/ghc-6.10.4:="
31 >=dev-haskell/cabal-1.6"
34 epatch "${FILESDIR}"/${P}-ghc-7.10.patch
37 'binary >=0.4 && <0.5' 'binary >=0.4'
41 haskell-cabal_src_configure \
42 $(cabal_flag examples examples) \
43 $(cabal_flag test test)
47 dist/build/qc/qc || die
51 haskell-cabal_src_install
53 use test && rm "${ED}"/usr/bin/qc
54 # many examples collide with dev-haskell/flower
55 if use examples ; then
60 mv "${example}" "${PN}-example-${example}"