1 # Copyright 1999-2019 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 # ebuild generated by hackport 0.5.1.9999
7 #hackport: flags: -small_base
9 CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
12 DESCRIPTION="Supports using pandoc with citeproc"
13 HOMEPAGE="https://github.com/jgm/pandoc-citeproc"
14 SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz"
18 KEYWORDS="~amd64 ~x86"
19 IUSE="+bibutils debug embed-data-files test-citeproc unicode_collation"
21 RESTRICT=test # execs a process dropping environment (with LD_PRELOAD)
23 RDEPEND=">=app-text/pandoc-1.16:=[profile?] <app-text/pandoc-2.1:=[profile?]
24 >=dev-haskell/aeson-0.7:=[profile?] <dev-haskell/aeson-1.2:=[profile?]
25 >=dev-haskell/aeson-pretty-0.8:=[profile?]
26 dev-haskell/attoparsec:=[profile?]
27 dev-haskell/data-default:=[profile?]
28 dev-haskell/mtl:=[profile?]
29 dev-haskell/old-locale:=[profile?]
30 >=dev-haskell/pandoc-types-1.16:=[profile?] <dev-haskell/pandoc-types-1.18:=[profile?]
31 dev-haskell/parsec:=[profile?]
32 >=dev-haskell/setenv-0.1:=[profile?] <dev-haskell/setenv-0.2:=[profile?]
33 dev-haskell/split:=[profile?]
34 dev-haskell/syb:=[profile?]
35 dev-haskell/tagsoup:=[profile?]
36 dev-haskell/text:=[profile?]
37 >=dev-haskell/unordered-containers-0.2:=[profile?] <dev-haskell/unordered-containers-0.3:=[profile?]
38 >=dev-haskell/xml-conduit-1.2:=[profile?] <dev-haskell/xml-conduit-1.5:=[profile?]
39 >=dev-haskell/yaml-0.8.8.7:=[profile?]
40 >=dev-lang/ghc-7.4.1:=
41 bibutils? ( >=dev-haskell/hs-bibutils-0.3:=[profile?] )
42 debug? ( dev-haskell/pretty-show:=[profile?] )
43 test-citeproc? ( >=dev-haskell/temporary-1.1:=[profile?]
44 >=dev-haskell/vector-0.10:=[profile?] )
45 !test-citeproc? ( dev-haskell/vector:=[profile?] )
46 unicode_collation? ( dev-haskell/text-icu:=[profile?] )
47 !unicode_collation? ( dev-haskell/rfc5051:=[profile?] )
50 >=dev-haskell/cabal-1.12
51 test? ( !test-citeproc? ( >=dev-haskell/temporary-1.1 ) )
52 embed-data-files? ( dev-haskell/hsb2hs )
56 haskell-cabal_src_configure \
57 $(cabal_flag bibutils bibutils) \
58 $(cabal_flag debug debug) \
59 $(cabal_flag embed-data-files embed_data_files) \
61 $(cabal_flag test-citeproc test_citeproc) \
62 $(cabal_flag unicode_collation unicode_collation)