# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ # ebuild generated by hackport 0.2.13 EAPI="4" CABAL_FEATURES="lib profile haddock hscolour hoogle" inherit haskell-cabal MY_PN="HTTP" MY_P="${MY_PN}-${PV}" DESCRIPTION="A library for client-side HTTP" HOMEPAGE="http://projects.haskell.org/http/" SRC_URI="mirror://hackage/packages/archive/${MY_PN}/${PV}/${MY_P}.tar.gz" LICENSE="BSD" SLOT="0" KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~ppc-macos ~x86-macos" IUSE="" RDEPEND="dev-haskell/mtl[profile?] dev-haskell/network[profile?] dev-haskell/parsec[profile?] >=dev-lang/ghc-6.8.2" DEPEND="${RDEPEND} >=dev-haskell/cabal-1.2" S="${WORKDIR}/${MY_P}" src_prepare() { sed -e 's@base >= 2 && < 4.5@base >= 2 \&\& < 4.6@' \ -i "${S}/${MY_PN}.cabal" || die "Could not loosen dependencies" }