# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 # ebuild generated by hackport 0.9.0.0.9999 #hackport: flags: +pedantic #hackport: external-depends: rdepend:sys-apps/pkgcore CABAL_FEATURES="lib profile haddock hoogle hscolour" EGIT_REPO_URI="https://github.com/gentoo-haskell/random-build" inherit git-r3 haskell-cabal DESCRIPTION="Build random packages in a Gentoo repository and evaluate the success rate" HOMEPAGE="https://github.com/gentoo-haskell/random-build" LICENSE="BSD" SLOT="0/${PV}" KEYWORDS="" IUSE="profile +threads" REQUIRED_USE="profile? ( threads )" RDEPEND=">=dev-haskell/async-2.2.5:=[profile?] =dev-haskell/conduit-1.3.6:=[profile?] =dev-haskell/conduit-extra-1.3.7:=[profile?] =dev-haskell/effectful-2.5.1.0:=[profile?] =dev-haskell/effectful-core-2.5.0:=[profile?] =dev-haskell/flatparse-0.5.2.1:=[profile?] =dev-haskell/list-shuffle-1.0.0.0:=[profile?] =dev-haskell/monad-time-effectful-1.0.0.0:=[profile?] =dev-haskell/optparse-applicative-0.18.1.0:=[profile?] =dev-haskell/portage-hs-9999:=[profile?] >=dev-haskell/prettyprinter-1.7.0:=[profile?] =dev-haskell/prettyprinter-ansi-terminal-1.1.3:=[profile?] =dev-haskell/streaming-commons-0.2.3.0:=[profile?] =dev-haskell/text-1.2.5.0:=[profile?] =dev-haskell/time-compat-1.9.8:=[profile?] =dev-haskell/unliftio-core-0.2.1.0:=[profile?] =dev-haskell/unordered-containers-0.2.20:=[profile?] =dev-lang/ghc-9.0.2:= sys-apps/pkgcore " DEPEND="${RDEPEND} >=dev-haskell/cabal-3.4.1.0 " src_prepare() { haskell-cabal_src_prepare sed -e 's/^version:.*/&.9999/' -i ${PN}.cabal || die # just to distinguish from release install } src_configure() { haskell-cabal_src_configure \ --flag=pedantic \ $(cabal_flag profile profile) \ $(cabal_flag threads threads) }