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/blaze-markup/blaze-markup-0.5.1.1.ebuild

41 lines
1.3 KiB

# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/blaze-markup/blaze-markup-0.5.1.1.ebuild,v 1.1 2012/09/18 06:17:59 gienah Exp $
EAPI=4
# ebuild generated by hackport 0.2.18.9999
CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
inherit haskell-cabal
DESCRIPTION="A blazingly fast markup combinator library for Haskell"
HOMEPAGE="http://jaspervdj.be/blaze"
SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND=">=dev-haskell/blaze-builder-0.2[profile?]
<dev-haskell/blaze-builder-0.4[profile?]
>=dev-haskell/text-0.10[profile?]
<dev-haskell/text-0.12[profile?]
>=dev-lang/ghc-6.10.1"
DEPEND="${RDEPEND}
test? ( =dev-haskell/hunit-1.2*
>=dev-haskell/quickcheck-2.4
<dev-haskell/quickcheck-2.6
>=dev-haskell/test-framework-0.4
<dev-haskell/test-framework-0.7
=dev-haskell/test-framework-hunit-0.2*
=dev-haskell/test-framework-quickcheck2-0.2*
)
>=dev-haskell/cabal-1.8"
src_prepare() {
sed -e 's@QuickCheck >= 2.4 && < 2.5@QuickCheck >= 2.4 \&\& < 2.6@' \
-i "${S}/${PN}.cabal" || die "Could not loosen dependencies"
}