# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # ebuild generated by hackport 0.2.17.9999 EAPI=8 CABAL_FEATURES="lib profile haddock hoogle hscolour" # Broken test-suite: needs porting from QuickCheck-2.4 inherit haskell-cabal DESCRIPTION="A Lens for IxSet" HOMEPAGE="https://github.com/dag/data-lens-ixset" SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz" LICENSE="BSD" SLOT="0/${PV}" KEYWORDS="~amd64" RESTRICT=test RDEPEND=">=dev-haskell/data-lens-2.0:=[profile?] =dev-haskell/ixset-1.0:=[profile?] >=dev-lang/ghc-6.10.4:=" DEPEND="${RDEPEND} >=dev-haskell/cabal-1.10 " src_prepare() { default cabal_chdeps \ 'data-lens == 2.0.*' 'data-lens >= 2.0 && < 2.11' \ 'ixset == 1.0.*' 'ixset >= 1.0' }