# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 # ebuild generated by hackport 0.4.6.9999 CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" inherit haskell-cabal DESCRIPTION="Utilities to make Data.Time.* easier to use" HOMEPAGE="https://github.com/stackbuilders/datetime" LICENSE="GPL-2" SLOT="0/${PV}" KEYWORDS="~amd64" RDEPEND=">=dev-haskell/old-locale-1.0.0.1:=[profile?] >=dev-haskell/old-time-1.0.0.1:=[profile?] >=dev-lang/ghc-7.4.1:= " DEPEND="${RDEPEND} >=dev-haskell/cabal-1.10 test? ( dev-haskell/hunit dev-haskell/quickcheck dev-haskell/test-framework dev-haskell/test-framework-hunit dev-haskell/test-framework-quickcheck2 ) " PATCHES=( "${FILESDIR}/${PN}-0.3.1-remove-obsolete-parseTime.patch" ) src_prepare() { default cabal_chdeps \ 'base >=4.2 && <4.9' 'base >=4.2' }