blob: 4e095248d035d7b503eb5cb3a047aabbcb4cead1 (
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
41
42
43
44
|
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
# ebuild generated by hackport 0.8.4.0.9999
CABAL_FEATURES="lib profile haddock hoogle hscolour"
inherit haskell-cabal
DESCRIPTION="JSON pretty-printing library and command-line tool"
HOMEPAGE="https://github.com/informatikr/aeson-pretty"
LICENSE="BSD"
SLOT="0/${PV}"
KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
IUSE="+executable"
RDEPEND=">=dev-haskell/base-compat-0.9:=[profile?]
>=dev-haskell/scientific-0.3:=[profile?]
>=dev-haskell/text-0.11:=[profile?]
>=dev-haskell/unordered-containers-0.2.14.0:=[profile?]
>=dev-haskell/vector-0.9:=[profile?]
>=dev-lang/ghc-8.8.1:=
>=dev-haskell/aeson-1.1:=[profile?] <dev-haskell/aeson-2.3:=[profile?]
executable? ( >=dev-haskell/aeson-0.6:=[profile?]
>=dev-haskell/attoparsec-0.10:=[profile?]
dev-haskell/attoparsec-aeson:=[profile?]
>=dev-haskell/cmdargs-0.7:=[profile?] )
"
DEPEND="${RDEPEND}
>=dev-haskell/cabal-3.0.0.0
"
src_configure() {
if use executable; then
local lib_flag=-lib-only
else
local lib_flag=lib-only
fi
haskell-cabal_src_configure \
--flag="${lib_flag}"
}
|