summaryrefslogtreecommitdiff
blob: cc024583271555cda419216406bb82c556a64b6a (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-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

# ebuild generated by hackport 0.8.2.0.9999

CABAL_FEATURES=""
inherit haskell-cabal

DESCRIPTION="Conversion between documentation formats"
HOMEPAGE="https://pandoc.org"

LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
IUSE="+lua nightly +server"

RDEPEND=">=dev-haskell/pandoc-3.0:=
	dev-haskell/text:=
	>=dev-lang/ghc-8.8.1:=
	lua? ( >=dev-haskell/hslua-cli-1.4.1:= <dev-haskell/hslua-cli-1.5:=
		>=dev-haskell/pandoc-lua-engine-0.2:= <dev-haskell/pandoc-lua-engine-0.3:=
		>=dev-haskell/temporary-1.1:= <dev-haskell/temporary-1.4:= )
	server? ( >=dev-haskell/pandoc-server-0.1:= <dev-haskell/pandoc-server-0.2:=
			dev-haskell/safe:=
			>=dev-haskell/wai-extra-3.0.24:=
			dev-haskell/warp:= )
	!<app-text/pandoc-3
"
DEPEND="${RDEPEND}
	>=dev-haskell/cabal-3.0.0.0
"

src_configure() {
	haskell-cabal_src_configure \
		$(cabal_flag lua lua) \
		$(cabal_flag nightly nightly) \
		$(cabal_flag server server)
}