# 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 CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" inherit haskell-cabal DESCRIPTION="Finite Fields" HOMEPAGE="https://hackage.haskell.org/package/finite-field" LICENSE="BSD" SLOT="0/${PV}" KEYWORDS="~amd64" IUSE="+useghctypelits" RDEPEND="dev-haskell/hashable:=[profile?] >=dev-lang/ghc-9.0.2:= useghctypelits? ( >=dev-haskell/singletons-1.0:=[profile?] ) !useghctypelits? ( >=dev-haskell/type-level-numbers-0.1.1.0:=[profile?] <dev-haskell/type-level-numbers-0.2.0.0:=[profile?] ) " DEPEND="${RDEPEND} >=dev-haskell/cabal-3.4.1.0 test? ( dev-haskell/primes >=dev-haskell/quickcheck-2.5 <dev-haskell/quickcheck-3 >=dev-haskell/tasty-0.10.1 >=dev-haskell/tasty-hunit-0.9 <dev-haskell/tasty-hunit-0.11 >=dev-haskell/tasty-quickcheck-0.8 <dev-haskell/tasty-quickcheck-0.11 dev-haskell/tasty-th ) " src_configure() { haskell-cabal_src_configure \ $(cabal_flag useghctypelits useghctypelits) }