You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-haskell/bloomfilter/bloomfilter-1.2.6.10-r1.ebuild

40 lines
1.1 KiB

# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/bloomfilter/bloomfilter-1.2.6.10-r1.ebuild,v 1.2 2013/04/02 04:34:33 gienah Exp $
EAPI=5
# ebuild generated by hackport 0.2.18.9999
CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
inherit eutils haskell-cabal
DESCRIPTION="Pure and impure Bloom Filter implementations."
HOMEPAGE="https://github.com/bos/bloomfilter"
SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND="dev-haskell/deepseq:=[profile?]
>=dev-lang/ghc-6.8.2:="
DEPEND="${RDEPEND}
test? ( >=dev-haskell/quickcheck-2.4:2
<dev-haskell/quickcheck-2.7:2
dev-haskell/random
dev-haskell/test-framework
dev-haskell/test-framework-quickcheck2
)
>=dev-haskell/cabal-1.8"
src_prepare() {
cabal_chdeps \
'QuickCheck == 2.4.*' 'QuickCheck >= 2.4 && < 2.7'
if has_version ">=dev-haskell/quickcheck-2.5"; then
epatch "${FILESDIR}/${PN}-1.2.6.10-quickcheck-2.6.patch"
fi
}