Gentoo Archives: gentoo-commits

From: Sergei Trofimovich <slyfox@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-haskell/pandoc-citeproc/, dev-haskell/pandoc-citeproc/files/
Date: Thu, 20 Aug 2020 07:03:19
Message-Id: 1597906991.956e7708f02e211e0cc03b58b16b82f4b853f6c2.slyfox@gentoo
1 commit: 956e7708f02e211e0cc03b58b16b82f4b853f6c2
2 Author: Jack Todaro <solpeth <AT> posteo <DOT> org>
3 AuthorDate: Thu Aug 20 06:42:32 2020 +0000
4 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
5 CommitDate: Thu Aug 20 07:03:11 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=956e7708
7
8 dev-haskell/pandoc-citeproc: remove old
9
10 Package-Manager: Portage-3.0.4, Repoman-3.0.1
11 Signed-off-by: Jack Todaro <solpeth <AT> posteo.org>
12 Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
13
14 dev-haskell/pandoc-citeproc/Manifest | 8 --
15 .../files/pandoc-citeproc-0.6-ghc-7.10.patch | 115 ---------------------
16 .../files/pandoc-citeproc-0.9-no-binutils.patch | 26 -----
17 dev-haskell/pandoc-citeproc/metadata.xml | 42 +++-----
18 .../pandoc-citeproc/pandoc-citeproc-0.1.2.1.ebuild | 64 ------------
19 .../pandoc-citeproc-0.10.4.1.ebuild | 63 -----------
20 .../pandoc-citeproc/pandoc-citeproc-0.10.4.ebuild | 63 -----------
21 .../pandoc-citeproc/pandoc-citeproc-0.2.ebuild | 62 -----------
22 .../pandoc-citeproc/pandoc-citeproc-0.3.1.ebuild | 76 --------------
23 .../pandoc-citeproc/pandoc-citeproc-0.6.ebuild | 63 -----------
24 .../pandoc-citeproc/pandoc-citeproc-0.7.2.ebuild | 63 -----------
25 .../pandoc-citeproc/pandoc-citeproc-0.8.1.3.ebuild | 65 ------------
26 12 files changed, 16 insertions(+), 694 deletions(-)
27
28 diff --git a/dev-haskell/pandoc-citeproc/Manifest b/dev-haskell/pandoc-citeproc/Manifest
29 index 64d4910d697..004ecd9ac93 100644
30 --- a/dev-haskell/pandoc-citeproc/Manifest
31 +++ b/dev-haskell/pandoc-citeproc/Manifest
32 @@ -1,9 +1 @@
33 -DIST pandoc-citeproc-0.1.2.1.tar.gz 217171 BLAKE2B 1d8080616fe8ed838a8b1d6f59b10fd5abf1c9eb0fe2b1d0fd183670e6db41dcb70258fdb5dbf70fbd053a2a8759eb3afade8573b87d35efcf67d77a0a4a5825 SHA512 a83e34700b2f6f835aec0f66b199a1a43cb5e3318133774b7897316d676870ba56538468904ca754f246bf10a0826f834d6dba791d18a906405ed7c01126b77e
34 -DIST pandoc-citeproc-0.10.4.1.tar.gz 252717 BLAKE2B 048c38cec654a07ac2f5fea21269eb234eba17f362ce4aa84b26d8bd09c6a7c14bc2c0258f3d9c1984dcb06f8db99eb34d832894cb4b959171e62376e9517b98 SHA512 afe0b81c4e58dc80cd0d05977d919bb1f1c8e7a77aba5ed960a04f3a6ff8ec398a62dc5e8497d01db7f67e9ce808a94d1b53c4cecb8b6a28893ec8076555c7ec
35 -DIST pandoc-citeproc-0.10.4.tar.gz 252481 BLAKE2B 782de52be122a7cb94d816d6ba2438db036036167985244f6b8ab63b95f12077511ce9eb0d84a20a7a59834eb88159dd1953ec205c7403c614d9ad0dee8bf9cd SHA512 f188cf2d6642c0dddf2437d23096d488f5e6eb44b9931b004feb72c8adc1a5240d85f8ed48ced9f073733ee546818e3530962e2f2b2ce6cfa52979ec1fdd7cee
36 DIST pandoc-citeproc-0.17.0.1.tar.gz 344529 BLAKE2B f3aaa74eb52d8c023638dc0ff608d2651af8a294cc3f6beae727dc6b0537229e92929c01b24ba7f45c41acc6dd465e5afe1087aa9f2e902bb2b6cfb8aba7512d SHA512 b616007c8b105e3245bae87f60e2ad55809435c82cf91cf32498dad8f2303df48d4555e68c3fbd9f78dc49fd1042ff46061273031c3352df130fc735f443be96
37 -DIST pandoc-citeproc-0.2.tar.gz 249374 BLAKE2B 375ed1517d64d3bfd94fa7d7d66480e796a94e33c29eed7cb84019b6d77f77f6ae2c0b23a92596de890f6a70805ace0ba454e73d166c47819896e6b6ce977a0d SHA512 f7205afb15aeb71dc756e9f49a265f4c4c1380075b088b8c9e366fe363c2ea059b1d28bcbbe70bab449b987bbceba5d1cb7a693f5bf6bc0e3132cb995fd639c4
38 -DIST pandoc-citeproc-0.3.1.tar.gz 258552 BLAKE2B 6206dc5739e61f9763fc52e591d3b3272744f0a70186ac068a3f6b91b3b61a624c38bf17bb2c050a05cc8629c67906c4919dea5b2ea52eede0346ec2fe6196e3 SHA512 739580e46d3c7f447d7c0092e62c22339e8b3d656b9adc25b235b06cc8815c1d57a9221fb3b62854bc32ab02c64f4dad036d44a2357fbbd470b9c1bd0224621a
39 -DIST pandoc-citeproc-0.6.tar.gz 227239 BLAKE2B 3942af5577d69b08f22fa00f1174f61c63b886ed2a6c62758903cbe2b0f34d21466dec272b747a4bd80d8b879a048dce5a887c69d588e99c1de0b96eb67b470c SHA512 eb626e0d776b798757d6b8644d0f5642f07141d614f1a3afe6e265ca77cf17030cee3ff267870d3f0a226c7111d68746a5a88c4a9689e2103f329f1b8fc4bd58
40 -DIST pandoc-citeproc-0.7.2.tar.gz 246215 BLAKE2B 503335489085918de584fcb3b623a3b5b40255efaa80ac8e58f4e4b85073f238fd92e547e4dbbdc90c71ee050be015e37955fdf1a06bdfa4a95d345bcadd1e0b SHA512 857fe05cc1b427a5de36d61c568b1054ecc5517ef9b9e73ade768d886340f6092784c0cbcdc9f87e04a1820edfebc702b34776f664c4d427f484011993f4bec2
41 -DIST pandoc-citeproc-0.8.1.3.tar.gz 310914 BLAKE2B 1944971f25cc0d43908a25ebfa7fde19a53f3af880ead82ba2c278580ff74c37087086921eb9087dca60419a4bf59b49d543ad78aa61f358e98ebda5a875b2ad SHA512 f03e036b05e108e1720715d0f5020ef443491478230a3ebb5024e4cbc2dfa05765b4118e5fbe124514439f14b3a07a898df74a0c3b3bbeb138abbad6af2f473b
42
43 diff --git a/dev-haskell/pandoc-citeproc/files/pandoc-citeproc-0.6-ghc-7.10.patch b/dev-haskell/pandoc-citeproc/files/pandoc-citeproc-0.6-ghc-7.10.patch
44 deleted file mode 100644
45 index cee2d93bc21..00000000000
46 --- a/dev-haskell/pandoc-citeproc/files/pandoc-citeproc-0.6-ghc-7.10.patch
47 +++ /dev/null
48 @@ -1,115 +0,0 @@
49 ---- pandoc-citeproc-0.6-orig/src/Text/CSL/Pandoc.hs 2014-09-22 14:04:21.000000000 +1000
50 -+++ pandoc-citeproc-0.6/src/Text/CSL/Pandoc.hs 2015-01-10 11:57:26.900041860 +1100
51 -@@ -201,10 +201,10 @@
52 - && isEndPunct c -> True
53 - (c:_) | isEndPunct c -> True
54 - | otherwise -> False
55 -- where isEndPunct c = c `elem` ".,;:!?"
56 -+ where isEndPunct c = c `elem` (".,;:!?" :: String)
57 -
58 - startWithPunct :: [Inline] -> Bool
59 --startWithPunct = and . map (`elem` ".,;:!?") . headInline
60 -+startWithPunct = and . map (`elem` (".,;:!?" :: String)) . headInline
61 -
62 - deNote :: Pandoc -> Pandoc
63 - deNote = topDown go
64 -@@ -324,7 +324,7 @@
65 - sp <- option "" (pSpace >> return " ")
66 - r <- many1 (notFollowedBy pSpace >> notFollowedBy pLocatorPunct >> anyToken)
67 - let s = stringify r
68 -- guard $ any isDigit s || all (`elem` "IVXLCM") s
69 -+ guard $ any isDigit s || all (`elem` ("IVXLCM" :: String)) s
70 - return $ punct ++ sp ++ s
71 -
72 - pDigit :: Parsec [Inline] st ()
73 ---- pandoc-citeproc-0.6-orig/src/Text/CSL/Proc.hs 2014-09-22 14:04:21.000000000 +1000
74 -+++ pandoc-citeproc-0.6/src/Text/CSL/Proc.hs 2015-01-10 11:56:18.797456065 +1100
75 -@@ -288,7 +288,7 @@
76 - case ys of
77 - Formatted [] -> xs
78 - Formatted (Note _ : _) -> xs <> ys
79 -- Formatted (Str [c]:_) | c `elem` ", ;:" -> xs <> ys
80 -+ Formatted (Str [c]:_) | c `elem` (", ;:" :: String) -> xs <> ys
81 - _ -> xs <> Formatted [Space] <> ys
82 - formatAuth = formatOutput . localMod
83 - formatCits = (if isNote then toNote else id) .
84 -@@ -328,7 +328,7 @@
85 - | otherwise = id
86 - where
87 - isPunct' [] = False
88 -- isPunct' xs = all (`elem` ".,;:!? ") xs
89 -+ isPunct' xs = all (`elem` (".,;:!? " :: String)) xs
90 - check o = case cleanOutput o of
91 - [] -> ONull
92 - x -> case trim' x of
93 ---- pandoc-citeproc-0.6-orig/src/Text/CSL/Eval/Names.hs 2014-09-22 14:04:21.000000000 +1000
94 -+++ pandoc-citeproc-0.6/src/Text/CSL/Eval/Names.hs 2015-01-10 11:55:41.839119783 +1100
95 -@@ -1,4 +1,4 @@
96 --{-# LANGUAGE PatternGuards #-}
97 -+{-# LANGUAGE PatternGuards, FlexibleContexts #-}
98 - -----------------------------------------------------------------------------
99 - -- |
100 - -- Module : Text.CSL.Eval.Names
101 ---- pandoc-citeproc-0.6-orig/src/Text/CSL/Eval.hs 2014-09-22 14:04:21.000000000 +1000
102 -+++ pandoc-citeproc-0.6/src/Text/CSL/Eval.hs 2015-01-10 11:55:23.090597159 +1100
103 -@@ -1,4 +1,4 @@
104 --{-# LANGUAGE PatternGuards #-}
105 -+{-# LANGUAGE PatternGuards, FlexibleContexts #-}
106 - -----------------------------------------------------------------------------
107 - -- |
108 - -- Module : Text.CSL.Eval
109 ---- pandoc-citeproc-0.6-orig/src/Text/CSL/Parser.hs 2014-09-22 14:04:21.000000000 +1000
110 -+++ pandoc-citeproc-0.6/src/Text/CSL/Parser.hs 2015-01-10 11:54:59.755477862 +1100
111 -@@ -144,7 +144,7 @@
112 -
113 - parseCslTerm :: Cursor -> CslTerm
114 - parseCslTerm cur =
115 -- let body = unpack $ T.dropAround (`elem` " \t\r\n") $
116 -+ let body = unpack $ T.dropAround (`elem` (" \t\r\n" :: String)) $
117 - T.concat $ cur $/ content
118 - in CT
119 - { cslTerm = stringAttr "name" cur
120 ---- pandoc-citeproc-0.6-orig/src/Text/CSL/Style.hs 2014-09-22 14:04:21.000000000 +1000
121 -+++ pandoc-citeproc-0.6/src/Text/CSL/Style.hs 2015-01-10 11:53:23.641828264 +1100
122 -@@ -130,7 +130,7 @@
123 - -- this is needed for versions of pandoc that don't turn
124 - -- a span with font-variant:small-caps into a SmallCaps element:
125 - where handleSmallCapsSpans (Span ("",[],[("style",sty)]) ils)
126 -- | filter (`notElem` " \t;") sty == "font-variant:small-caps" =
127 -+ | filter (`notElem` (" \t;" :: String)) sty == "font-variant:small-caps" =
128 - SmallCaps ils
129 - handleSmallCapsSpans x = x
130 -
131 -@@ -206,15 +206,15 @@
132 - appendWithPunct (Formatted left) (Formatted right) =
133 - Formatted $
134 - case concat [lastleft, firstright] of
135 -- [' ',d] | d `elem` ",.:;" -> initInline left ++ right
136 -- [c,d] | c `elem` " ,.:;", d == c -> left ++ tailInline right
137 -- [c,'.'] | c `elem` ",.!:;?" -> left ++ tailInline right
138 -- [c,':'] | c `elem` ",!:;?" -> left ++ tailInline right -- Mich.: 2005
139 -- [c,'!'] | c `elem` ",.!:;?" -> left ++ tailInline right
140 -- [c,'?'] | c `elem` ",.!:;?" -> left ++ tailInline right
141 -- [c,';'] | c `elem` ",:;" -> left ++ tailInline right -- et al.;
142 -- [':',c] | c `elem` ",.!:;?" -> left ++ tailInline right
143 -- [';',c] | c `elem` ",.!:;?" -> left ++ tailInline right
144 -+ [' ',d] | d `elem` (",.:;" :: String) -> initInline left ++ right
145 -+ [c,d] | c `elem` (" ,.:;" :: String), d == c -> left ++ tailInline right
146 -+ [c,'.'] | c `elem` (",.!:;?" :: String) -> left ++ tailInline right
147 -+ [c,':'] | c `elem` (",!:;?" :: String) -> left ++ tailInline right -- Mich.: 2005
148 -+ [c,'!'] | c `elem` (",.!:;?" :: String) -> left ++ tailInline right
149 -+ [c,'?'] | c `elem` (",.!:;?" :: String) -> left ++ tailInline right
150 -+ [c,';'] | c `elem` (",:;" :: String) -> left ++ tailInline right -- et al.;
151 -+ [':',c] | c `elem` (",.!:;?" :: String) -> left ++ tailInline right
152 -+ [';',c] | c `elem` (",.!:;?" :: String) -> left ++ tailInline right
153 - -- ".;" -> right -- e.g. et al.;
154 - _ -> left ++ right
155 - where lastleft = lastInline left
156 ---- pandoc-citeproc-0.6-orig/src/Text/CSL/Util.hs 2014-09-22 14:04:21.000000000 +1000
157 -+++ pandoc-citeproc-0.6/src/Text/CSL/Util.hs 2015-01-10 11:51:31.789057499 +1100
158 -@@ -1,4 +1,4 @@
159 --{-# LANGUAGE ScopedTypeVariables, PatternGuards #-}
160 -+{-# LANGUAGE ScopedTypeVariables, PatternGuards, FlexibleContexts #-}
161 - module Text.CSL.Util
162 - ( safeRead
163 - , readNum
164
165 diff --git a/dev-haskell/pandoc-citeproc/files/pandoc-citeproc-0.9-no-binutils.patch b/dev-haskell/pandoc-citeproc/files/pandoc-citeproc-0.9-no-binutils.patch
166 deleted file mode 100644
167 index c7c8655e14d..00000000000
168 --- a/dev-haskell/pandoc-citeproc/files/pandoc-citeproc-0.9-no-binutils.patch
169 +++ /dev/null
170 @@ -1,26 +0,0 @@
171 -Fails to build with -f-bibutils:
172 -https://bugs.gentoo.org/516640
173 -diff --git a/pandoc-citeproc.hs b/pandoc-citeproc.hs
174 -index 7006e02..f72fa41 100644
175 ---- a/pandoc-citeproc.hs
176 -+++ b/pandoc-citeproc.hs
177 -@@ -1 +1,2 @@
178 -+{-# LANGUAGE CPP #-}
179 - module Main where
180 -@@ -75,2 +76,3 @@ readFormat = go . map toLower
181 - go "bibtex" = Just Bibtex
182 -+#ifdef USE_BIBUTILS
183 - go "ris" = Just Ris
184 -@@ -87,2 +89,3 @@ readFormat = go . map toLower
185 - go "yaml" = Just Yaml
186 -+#endif
187 - go _ = Nothing
188 -diff --git a/src/Text/CSL/Input/Bibutils.hs b/src/Text/CSL/Input/Bibutils.hs
189 -index 081fa91..49ddbd0 100644
190 ---- a/src/Text/CSL/Input/Bibutils.hs
191 -+++ b/src/Text/CSL/Input/Bibutils.hs
192 -@@ -64,3 +64,3 @@ readBiblioFile f
193 - #else
194 -- _ -> error $ "citeproc: Bibliography format not supported.\n" ++
195 -+ _ -> error $ "citeproc: Bibliography format not supported.\n"
196 - #endif
197
198 diff --git a/dev-haskell/pandoc-citeproc/metadata.xml b/dev-haskell/pandoc-citeproc/metadata.xml
199 index 98effe1c3ac..e2fa1b509fd 100644
200 --- a/dev-haskell/pandoc-citeproc/metadata.xml
201 +++ b/dev-haskell/pandoc-citeproc/metadata.xml
202 @@ -1,4 +1,4 @@
203 -<?xml version='1.0' encoding='UTF-8'?>
204 +<?xml version="1.0" encoding="UTF-8"?>
205 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
206 <pkgmetadata>
207 <maintainer type="project">
208 @@ -6,35 +6,25 @@
209 <name>Gentoo Haskell</name>
210 </maintainer>
211 <use>
212 - <flag name="bibutils">use Chris Putnam's <pkg>app-text/bibutils</pkg></flag>
213 + <flag name="bibutils">Use Chris Putnam's Bibutils.</flag>
214 + <flag name="debug">Turn on debug tracing.</flag>
215 <flag name="embed-data-files">Embed locale files into the library (needed for windows packaging)</flag>
216 - <flag name="network">use <pkg>dev-haskell/network</pkg> and <pkg>dev-haskell/http</pkg> to retrieve CSL file from URIs</flag>
217 - <flag name="hexpat">use <pkg>dev-haskell/hexpat</pkg> instead of <pkg>dev-haskell/xml</pkg> for XML parsing</flag>
218 - <flag name="small-base">Choose the new smaller, split-up base package.</flag>
219 - <flag name="test-citeproc">Build the test-citeproc program</flag>
220 - <flag name="unicode-collation">Use Haskell bindings to the <pkg>dev-libs/icu</pkg></flag>
221 - <flag name="unicode_collation">Use Haskell bindings to the <pkg>dev-libs/icu</pkg></flag>
222 + <flag name="static">Use static linking.</flag>
223 + <flag name="unicode-collation">Use Haskell bindings to the International Components for Unicode (ICU) libraries</flag>
224 </use>
225 <longdescription>
226 - The pandoc-citeproc library exports functions for
227 - using the citeproc system with pandoc. It relies on
228 - citeproc-hs, a library for rendering
229 - bibliographic reference citations into a variety
230 - of styles using a macro language called Citation
231 - Style Language (CSL). More details on CSL can be
232 - found here: &lt;http://citationstyles.org/&gt;.
233 + The pandoc-citeproc library supports automatic
234 + generation of citations and a bibliography in pandoc
235 + documents using the Citation Style Language (CSL)
236 + macro language. More details on CSL can be found at
237 + &lt;http://citationstyles.org/&gt;.
238
239 - Currently this package includes a copy of the citeproc-hs
240 - code. When citeproc-hs is updated to be compatible,
241 - this package will simply depend on citeproc-hs.
242 + In addition to a library, the package includes
243 + an executable, pandoc-citeproc, which works as a pandoc
244 + filter and also has a mode for converting bibliographic
245 + databases into CSL JSON and pandoc YAML metadata formats.
246
247 - This package also contains two executables: pandoc-citeproc,
248 - which works as a pandoc filter (pandoc &gt;= 1.12), and
249 - biblio2yaml, which converts bibliographic databases to
250 - a yaml format suitable for inclusion in pandoc YAML
251 - metadata.
252 + pandoc-citeproc originated as a fork of Andrea
253 + Rossato&#39;s citeproc-hs.
254 </longdescription>
255 - <upstream>
256 - <remote-id type="github">jgm/pandoc-citeproc</remote-id>
257 - </upstream>
258 </pkgmetadata>
259
260 diff --git a/dev-haskell/pandoc-citeproc/pandoc-citeproc-0.1.2.1.ebuild b/dev-haskell/pandoc-citeproc/pandoc-citeproc-0.1.2.1.ebuild
261 deleted file mode 100644
262 index d56932e09db..00000000000
263 --- a/dev-haskell/pandoc-citeproc/pandoc-citeproc-0.1.2.1.ebuild
264 +++ /dev/null
265 @@ -1,64 +0,0 @@
266 -# Copyright 1999-2020 Gentoo Authors
267 -# Distributed under the terms of the GNU General Public License v2
268 -
269 -EAPI=5
270 -
271 -# ebuild generated by hackport 0.3.4.9999
272 -
273 -CABAL_FEATURES="bin lib profile haddock hoogle hscolour test-suite"
274 -inherit haskell-cabal
275 -
276 -DESCRIPTION="Supports using pandoc with citeproc"
277 -HOMEPAGE="https://hackage.haskell.org/package/pandoc-citeproc"
278 -SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz"
279 -
280 -LICENSE="BSD"
281 -SLOT="0/${PV}"
282 -KEYWORDS="~amd64 ~x86"
283 -IUSE="+bibutils embed-data-files +hexpat +network +small-base unicode_collation"
284 -RESTRICT=test # missing files: locales-en-US.xml: openBinaryFile
285 -
286 -RDEPEND=">=app-text/pandoc-1.12.0.2:=[profile?]
287 - dev-haskell/aeson:=[profile?]
288 - dev-haskell/attoparsec:=[profile?]
289 - dev-haskell/json:=[profile?]
290 - dev-haskell/mtl:=[profile?]
291 - >=dev-haskell/pandoc-types-1.12.3:=[profile?]
292 - dev-haskell/parsec:=[profile?]
293 - dev-haskell/split:=[profile?]
294 - dev-haskell/syb:=[profile?]
295 - dev-haskell/tagsoup:=[profile?]
296 - >=dev-haskell/texmath-0.6.4:=[profile?]
297 - dev-haskell/text:=[profile?]
298 - dev-haskell/utf8-string:=[profile?]
299 - dev-haskell/vector:=[profile?]
300 - >=dev-haskell/yaml-0.8:=[profile?]
301 - >=dev-lang/ghc-6.12.1:=
302 - bibutils? ( >=dev-haskell/hs-bibutils-0.3:=[profile?] )
303 - hexpat? ( >=dev-haskell/hexpat-0.20.2:=[profile?] )
304 - !hexpat? ( dev-haskell/xml:=[profile?] )
305 - network? ( >=dev-haskell/http-4000.0.9:=[profile?]
306 - >=dev-haskell/network-2:=[profile?] )
307 - unicode_collation? ( dev-haskell/text-icu:=[profile?] )
308 - !unicode_collation? ( dev-haskell/rfc5051:=[profile?] )
309 -"
310 -DEPEND="${RDEPEND}
311 - >=dev-haskell/cabal-1.12
312 - test? ( dev-haskell/aeson-pretty
313 - >=dev-haskell/diff-0.3 )
314 -"
315 -
316 -src_configure() {
317 - # workaround bug on ghc-7.6.3:
318 - # > [13 of 24] Compiling Text.CSL.Input.Bibtex ...
319 - # > stack overflow: use +RTS -K<size> to increase it
320 - replace-hcflags -O[2-9] -O1
321 -
322 - haskell-cabal_src_configure \
323 - $(cabal_flag bibutils bibutils) \
324 - $(cabal_flag embed-data-files embed_data_files) \
325 - $(cabal_flag hexpat hexpat) \
326 - $(cabal_flag network network) \
327 - $(cabal_flag small-base small_base) \
328 - $(cabal_flag unicode_collation unicode_collation)
329 -}
330
331 diff --git a/dev-haskell/pandoc-citeproc/pandoc-citeproc-0.10.4.1.ebuild b/dev-haskell/pandoc-citeproc/pandoc-citeproc-0.10.4.1.ebuild
332 deleted file mode 100644
333 index 6f5a77d320c..00000000000
334 --- a/dev-haskell/pandoc-citeproc/pandoc-citeproc-0.10.4.1.ebuild
335 +++ /dev/null
336 @@ -1,63 +0,0 @@
337 -# Copyright 1999-2019 Gentoo Authors
338 -# Distributed under the terms of the GNU General Public License v2
339 -
340 -EAPI=6
341 -
342 -# ebuild generated by hackport 0.5.1.9999
343 -#hackport: flags: -small_base
344 -
345 -CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
346 -inherit haskell-cabal
347 -
348 -DESCRIPTION="Supports using pandoc with citeproc"
349 -HOMEPAGE="https://github.com/jgm/pandoc-citeproc"
350 -SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz"
351 -
352 -LICENSE="BSD"
353 -SLOT="0/${PV}"
354 -KEYWORDS="~amd64 ~x86"
355 -IUSE="+bibutils debug embed-data-files test-citeproc unicode_collation"
356 -
357 -RESTRICT=test # execs a process dropping environment (with LD_PRELOAD)
358 -
359 -RDEPEND=">=app-text/pandoc-1.16:=[profile?] <app-text/pandoc-2.1:=[profile?]
360 - >=dev-haskell/aeson-0.7:=[profile?] <dev-haskell/aeson-1.2:=[profile?]
361 - >=dev-haskell/aeson-pretty-0.8:=[profile?]
362 - dev-haskell/attoparsec:=[profile?]
363 - dev-haskell/data-default:=[profile?]
364 - dev-haskell/mtl:=[profile?]
365 - dev-haskell/old-locale:=[profile?]
366 - >=dev-haskell/pandoc-types-1.16:=[profile?] <dev-haskell/pandoc-types-1.18:=[profile?]
367 - dev-haskell/parsec:=[profile?]
368 - >=dev-haskell/setenv-0.1:=[profile?] <dev-haskell/setenv-0.2:=[profile?]
369 - dev-haskell/split:=[profile?]
370 - dev-haskell/syb:=[profile?]
371 - dev-haskell/tagsoup:=[profile?]
372 - dev-haskell/text:=[profile?]
373 - >=dev-haskell/unordered-containers-0.2:=[profile?] <dev-haskell/unordered-containers-0.3:=[profile?]
374 - >=dev-haskell/xml-conduit-1.2:=[profile?] <dev-haskell/xml-conduit-1.6:=[profile?]
375 - >=dev-haskell/yaml-0.8.8.7:=[profile?]
376 - >=dev-lang/ghc-7.4.1:=
377 - bibutils? ( >=dev-haskell/hs-bibutils-0.3:=[profile?] )
378 - debug? ( dev-haskell/pretty-show:=[profile?] )
379 - test-citeproc? ( >=dev-haskell/temporary-1.1:=[profile?]
380 - >=dev-haskell/vector-0.10:=[profile?] )
381 - !test-citeproc? ( dev-haskell/vector:=[profile?] )
382 - unicode_collation? ( dev-haskell/text-icu:=[profile?] )
383 - !unicode_collation? ( dev-haskell/rfc5051:=[profile?] )
384 -"
385 -DEPEND="${RDEPEND}
386 - >=dev-haskell/cabal-1.12
387 - test? ( !test-citeproc? ( >=dev-haskell/temporary-1.1 ) )
388 - embed-data-files? ( dev-haskell/hsb2hs )
389 -"
390 -
391 -src_configure() {
392 - haskell-cabal_src_configure \
393 - $(cabal_flag bibutils bibutils) \
394 - $(cabal_flag debug debug) \
395 - $(cabal_flag embed-data-files embed_data_files) \
396 - --flag=-small_base \
397 - $(cabal_flag test-citeproc test_citeproc) \
398 - $(cabal_flag unicode_collation unicode_collation)
399 -}
400
401 diff --git a/dev-haskell/pandoc-citeproc/pandoc-citeproc-0.10.4.ebuild b/dev-haskell/pandoc-citeproc/pandoc-citeproc-0.10.4.ebuild
402 deleted file mode 100644
403 index 3eae2f1feb2..00000000000
404 --- a/dev-haskell/pandoc-citeproc/pandoc-citeproc-0.10.4.ebuild
405 +++ /dev/null
406 @@ -1,63 +0,0 @@
407 -# Copyright 1999-2019 Gentoo Authors
408 -# Distributed under the terms of the GNU General Public License v2
409 -
410 -EAPI=6
411 -
412 -# ebuild generated by hackport 0.5.1.9999
413 -#hackport: flags: -small_base
414 -
415 -CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
416 -inherit haskell-cabal
417 -
418 -DESCRIPTION="Supports using pandoc with citeproc"
419 -HOMEPAGE="https://github.com/jgm/pandoc-citeproc"
420 -SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz"
421 -
422 -LICENSE="BSD"
423 -SLOT="0/${PV}"
424 -KEYWORDS="~amd64 ~x86"
425 -IUSE="+bibutils debug embed-data-files test-citeproc unicode_collation"
426 -
427 -RESTRICT=test # execs a process dropping environment (with LD_PRELOAD)
428 -
429 -RDEPEND=">=app-text/pandoc-1.16:=[profile?] <app-text/pandoc-2.1:=[profile?]
430 - >=dev-haskell/aeson-0.7:=[profile?] <dev-haskell/aeson-1.2:=[profile?]
431 - >=dev-haskell/aeson-pretty-0.8:=[profile?]
432 - dev-haskell/attoparsec:=[profile?]
433 - dev-haskell/data-default:=[profile?]
434 - dev-haskell/mtl:=[profile?]
435 - dev-haskell/old-locale:=[profile?]
436 - >=dev-haskell/pandoc-types-1.16:=[profile?] <dev-haskell/pandoc-types-1.18:=[profile?]
437 - dev-haskell/parsec:=[profile?]
438 - >=dev-haskell/setenv-0.1:=[profile?] <dev-haskell/setenv-0.2:=[profile?]
439 - dev-haskell/split:=[profile?]
440 - dev-haskell/syb:=[profile?]
441 - dev-haskell/tagsoup:=[profile?]
442 - dev-haskell/text:=[profile?]
443 - >=dev-haskell/unordered-containers-0.2:=[profile?] <dev-haskell/unordered-containers-0.3:=[profile?]
444 - >=dev-haskell/xml-conduit-1.2:=[profile?] <dev-haskell/xml-conduit-1.5:=[profile?]
445 - >=dev-haskell/yaml-0.8.8.7:=[profile?]
446 - >=dev-lang/ghc-7.4.1:=
447 - bibutils? ( >=dev-haskell/hs-bibutils-0.3:=[profile?] )
448 - debug? ( dev-haskell/pretty-show:=[profile?] )
449 - test-citeproc? ( >=dev-haskell/temporary-1.1:=[profile?]
450 - >=dev-haskell/vector-0.10:=[profile?] )
451 - !test-citeproc? ( dev-haskell/vector:=[profile?] )
452 - unicode_collation? ( dev-haskell/text-icu:=[profile?] )
453 - !unicode_collation? ( dev-haskell/rfc5051:=[profile?] )
454 -"
455 -DEPEND="${RDEPEND}
456 - >=dev-haskell/cabal-1.12
457 - test? ( !test-citeproc? ( >=dev-haskell/temporary-1.1 ) )
458 - embed-data-files? ( dev-haskell/hsb2hs )
459 -"
460 -
461 -src_configure() {
462 - haskell-cabal_src_configure \
463 - $(cabal_flag bibutils bibutils) \
464 - $(cabal_flag debug debug) \
465 - $(cabal_flag embed-data-files embed_data_files) \
466 - --flag=-small_base \
467 - $(cabal_flag test-citeproc test_citeproc) \
468 - $(cabal_flag unicode_collation unicode_collation)
469 -}
470
471 diff --git a/dev-haskell/pandoc-citeproc/pandoc-citeproc-0.2.ebuild b/dev-haskell/pandoc-citeproc/pandoc-citeproc-0.2.ebuild
472 deleted file mode 100644
473 index f3e0d8fb473..00000000000
474 --- a/dev-haskell/pandoc-citeproc/pandoc-citeproc-0.2.ebuild
475 +++ /dev/null
476 @@ -1,62 +0,0 @@
477 -# Copyright 1999-2020 Gentoo Authors
478 -# Distributed under the terms of the GNU General Public License v2
479 -
480 -EAPI=5
481 -
482 -# ebuild generated by hackport 0.3.5.9999
483 -
484 -CABAL_FEATURES="bin lib profile haddock hoogle hscolour test-suite"
485 -inherit haskell-cabal
486 -
487 -DESCRIPTION="Supports using pandoc with citeproc"
488 -HOMEPAGE="https://hackage.haskell.org/package/pandoc-citeproc"
489 -SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz"
490 -
491 -LICENSE="BSD"
492 -SLOT="0/${PV}"
493 -KEYWORDS="~amd64 ~x86"
494 -IUSE="+bibutils embed-data-files +hexpat +network +small-base unicode_collation"
495 -RESTRICT=test # missing files: locales-en-US.xml: openBinaryFile
496 -
497 -RDEPEND=">=app-text/pandoc-1.12.1:=[profile?]
498 - dev-haskell/aeson:=[profile?]
499 - dev-haskell/aeson-pretty:=[profile?]
500 - dev-haskell/attoparsec:=[profile?]
501 - dev-haskell/mtl:=[profile?]
502 - >=dev-haskell/pandoc-types-1.12.3:=[profile?]
503 - dev-haskell/parsec:=[profile?]
504 - dev-haskell/split:=[profile?]
505 - dev-haskell/syb:=[profile?]
506 - dev-haskell/tagsoup:=[profile?]
507 - >=dev-haskell/temporary-1.1:=[profile?]
508 - >=dev-haskell/texmath-0.6.4:=[profile?]
509 - dev-haskell/text:=[profile?]
510 - >=dev-haskell/vector-0.10:=[profile?] <dev-haskell/vector-0.11:=[profile?]
511 - >=dev-haskell/yaml-0.8:=[profile?]
512 - >=dev-lang/ghc-7.0.1:=
513 - bibutils? ( >=dev-haskell/hs-bibutils-0.3:=[profile?] )
514 - hexpat? ( >=dev-haskell/hexpat-0.20.2:=[profile?] )
515 - !hexpat? ( dev-haskell/xml:=[profile?] )
516 - network? ( >=dev-haskell/http-4000.0.9:=[profile?]
517 - >=dev-haskell/network-2:=[profile?] )
518 - unicode_collation? ( dev-haskell/text-icu:=[profile?] )
519 - !unicode_collation? ( dev-haskell/rfc5051:=[profile?] )
520 -"
521 -DEPEND="${RDEPEND}
522 - >=dev-haskell/cabal-1.12
523 -"
524 -
525 -src_configure() {
526 - # workaround bug on ghc-7.6.3:
527 - # > [13 of 24] Compiling Text.CSL.Input.Bibtex ...
528 - # > stack overflow: use +RTS -K<size> to increase it
529 - replace-hcflags -O[2-9] -O1
530 -
531 - haskell-cabal_src_configure \
532 - $(cabal_flag bibutils bibutils) \
533 - $(cabal_flag embed-data-files embed_data_files) \
534 - $(cabal_flag hexpat hexpat) \
535 - $(cabal_flag network network) \
536 - $(cabal_flag small-base small_base) \
537 - $(cabal_flag unicode_collation unicode_collation)
538 -}
539
540 diff --git a/dev-haskell/pandoc-citeproc/pandoc-citeproc-0.3.1.ebuild b/dev-haskell/pandoc-citeproc/pandoc-citeproc-0.3.1.ebuild
541 deleted file mode 100644
542 index c935617185d..00000000000
543 --- a/dev-haskell/pandoc-citeproc/pandoc-citeproc-0.3.1.ebuild
544 +++ /dev/null
545 @@ -1,76 +0,0 @@
546 -# Copyright 1999-2020 Gentoo Authors
547 -# Distributed under the terms of the GNU General Public License v2
548 -
549 -EAPI=5
550 -
551 -# ebuild generated by hackport 0.4.9999
552 -#hackport: flags: -small_base
553 -
554 -CABAL_FEATURES="bin lib profile haddock hoogle hscolour test-suite"
555 -inherit haskell-cabal
556 -
557 -DESCRIPTION="Supports using pandoc with citeproc"
558 -HOMEPAGE="https://hackage.haskell.org/package/pandoc-citeproc"
559 -SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz"
560 -
561 -LICENSE="BSD"
562 -SLOT="0/${PV}"
563 -KEYWORDS="~amd64 ~x86"
564 -IUSE="+bibutils embed-data-files +hexpat +network test-citeproc unicode_collation"
565 -RESTRICT="!test? ( test )"
566 -
567 -RDEPEND=">=app-text/pandoc-1.12.1:=[profile?]
568 - dev-haskell/aeson:=[profile?]
569 - dev-haskell/aeson-pretty:=[profile?]
570 - dev-haskell/attoparsec:=[profile?]
571 - dev-haskell/mtl:=[profile?]
572 - >=dev-haskell/pandoc-types-1.12.3:=[profile?]
573 - dev-haskell/parsec:=[profile?]
574 - dev-haskell/split:=[profile?]
575 - dev-haskell/syb:=[profile?]
576 - dev-haskell/tagsoup:=[profile?]
577 - >=dev-haskell/temporary-1.1:=[profile?]
578 - >=dev-haskell/texmath-0.6.4:=[profile?]
579 - dev-haskell/text:=[profile?]
580 - >=dev-haskell/vector-0.10:=[profile?] <dev-haskell/vector-0.11:=[profile?]
581 - >=dev-haskell/yaml-0.8.8.2:=[profile?]
582 - >=dev-lang/ghc-7.4.1:=
583 - bibutils? ( >=dev-haskell/hs-bibutils-0.3:=[profile?] )
584 - hexpat? ( >=dev-haskell/hexpat-0.20.2:=[profile?] )
585 - !hexpat? ( dev-haskell/xml:=[profile?] )
586 - network? ( >=dev-haskell/http-4000.0.9:=[profile?]
587 - >=dev-haskell/network-2:=[profile?]
588 - dev-haskell/network-uri:=[profile?] )
589 - unicode_collation? ( dev-haskell/text-icu:=[profile?] )
590 - !unicode_collation? ( dev-haskell/rfc5051:=[profile?] )
591 -"
592 -DEPEND="${RDEPEND}
593 - >=dev-haskell/cabal-1.12
594 - test? ( >=app-text/pandoc-1.12.1
595 - dev-haskell/aeson
596 - >=dev-haskell/pandoc-types-1.12.3
597 - dev-haskell/text
598 - >=dev-haskell/yaml-0.8.8.2 )
599 -"
600 -
601 -src_prepare() {
602 - cabal_chdeps \
603 - 'network >= 2,' 'network >= 2, network-uri,'
604 -}
605 -
606 -src_configure() {
607 - # workaround bug on ghc-7.6.3:
608 - # > [13 of 24] Compiling Text.CSL.Input.Bibtex ...
609 - # > stack overflow: use +RTS -K<size> to increase it
610 - [[ $(ghc-version) == 7.6.* ]] && replace-hcflags -O[2-9] -O1
611 - [[ $(ghc-version) == 7.8.* ]] && replace-hcflags -O[2-9] -O1
612 -
613 - haskell-cabal_src_configure \
614 - $(cabal_flag bibutils bibutils) \
615 - $(cabal_flag embed-data-files embed_data_files) \
616 - $(cabal_flag hexpat hexpat) \
617 - $(cabal_flag network network) \
618 - --flag=-small_base \
619 - $(cabal_flag test-citeproc test_citeproc) \
620 - $(cabal_flag unicode_collation unicode_collation)
621 -}
622
623 diff --git a/dev-haskell/pandoc-citeproc/pandoc-citeproc-0.6.ebuild b/dev-haskell/pandoc-citeproc/pandoc-citeproc-0.6.ebuild
624 deleted file mode 100644
625 index 118eea96a21..00000000000
626 --- a/dev-haskell/pandoc-citeproc/pandoc-citeproc-0.6.ebuild
627 +++ /dev/null
628 @@ -1,63 +0,0 @@
629 -# Copyright 1999-2020 Gentoo Authors
630 -# Distributed under the terms of the GNU General Public License v2
631 -
632 -EAPI=5
633 -
634 -# ebuild generated by hackport 0.4.4.9999
635 -#hackport: flags: -small_base
636 -
637 -CABAL_FEATURES="bin lib profile haddock hoogle hscolour test-suite"
638 -inherit base haskell-cabal
639 -
640 -DESCRIPTION="Supports using pandoc with citeproc"
641 -HOMEPAGE="https://hackage.haskell.org/package/pandoc-citeproc"
642 -SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz"
643 -
644 -LICENSE="BSD"
645 -SLOT="0/${PV}"
646 -KEYWORDS="~amd64 ~x86"
647 -IUSE="+bibutils embed-data-files test-citeproc unicode_collation"
648 -
649 -RESTRICT=test # missing files
650 -
651 -RDEPEND=">=app-text/pandoc-1.12.1:=[profile?]
652 - >=dev-haskell/aeson-0.7:=[profile?] <dev-haskell/aeson-0.9:=[profile?]
653 - dev-haskell/aeson-pretty:=[profile?]
654 - dev-haskell/attoparsec:=[profile?]
655 - dev-haskell/data-default:=[profile?]
656 - dev-haskell/mtl:=[profile?]
657 - >=dev-haskell/pandoc-types-1.12.3:=[profile?]
658 - dev-haskell/parsec:=[profile?]
659 - dev-haskell/split:=[profile?]
660 - dev-haskell/syb:=[profile?]
661 - dev-haskell/tagsoup:=[profile?]
662 - >=dev-haskell/temporary-1.1:=[profile?]
663 - dev-haskell/text:=[profile?]
664 - >=dev-haskell/vector-0.10:=[profile?] <dev-haskell/vector-0.11:=[profile?]
665 - >=dev-haskell/xml-conduit-1.2:=[profile?] <dev-haskell/xml-conduit-1.3:=[profile?]
666 - >=dev-haskell/yaml-0.8.8.2:=[profile?]
667 - >=dev-lang/ghc-7.4.1:=
668 - bibutils? ( >=dev-haskell/hs-bibutils-0.3:=[profile?] )
669 - unicode_collation? ( dev-haskell/text-icu:=[profile?] )
670 - !unicode_collation? ( dev-haskell/rfc5051:=[profile?] )
671 -"
672 -DEPEND="${RDEPEND}
673 - >=dev-haskell/cabal-1.12
674 -"
675 -
676 -PATCHES=("${FILESDIR}/${PN}-0.6-ghc-7.10.patch")
677 -
678 -src_configure() {
679 - # workaround bug on ghc-7.6.3:
680 - # > [13 of 24] Compiling Text.CSL.Input.Bibtex ...
681 - # > stack overflow: use +RTS -K<size> to increase it
682 - [[ $(ghc-version) == 7.6.* ]] && replace-hcflags -O[2-9] -O1
683 - [[ $(ghc-version) == 7.8.* ]] && replace-hcflags -O[2-9] -O1
684 -
685 - haskell-cabal_src_configure \
686 - $(cabal_flag bibutils bibutils) \
687 - $(cabal_flag embed-data-files embed_data_files) \
688 - --flag=-small_base \
689 - $(cabal_flag test-citeproc test_citeproc) \
690 - $(cabal_flag unicode_collation unicode_collation)
691 -}
692
693 diff --git a/dev-haskell/pandoc-citeproc/pandoc-citeproc-0.7.2.ebuild b/dev-haskell/pandoc-citeproc/pandoc-citeproc-0.7.2.ebuild
694 deleted file mode 100644
695 index 7e737565c18..00000000000
696 --- a/dev-haskell/pandoc-citeproc/pandoc-citeproc-0.7.2.ebuild
697 +++ /dev/null
698 @@ -1,63 +0,0 @@
699 -# Copyright 1999-2020 Gentoo Authors
700 -# Distributed under the terms of the GNU General Public License v2
701 -
702 -EAPI=5
703 -
704 -# ebuild generated by hackport 0.4.5.9999
705 -#hackport: flags: -small_base
706 -
707 -CABAL_FEATURES="bin lib profile haddock hoogle hscolour test-suite"
708 -inherit haskell-cabal
709 -
710 -DESCRIPTION="Supports using pandoc with citeproc"
711 -HOMEPAGE="https://hackage.haskell.org/package/pandoc-citeproc"
712 -SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz"
713 -
714 -LICENSE="BSD"
715 -SLOT="0/${PV}"
716 -KEYWORDS="~amd64 ~x86"
717 -IUSE="+bibutils debug embed-data-files test-citeproc unicode_collation"
718 -
719 -RESTRICT=test # fd:8: hClose: resource vanished (Broken pipe)
720 -
721 -RDEPEND=">=app-text/pandoc-1.13:=[profile?]
722 - >=dev-haskell/aeson-0.7:=[profile?] <dev-haskell/aeson-0.10:=[profile?]
723 - dev-haskell/aeson-pretty:=[profile?]
724 - dev-haskell/attoparsec:=[profile?]
725 - dev-haskell/data-default:=[profile?]
726 - dev-haskell/mtl:=[profile?]
727 - dev-haskell/old-locale:=[profile?]
728 - >=dev-haskell/pandoc-types-1.12.3:=[profile?]
729 - dev-haskell/parsec:=[profile?]
730 - >=dev-haskell/setenv-0.1:=[profile?] <dev-haskell/setenv-0.2:=[profile?]
731 - dev-haskell/split:=[profile?]
732 - dev-haskell/syb:=[profile?]
733 - dev-haskell/tagsoup:=[profile?]
734 - >=dev-haskell/temporary-1.1:=[profile?]
735 - dev-haskell/text:=[profile?]
736 - >=dev-haskell/vector-0.10:=[profile?] <dev-haskell/vector-0.11:=[profile?]
737 - >=dev-haskell/xml-conduit-1.2:=[profile?] <dev-haskell/xml-conduit-1.4:=[profile?]
738 - >=dev-haskell/yaml-0.8.8.7:=[profile?]
739 - >=dev-lang/ghc-7.4.1:=
740 - bibutils? ( >=dev-haskell/hs-bibutils-0.3:=[profile?] )
741 - debug? ( dev-haskell/pretty-show:=[profile?] )
742 - unicode_collation? ( dev-haskell/text-icu:=[profile?] )
743 - !unicode_collation? ( dev-haskell/rfc5051:=[profile?] )
744 -"
745 -DEPEND="${RDEPEND}
746 - >=dev-haskell/cabal-1.12
747 -"
748 -
749 -src_prepare() {
750 - epatch "${FILESDIR}"/${PN}-0.9-no-binutils.patch
751 -}
752 -
753 -src_configure() {
754 - haskell-cabal_src_configure \
755 - $(cabal_flag bibutils bibutils) \
756 - $(cabal_flag debug debug) \
757 - $(cabal_flag embed-data-files embed_data_files) \
758 - --flag=-small_base \
759 - $(cabal_flag test-citeproc test-citeproc) \
760 - $(cabal_flag unicode_collation unicode_collation)
761 -}
762
763 diff --git a/dev-haskell/pandoc-citeproc/pandoc-citeproc-0.8.1.3.ebuild b/dev-haskell/pandoc-citeproc/pandoc-citeproc-0.8.1.3.ebuild
764 deleted file mode 100644
765 index 5eff54b67a2..00000000000
766 --- a/dev-haskell/pandoc-citeproc/pandoc-citeproc-0.8.1.3.ebuild
767 +++ /dev/null
768 @@ -1,65 +0,0 @@
769 -# Copyright 1999-2020 Gentoo Authors
770 -# Distributed under the terms of the GNU General Public License v2
771 -
772 -EAPI=5
773 -
774 -# ebuild generated by hackport 0.4.6.9999
775 -#hackport: flags: -small_base
776 -
777 -CABAL_FEATURES="bin lib profile haddock hoogle hscolour test-suite"
778 -inherit haskell-cabal
779 -
780 -DESCRIPTION="Supports using pandoc with citeproc"
781 -HOMEPAGE="https://hackage.haskell.org/package/pandoc-citeproc"
782 -SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz"
783 -
784 -LICENSE="BSD"
785 -SLOT="0/${PV}"
786 -KEYWORDS="~amd64 ~x86"
787 -IUSE="+bibutils debug embed-data-files test-citeproc unicode_collation"
788 -
789 -RESTRICT=test # execs a process dropping environment (with LD_PRELOAD)
790 -
791 -RDEPEND=">=app-text/pandoc-1.13:=[profile?]
792 - >=dev-haskell/aeson-0.7:=[profile?] <dev-haskell/aeson-0.11:=[profile?]
793 - dev-haskell/aeson-pretty:=[profile?]
794 - dev-haskell/attoparsec:=[profile?]
795 - dev-haskell/data-default:=[profile?]
796 - dev-haskell/mtl:=[profile?]
797 - dev-haskell/old-locale:=[profile?]
798 - >=dev-haskell/pandoc-types-1.12.3:=[profile?]
799 - dev-haskell/parsec:=[profile?]
800 - >=dev-haskell/setenv-0.1:=[profile?] <dev-haskell/setenv-0.2:=[profile?]
801 - dev-haskell/split:=[profile?]
802 - dev-haskell/syb:=[profile?]
803 - dev-haskell/tagsoup:=[profile?]
804 - >=dev-haskell/temporary-1.1:=[profile?]
805 - dev-haskell/text:=[profile?]
806 - >=dev-haskell/unordered-containers-0.2:=[profile?] <dev-haskell/unordered-containers-0.3:=[profile?]
807 - >=dev-haskell/vector-0.10:=[profile?]
808 - >=dev-haskell/xml-conduit-1.2:=[profile?] <dev-haskell/xml-conduit-1.4:=[profile?]
809 - >=dev-haskell/yaml-0.8.8.7:=[profile?]
810 - >=dev-lang/ghc-7.4.1:=
811 - bibutils? ( >=dev-haskell/hs-bibutils-0.3:=[profile?] )
812 - debug? ( dev-haskell/pretty-show:=[profile?] )
813 - unicode_collation? ( dev-haskell/text-icu:=[profile?] )
814 - !unicode_collation? ( dev-haskell/rfc5051:=[profile?] )
815 -"
816 -DEPEND="${RDEPEND}
817 - >=dev-haskell/cabal-1.12
818 - embed-data-files? ( dev-haskell/hsb2hs )
819 -"
820 -
821 -src_prepare() {
822 - epatch "${FILESDIR}"/${PN}-0.9-no-binutils.patch
823 -}
824 -
825 -src_configure() {
826 - haskell-cabal_src_configure \
827 - $(cabal_flag bibutils bibutils) \
828 - $(cabal_flag debug debug) \
829 - $(cabal_flag embed-data-files embed_data_files) \
830 - --flag=-small_base \
831 - $(cabal_flag test-citeproc test_citeproc) \
832 - $(cabal_flag unicode_collation unicode_collation)
833 -}