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/lifted-base/lifted-base-0.2.0.2.ebuild

45 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/lifted-base/lifted-base-0.2.0.2.ebuild,v 1.1 2012/12/23 20:06:36 slyfox Exp $
EAPI=5
# ebuild generated by hackport 0.3.1.9999
CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
inherit base haskell-cabal
DESCRIPTION="lifted IO operations from the base library"
HOMEPAGE="https://github.com/basvandijk/lifted-base"
SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
LICENSE="BSD"
SLOT="0/${PV}"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND=">=dev-haskell/base-unicode-symbols-0.1.1:=[profile?]
<dev-haskell/base-unicode-symbols-0.3:=[profile?]
=dev-haskell/monad-control-0.3*:=[profile?]
=dev-haskell/transformers-base-0.4*:=[profile?]
>=dev-lang/ghc-6.10.4:="
DEPEND="${RDEPEND}
test? ( >=dev-haskell/hunit-1.2.2
<dev-haskell/hunit-1.3
>=dev-haskell/test-framework-0.2.4
<dev-haskell/test-framework-0.9
>=dev-haskell/test-framework-hunit-0.2.4
<dev-haskell/test-framework-hunit-0.4
>=dev-haskell/transformers-0.2
<dev-haskell/transformers-0.4
)
>=dev-haskell/cabal-1.9.2"
PATCHES=("${FILESDIR}/${PN}-0.2-ghc-7.7.patch")
src_prepare() {
base_src_prepare
cabal_chdeps \
'base >= 3 && < 4.7' 'base >= 3 && < 5.0'
}