mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 17:09:10 -07:00
Signed-off-by: hololeap <hololeap@protonmail.com> Signed-off-by: Mark Wright <gienah@gentoo.org>
41 lines
1.0 KiB
Bash
41 lines
1.0 KiB
Bash
# Copyright 1999-2026 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="Test interactive Haskell examples"
|
|
HOMEPAGE="https://github.com/sol/doctest#readme"
|
|
|
|
LICENSE="MIT"
|
|
SLOT="0/${PV}"
|
|
KEYWORDS="~amd64 ~arm64"
|
|
IUSE="cabal-doctest"
|
|
|
|
RDEPEND=">=dev-haskell/code-page-0.1:=[profile?]
|
|
>=dev-haskell/ghc-paths-0.1.0.9:=[profile?]
|
|
>=dev-haskell/syb-0.3:=[profile?]
|
|
dev-haskell/temporary:=[profile?]
|
|
>=dev-lang/ghc-8.0:=[profile?] <dev-lang/ghc-9.12:=[profile?]
|
|
>=dev-lang/ghc-9.0.2:=
|
|
"
|
|
DEPEND="${RDEPEND}
|
|
>=dev-haskell/cabal-3.4.1.0
|
|
test? ( >=dev-haskell/hspec-2.3.0
|
|
>=dev-haskell/hspec-core-2.3.0
|
|
dev-haskell/hunit
|
|
dev-haskell/mockery
|
|
>=dev-haskell/quickcheck-2.13.1
|
|
>=dev-haskell/silently-1.2.4
|
|
>=dev-haskell/stringbuilder-0.4 )
|
|
"
|
|
|
|
src_configure() {
|
|
haskell-cabal_src_configure \
|
|
$(cabal_flag cabal-doctest cabal-doctest)
|
|
}
|