blob: 4c82f39691af594310ec4bc7b98a1b0ad7393de5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
# 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)
}
|