# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 # ebuild generated by hackport 0.5.6 CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" inherit haskell-cabal MY_PN="BitStringRandomMonad" MY_P="${MY_PN}-${PV}" DESCRIPTION="A library which turns a bytestring into a random monad" HOMEPAGE="https://hackage.haskell.org/package/BitStringRandomMonad" SRC_URI="https://hackage.haskell.org/package/${MY_P}/${MY_P}.tar.gz" LICENSE="BSD" SLOT="0/${PV}" KEYWORDS="~amd64" IUSE="" RDEPEND="dev-haskell/bitstring:=[profile?] dev-haskell/mtl:=[profile?] dev-haskell/parallel:=[profile?] dev-haskell/primitive:=[profile?] dev-haskell/vector:=[profile?] >=dev-lang/ghc-7.10.1:= " DEPEND="${RDEPEND} >=dev-haskell/cabal-1.22.2.0 test? ( dev-haskell/quickcheck ) " S="${WORKDIR}/${MY_P}" src_prepare() { default cabal_chdeps \ 'base >=4.8 && <4.10' 'base >=4.8' }