# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 # ebuild generated by hackport 0.9.1.0.9999 CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" inherit haskell-cabal DESCRIPTION="Fast, high quality pseudo random number generation" HOMEPAGE="https://github.com/haskell/mwc-random" LICENSE="BSD-2" SLOT="0/${PV}" KEYWORDS="~amd64" IUSE="benchpapi" CABAL_CHDEPS=( 'doctest >=0.15 && <0.24' 'doctest >=0.15' ) RDEPEND=">=dev-haskell/math-functions-0.2.1.0:=[profile?] >=dev-haskell/primitive-0.6.2:=[profile?] >=dev-haskell/random-1.2:=[profile?] >=dev-haskell/vector-0.7:=[profile?] >=dev-lang/ghc-9.0.2:= " DEPEND="${RDEPEND} >=dev-haskell/cabal-3.4.1.0 test? ( >=dev-haskell/doctest-0.15 >=dev-haskell/math-functions-0.3.4 >=dev-haskell/quickcheck-2.2 >=dev-haskell/tasty-1.3.1 dev-haskell/tasty-hunit >=dev-haskell/tasty-quickcheck-0.10.2 >=dev-haskell/vector-0.12.1 ) " src_configure() { haskell-cabal_src_configure \ $(cabal_flag benchpapi benchpapi) }