| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 0.15.3.0 | 8 | ~amd64 ~arm64 ~ppc64 ~riscv ~x86 | 0/0.15.3.0 |
# 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 ~arm64 ~ppc64 ~riscv ~x86"
IUSE="benchpapi"
CABAL_CHDEPS=(
'doctest >=0.15 && <0.24' 'doctest >=0.15'
)
PATCHES=(
"${FILESDIR}/${PN}-0.15.3.0-cabal-doctest.patch"
)
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/cabal-doctest-1.0.9
>=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() {
use test && export GHC_BOOTSTRAP_PACKAGES+=( cabal-doctest )
haskell-cabal_src_configure \
$(cabal_flag benchpapi benchpapi)
}
>=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:= >=dev-haskell/cabal-3.4.1.0 test? ( >=dev-haskell/doctest-0.15 >=dev-haskell/cabal-doctest-1.0.9 >=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 )
>=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:=