diff options
author | Jack Todaro <solpeth@posteo.org> | 2020-08-20 16:42:32 +1000 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2020-08-20 08:03:11 +0100 |
commit | 956e7708f02e211e0cc03b58b16b82f4b853f6c2 (patch) | |
tree | 93817ca7426162d9ddeecf1a789ff1f470d0fb8a /dev-haskell/pandoc-citeproc | |
parent | dev-haskell/yaml: remove old (diff) | |
download | gentoo-956e7708f02e211e0cc03b58b16b82f4b853f6c2.tar.gz gentoo-956e7708f02e211e0cc03b58b16b82f4b853f6c2.tar.bz2 gentoo-956e7708f02e211e0cc03b58b16b82f4b853f6c2.zip |
dev-haskell/pandoc-citeproc: remove old
Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Jack Todaro <solpeth@posteo.org>
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'dev-haskell/pandoc-citeproc')
12 files changed, 16 insertions, 694 deletions
diff --git a/dev-haskell/pandoc-citeproc/Manifest b/dev-haskell/pandoc-citeproc/Manifest index 64d4910d697a..004ecd9ac933 100644 --- a/dev-haskell/pandoc-citeproc/Manifest +++ b/dev-haskell/pandoc-citeproc/Manifest @@ -1,9 +1 @@ -DIST pandoc-citeproc-0.1.2.1.tar.gz 217171 BLAKE2B 1d8080616fe8ed838a8b1d6f59b10fd5abf1c9eb0fe2b1d0fd183670e6db41dcb70258fdb5dbf70fbd053a2a8759eb3afade8573b87d35efcf67d77a0a4a5825 SHA512 a83e34700b2f6f835aec0f66b199a1a43cb5e3318133774b7897316d676870ba56538468904ca754f246bf10a0826f834d6dba791d18a906405ed7c01126b77e -DIST pandoc-citeproc-0.10.4.1.tar.gz 252717 BLAKE2B 048c38cec654a07ac2f5fea21269eb234eba17f362ce4aa84b26d8bd09c6a7c14bc2c0258f3d9c1984dcb06f8db99eb34d832894cb4b959171e62376e9517b98 SHA512 afe0b81c4e58dc80cd0d05977d919bb1f1c8e7a77aba5ed960a04f3a6ff8ec398a62dc5e8497d01db7f67e9ce808a94d1b53c4cecb8b6a28893ec8076555c7ec -DIST pandoc-citeproc-0.10.4.tar.gz 252481 BLAKE2B 782de52be122a7cb94d816d6ba2438db036036167985244f6b8ab63b95f12077511ce9eb0d84a20a7a59834eb88159dd1953ec205c7403c614d9ad0dee8bf9cd SHA512 f188cf2d6642c0dddf2437d23096d488f5e6eb44b9931b004feb72c8adc1a5240d85f8ed48ced9f073733ee546818e3530962e2f2b2ce6cfa52979ec1fdd7cee DIST pandoc-citeproc-0.17.0.1.tar.gz 344529 BLAKE2B f3aaa74eb52d8c023638dc0ff608d2651af8a294cc3f6beae727dc6b0537229e92929c01b24ba7f45c41acc6dd465e5afe1087aa9f2e902bb2b6cfb8aba7512d SHA512 b616007c8b105e3245bae87f60e2ad55809435c82cf91cf32498dad8f2303df48d4555e68c3fbd9f78dc49fd1042ff46061273031c3352df130fc735f443be96 -DIST pandoc-citeproc-0.2.tar.gz 249374 BLAKE2B 375ed1517d64d3bfd94fa7d7d66480e796a94e33c29eed7cb84019b6d77f77f6ae2c0b23a92596de890f6a70805ace0ba454e73d166c47819896e6b6ce977a0d SHA512 f7205afb15aeb71dc756e9f49a265f4c4c1380075b088b8c9e366fe363c2ea059b1d28bcbbe70bab449b987bbceba5d1cb7a693f5bf6bc0e3132cb995fd639c4 -DIST pandoc-citeproc-0.3.1.tar.gz 258552 BLAKE2B 6206dc5739e61f9763fc52e591d3b3272744f0a70186ac068a3f6b91b3b61a624c38bf17bb2c050a05cc8629c67906c4919dea5b2ea52eede0346ec2fe6196e3 SHA512 739580e46d3c7f447d7c0092e62c22339e8b3d656b9adc25b235b06cc8815c1d57a9221fb3b62854bc32ab02c64f4dad036d44a2357fbbd470b9c1bd0224621a -DIST pandoc-citeproc-0.6.tar.gz 227239 BLAKE2B 3942af5577d69b08f22fa00f1174f61c63b886ed2a6c62758903cbe2b0f34d21466dec272b747a4bd80d8b879a048dce5a887c69d588e99c1de0b96eb67b470c SHA512 eb626e0d776b798757d6b8644d0f5642f07141d614f1a3afe6e265ca77cf17030cee3ff267870d3f0a226c7111d68746a5a88c4a9689e2103f329f1b8fc4bd58 -DIST pandoc-citeproc-0.7.2.tar.gz 246215 BLAKE2B 503335489085918de584fcb3b623a3b5b40255efaa80ac8e58f4e4b85073f238fd92e547e4dbbdc90c71ee050be015e37955fdf1a06bdfa4a95d345bcadd1e0b SHA512 857fe05cc1b427a5de36d61c568b1054ecc5517ef9b9e73ade768d886340f6092784c0cbcdc9f87e04a1820edfebc702b34776f664c4d427f484011993f4bec2 -DIST pandoc-citeproc-0.8.1.3.tar.gz 310914 BLAKE2B 1944971f25cc0d43908a25ebfa7fde19a53f3af880ead82ba2c278580ff74c37087086921eb9087dca60419a4bf59b49d543ad78aa61f358e98ebda5a875b2ad SHA512 f03e036b05e108e1720715d0f5020ef443491478230a3ebb5024e4cbc2dfa05765b4118e5fbe124514439f14b3a07a898df74a0c3b3bbeb138abbad6af2f473b 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 deleted file mode 100644 index cee2d93bc213..000000000000 --- a/dev-haskell/pandoc-citeproc/files/pandoc-citeproc-0.6-ghc-7.10.patch +++ /dev/null @@ -1,115 +0,0 @@ ---- pandoc-citeproc-0.6-orig/src/Text/CSL/Pandoc.hs 2014-09-22 14:04:21.000000000 +1000 -+++ pandoc-citeproc-0.6/src/Text/CSL/Pandoc.hs 2015-01-10 11:57:26.900041860 +1100 -@@ -201,10 +201,10 @@ - && isEndPunct c -> True - (c:_) | isEndPunct c -> True - | otherwise -> False -- where isEndPunct c = c `elem` ".,;:!?" -+ where isEndPunct c = c `elem` (".,;:!?" :: String) - - startWithPunct :: [Inline] -> Bool --startWithPunct = and . map (`elem` ".,;:!?") . headInline -+startWithPunct = and . map (`elem` (".,;:!?" :: String)) . headInline - - deNote :: Pandoc -> Pandoc - deNote = topDown go -@@ -324,7 +324,7 @@ - sp <- option "" (pSpace >> return " ") - r <- many1 (notFollowedBy pSpace >> notFollowedBy pLocatorPunct >> anyToken) - let s = stringify r -- guard $ any isDigit s || all (`elem` "IVXLCM") s -+ guard $ any isDigit s || all (`elem` ("IVXLCM" :: String)) s - return $ punct ++ sp ++ s - - pDigit :: Parsec [Inline] st () ---- pandoc-citeproc-0.6-orig/src/Text/CSL/Proc.hs 2014-09-22 14:04:21.000000000 +1000 -+++ pandoc-citeproc-0.6/src/Text/CSL/Proc.hs 2015-01-10 11:56:18.797456065 +1100 -@@ -288,7 +288,7 @@ - case ys of - Formatted [] -> xs - Formatted (Note _ : _) -> xs <> ys -- Formatted (Str [c]:_) | c `elem` ", ;:" -> xs <> ys -+ Formatted (Str [c]:_) | c `elem` (", ;:" :: String) -> xs <> ys - _ -> xs <> Formatted [Space] <> ys - formatAuth = formatOutput . localMod - formatCits = (if isNote then toNote else id) . -@@ -328,7 +328,7 @@ - | otherwise = id - where - isPunct' [] = False -- isPunct' xs = all (`elem` ".,;:!? ") xs -+ isPunct' xs = all (`elem` (".,;:!? " :: String)) xs - check o = case cleanOutput o of - [] -> ONull - x -> case trim' x of ---- pandoc-citeproc-0.6-orig/src/Text/CSL/Eval/Names.hs 2014-09-22 14:04:21.000000000 +1000 -+++ pandoc-citeproc-0.6/src/Text/CSL/Eval/Names.hs 2015-01-10 11:55:41.839119783 +1100 -@@ -1,4 +1,4 @@ --{-# LANGUAGE PatternGuards #-} -+{-# LANGUAGE PatternGuards, FlexibleContexts #-} - ----------------------------------------------------------------------------- - -- | - -- Module : Text.CSL.Eval.Names ---- pandoc-citeproc-0.6-orig/src/Text/CSL/Eval.hs 2014-09-22 14:04:21.000000000 +1000 -+++ pandoc-citeproc-0.6/src/Text/CSL/Eval.hs 2015-01-10 11:55:23.090597159 +1100 -@@ -1,4 +1,4 @@ --{-# LANGUAGE PatternGuards #-} -+{-# LANGUAGE PatternGuards, FlexibleContexts #-} - ----------------------------------------------------------------------------- - -- | - -- Module : Text.CSL.Eval ---- pandoc-citeproc-0.6-orig/src/Text/CSL/Parser.hs 2014-09-22 14:04:21.000000000 +1000 -+++ pandoc-citeproc-0.6/src/Text/CSL/Parser.hs 2015-01-10 11:54:59.755477862 +1100 -@@ -144,7 +144,7 @@ - - parseCslTerm :: Cursor -> CslTerm - parseCslTerm cur = -- let body = unpack $ T.dropAround (`elem` " \t\r\n") $ -+ let body = unpack $ T.dropAround (`elem` (" \t\r\n" :: String)) $ - T.concat $ cur $/ content - in CT - { cslTerm = stringAttr "name" cur ---- pandoc-citeproc-0.6-orig/src/Text/CSL/Style.hs 2014-09-22 14:04:21.000000000 +1000 -+++ pandoc-citeproc-0.6/src/Text/CSL/Style.hs 2015-01-10 11:53:23.641828264 +1100 -@@ -130,7 +130,7 @@ - -- this is needed for versions of pandoc that don't turn - -- a span with font-variant:small-caps into a SmallCaps element: - where handleSmallCapsSpans (Span ("",[],[("style",sty)]) ils) -- | filter (`notElem` " \t;") sty == "font-variant:small-caps" = -+ | filter (`notElem` (" \t;" :: String)) sty == "font-variant:small-caps" = - SmallCaps ils - handleSmallCapsSpans x = x - -@@ -206,15 +206,15 @@ - appendWithPunct (Formatted left) (Formatted right) = - Formatted $ - case concat [lastleft, firstright] of -- [' ',d] | d `elem` ",.:;" -> initInline left ++ right -- [c,d] | c `elem` " ,.:;", d == c -> left ++ tailInline right -- [c,'.'] | c `elem` ",.!:;?" -> left ++ tailInline right -- [c,':'] | c `elem` ",!:;?" -> left ++ tailInline right -- Mich.: 2005 -- [c,'!'] | c `elem` ",.!:;?" -> left ++ tailInline right -- [c,'?'] | c `elem` ",.!:;?" -> left ++ tailInline right -- [c,';'] | c `elem` ",:;" -> left ++ tailInline right -- et al.; -- [':',c] | c `elem` ",.!:;?" -> left ++ tailInline right -- [';',c] | c `elem` ",.!:;?" -> left ++ tailInline right -+ [' ',d] | d `elem` (",.:;" :: String) -> initInline left ++ right -+ [c,d] | c `elem` (" ,.:;" :: String), d == c -> left ++ tailInline right -+ [c,'.'] | c `elem` (",.!:;?" :: String) -> left ++ tailInline right -+ [c,':'] | c `elem` (",!:;?" :: String) -> left ++ tailInline right -- Mich.: 2005 -+ [c,'!'] | c `elem` (",.!:;?" :: String) -> left ++ tailInline right -+ [c,'?'] | c `elem` (",.!:;?" :: String) -> left ++ tailInline right -+ [c,';'] | c `elem` (",:;" :: String) -> left ++ tailInline right -- et al.; -+ [':',c] | c `elem` (",.!:;?" :: String) -> left ++ tailInline right -+ [';',c] | c `elem` (",.!:;?" :: String) -> left ++ tailInline right - -- ".;" -> right -- e.g. et al.; - _ -> left ++ right - where lastleft = lastInline left ---- pandoc-citeproc-0.6-orig/src/Text/CSL/Util.hs 2014-09-22 14:04:21.000000000 +1000 -+++ pandoc-citeproc-0.6/src/Text/CSL/Util.hs 2015-01-10 11:51:31.789057499 +1100 -@@ -1,4 +1,4 @@ --{-# LANGUAGE ScopedTypeVariables, PatternGuards #-} -+{-# LANGUAGE ScopedTypeVariables, PatternGuards, FlexibleContexts #-} - module Text.CSL.Util - ( safeRead - , readNum 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 deleted file mode 100644 index c7c8655e14d8..000000000000 --- a/dev-haskell/pandoc-citeproc/files/pandoc-citeproc-0.9-no-binutils.patch +++ /dev/null @@ -1,26 +0,0 @@ -Fails to build with -f-bibutils: -https://bugs.gentoo.org/516640 -diff --git a/pandoc-citeproc.hs b/pandoc-citeproc.hs -index 7006e02..f72fa41 100644 ---- a/pandoc-citeproc.hs -+++ b/pandoc-citeproc.hs -@@ -1 +1,2 @@ -+{-# LANGUAGE CPP #-} - module Main where -@@ -75,2 +76,3 @@ readFormat = go . map toLower - go "bibtex" = Just Bibtex -+#ifdef USE_BIBUTILS - go "ris" = Just Ris -@@ -87,2 +89,3 @@ readFormat = go . map toLower - go "yaml" = Just Yaml -+#endif - go _ = Nothing -diff --git a/src/Text/CSL/Input/Bibutils.hs b/src/Text/CSL/Input/Bibutils.hs -index 081fa91..49ddbd0 100644 ---- a/src/Text/CSL/Input/Bibutils.hs -+++ b/src/Text/CSL/Input/Bibutils.hs -@@ -64,3 +64,3 @@ readBiblioFile f - #else -- _ -> error $ "citeproc: Bibliography format not supported.\n" ++ -+ _ -> error $ "citeproc: Bibliography format not supported.\n" - #endif diff --git a/dev-haskell/pandoc-citeproc/metadata.xml b/dev-haskell/pandoc-citeproc/metadata.xml index 98effe1c3ac6..e2fa1b509fd2 100644 --- a/dev-haskell/pandoc-citeproc/metadata.xml +++ b/dev-haskell/pandoc-citeproc/metadata.xml @@ -1,4 +1,4 @@ -<?xml version='1.0' encoding='UTF-8'?> +<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <maintainer type="project"> @@ -6,35 +6,25 @@ <name>Gentoo Haskell</name> </maintainer> <use> - <flag name="bibutils">use Chris Putnam's <pkg>app-text/bibutils</pkg></flag> + <flag name="bibutils">Use Chris Putnam's Bibutils.</flag> + <flag name="debug">Turn on debug tracing.</flag> <flag name="embed-data-files">Embed locale files into the library (needed for windows packaging)</flag> - <flag name="network">use <pkg>dev-haskell/network</pkg> and <pkg>dev-haskell/http</pkg> to retrieve CSL file from URIs</flag> - <flag name="hexpat">use <pkg>dev-haskell/hexpat</pkg> instead of <pkg>dev-haskell/xml</pkg> for XML parsing</flag> - <flag name="small-base">Choose the new smaller, split-up base package.</flag> - <flag name="test-citeproc">Build the test-citeproc program</flag> - <flag name="unicode-collation">Use Haskell bindings to the <pkg>dev-libs/icu</pkg></flag> - <flag name="unicode_collation">Use Haskell bindings to the <pkg>dev-libs/icu</pkg></flag> + <flag name="static">Use static linking.</flag> + <flag name="unicode-collation">Use Haskell bindings to the International Components for Unicode (ICU) libraries</flag> </use> <longdescription> - The pandoc-citeproc library exports functions for - using the citeproc system with pandoc. It relies on - citeproc-hs, a library for rendering - bibliographic reference citations into a variety - of styles using a macro language called Citation - Style Language (CSL). More details on CSL can be - found here: <http://citationstyles.org/>. + The pandoc-citeproc library supports automatic + generation of citations and a bibliography in pandoc + documents using the Citation Style Language (CSL) + macro language. More details on CSL can be found at + <http://citationstyles.org/>. - Currently this package includes a copy of the citeproc-hs - code. When citeproc-hs is updated to be compatible, - this package will simply depend on citeproc-hs. + In addition to a library, the package includes + an executable, pandoc-citeproc, which works as a pandoc + filter and also has a mode for converting bibliographic + databases into CSL JSON and pandoc YAML metadata formats. - This package also contains two executables: pandoc-citeproc, - which works as a pandoc filter (pandoc >= 1.12), and - biblio2yaml, which converts bibliographic databases to - a yaml format suitable for inclusion in pandoc YAML - metadata. + pandoc-citeproc originated as a fork of Andrea + Rossato's citeproc-hs. </longdescription> - <upstream> - <remote-id type="github">jgm/pandoc-citeproc</remote-id> - </upstream> </pkgmetadata> 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 deleted file mode 100644 index d56932e09dbb..000000000000 --- a/dev-haskell/pandoc-citeproc/pandoc-citeproc-0.1.2.1.ebuild +++ /dev/null @@ -1,64 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -# ebuild generated by hackport 0.3.4.9999 - -CABAL_FEATURES="bin lib profile haddock hoogle hscolour test-suite" -inherit haskell-cabal - -DESCRIPTION="Supports using pandoc with citeproc" -HOMEPAGE="https://hackage.haskell.org/package/pandoc-citeproc" -SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0/${PV}" -KEYWORDS="~amd64 ~x86" -IUSE="+bibutils embed-data-files +hexpat +network +small-base unicode_collation" -RESTRICT=test # missing files: locales-en-US.xml: openBinaryFile - -RDEPEND=">=app-text/pandoc-1.12.0.2:=[profile?] - dev-haskell/aeson:=[profile?] - dev-haskell/attoparsec:=[profile?] - dev-haskell/json:=[profile?] - dev-haskell/mtl:=[profile?] - >=dev-haskell/pandoc-types-1.12.3:=[profile?] - dev-haskell/parsec:=[profile?] - dev-haskell/split:=[profile?] - dev-haskell/syb:=[profile?] - dev-haskell/tagsoup:=[profile?] - >=dev-haskell/texmath-0.6.4:=[profile?] - dev-haskell/text:=[profile?] - dev-haskell/utf8-string:=[profile?] - dev-haskell/vector:=[profile?] - >=dev-haskell/yaml-0.8:=[profile?] - >=dev-lang/ghc-6.12.1:= - bibutils? ( >=dev-haskell/hs-bibutils-0.3:=[profile?] ) - hexpat? ( >=dev-haskell/hexpat-0.20.2:=[profile?] ) - !hexpat? ( dev-haskell/xml:=[profile?] ) - network? ( >=dev-haskell/http-4000.0.9:=[profile?] - >=dev-haskell/network-2:=[profile?] ) - unicode_collation? ( dev-haskell/text-icu:=[profile?] ) - !unicode_collation? ( dev-haskell/rfc5051:=[profile?] ) -" -DEPEND="${RDEPEND} - >=dev-haskell/cabal-1.12 - test? ( dev-haskell/aeson-pretty - >=dev-haskell/diff-0.3 ) -" - -src_configure() { - # workaround bug on ghc-7.6.3: - # > [13 of 24] Compiling Text.CSL.Input.Bibtex ... - # > stack overflow: use +RTS -K<size> to increase it - replace-hcflags -O[2-9] -O1 - - haskell-cabal_src_configure \ - $(cabal_flag bibutils bibutils) \ - $(cabal_flag embed-data-files embed_data_files) \ - $(cabal_flag hexpat hexpat) \ - $(cabal_flag network network) \ - $(cabal_flag small-base small_base) \ - $(cabal_flag unicode_collation unicode_collation) -} 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 deleted file mode 100644 index 6f5a77d320c6..000000000000 --- a/dev-haskell/pandoc-citeproc/pandoc-citeproc-0.10.4.1.ebuild +++ /dev/null @@ -1,63 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -# ebuild generated by hackport 0.5.1.9999 -#hackport: flags: -small_base - -CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" -inherit haskell-cabal - -DESCRIPTION="Supports using pandoc with citeproc" -HOMEPAGE="https://github.com/jgm/pandoc-citeproc" -SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0/${PV}" -KEYWORDS="~amd64 ~x86" -IUSE="+bibutils debug embed-data-files test-citeproc unicode_collation" - -RESTRICT=test # execs a process dropping environment (with LD_PRELOAD) - -RDEPEND=">=app-text/pandoc-1.16:=[profile?] <app-text/pandoc-2.1:=[profile?] - >=dev-haskell/aeson-0.7:=[profile?] <dev-haskell/aeson-1.2:=[profile?] - >=dev-haskell/aeson-pretty-0.8:=[profile?] - dev-haskell/attoparsec:=[profile?] - dev-haskell/data-default:=[profile?] - dev-haskell/mtl:=[profile?] - dev-haskell/old-locale:=[profile?] - >=dev-haskell/pandoc-types-1.16:=[profile?] <dev-haskell/pandoc-types-1.18:=[profile?] - dev-haskell/parsec:=[profile?] - >=dev-haskell/setenv-0.1:=[profile?] <dev-haskell/setenv-0.2:=[profile?] - dev-haskell/split:=[profile?] - dev-haskell/syb:=[profile?] - dev-haskell/tagsoup:=[profile?] - dev-haskell/text:=[profile?] - >=dev-haskell/unordered-containers-0.2:=[profile?] <dev-haskell/unordered-containers-0.3:=[profile?] - >=dev-haskell/xml-conduit-1.2:=[profile?] <dev-haskell/xml-conduit-1.6:=[profile?] - >=dev-haskell/yaml-0.8.8.7:=[profile?] - >=dev-lang/ghc-7.4.1:= - bibutils? ( >=dev-haskell/hs-bibutils-0.3:=[profile?] ) - debug? ( dev-haskell/pretty-show:=[profile?] ) - test-citeproc? ( >=dev-haskell/temporary-1.1:=[profile?] - >=dev-haskell/vector-0.10:=[profile?] ) - !test-citeproc? ( dev-haskell/vector:=[profile?] ) - unicode_collation? ( dev-haskell/text-icu:=[profile?] ) - !unicode_collation? ( dev-haskell/rfc5051:=[profile?] ) -" -DEPEND="${RDEPEND} - >=dev-haskell/cabal-1.12 - test? ( !test-citeproc? ( >=dev-haskell/temporary-1.1 ) ) - embed-data-files? ( dev-haskell/hsb2hs ) -" - -src_configure() { - haskell-cabal_src_configure \ - $(cabal_flag bibutils bibutils) \ - $(cabal_flag debug debug) \ - $(cabal_flag embed-data-files embed_data_files) \ - --flag=-small_base \ - $(cabal_flag test-citeproc test_citeproc) \ - $(cabal_flag unicode_collation unicode_collation) -} diff --git a/dev-haskell/pandoc-citeproc/pandoc-citeproc-0.10.4.ebuild b/dev-haskell/pandoc-citeproc/pandoc-citeproc-0.10.4.ebuild deleted file mode 100644 index 3eae2f1feb22..000000000000 --- a/dev-haskell/pandoc-citeproc/pandoc-citeproc-0.10.4.ebuild +++ /dev/null @@ -1,63 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -# ebuild generated by hackport 0.5.1.9999 -#hackport: flags: -small_base - -CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" -inherit haskell-cabal - -DESCRIPTION="Supports using pandoc with citeproc" -HOMEPAGE="https://github.com/jgm/pandoc-citeproc" -SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0/${PV}" -KEYWORDS="~amd64 ~x86" -IUSE="+bibutils debug embed-data-files test-citeproc unicode_collation" - -RESTRICT=test # execs a process dropping environment (with LD_PRELOAD) - -RDEPEND=">=app-text/pandoc-1.16:=[profile?] <app-text/pandoc-2.1:=[profile?] - >=dev-haskell/aeson-0.7:=[profile?] <dev-haskell/aeson-1.2:=[profile?] - >=dev-haskell/aeson-pretty-0.8:=[profile?] - dev-haskell/attoparsec:=[profile?] - dev-haskell/data-default:=[profile?] - dev-haskell/mtl:=[profile?] - dev-haskell/old-locale:=[profile?] - >=dev-haskell/pandoc-types-1.16:=[profile?] <dev-haskell/pandoc-types-1.18:=[profile?] - dev-haskell/parsec:=[profile?] - >=dev-haskell/setenv-0.1:=[profile?] <dev-haskell/setenv-0.2:=[profile?] - dev-haskell/split:=[profile?] - dev-haskell/syb:=[profile?] - dev-haskell/tagsoup:=[profile?] - dev-haskell/text:=[profile?] - >=dev-haskell/unordered-containers-0.2:=[profile?] <dev-haskell/unordered-containers-0.3:=[profile?] - >=dev-haskell/xml-conduit-1.2:=[profile?] <dev-haskell/xml-conduit-1.5:=[profile?] - >=dev-haskell/yaml-0.8.8.7:=[profile?] - >=dev-lang/ghc-7.4.1:= - bibutils? ( >=dev-haskell/hs-bibutils-0.3:=[profile?] ) - debug? ( dev-haskell/pretty-show:=[profile?] ) - test-citeproc? ( >=dev-haskell/temporary-1.1:=[profile?] - >=dev-haskell/vector-0.10:=[profile?] ) - !test-citeproc? ( dev-haskell/vector:=[profile?] ) - unicode_collation? ( dev-haskell/text-icu:=[profile?] ) - !unicode_collation? ( dev-haskell/rfc5051:=[profile?] ) -" -DEPEND="${RDEPEND} - >=dev-haskell/cabal-1.12 - test? ( !test-citeproc? ( >=dev-haskell/temporary-1.1 ) ) - embed-data-files? ( dev-haskell/hsb2hs ) -" - -src_configure() { - haskell-cabal_src_configure \ - $(cabal_flag bibutils bibutils) \ - $(cabal_flag debug debug) \ - $(cabal_flag embed-data-files embed_data_files) \ - --flag=-small_base \ - $(cabal_flag test-citeproc test_citeproc) \ - $(cabal_flag unicode_collation unicode_collation) -} diff --git a/dev-haskell/pandoc-citeproc/pandoc-citeproc-0.2.ebuild b/dev-haskell/pandoc-citeproc/pandoc-citeproc-0.2.ebuild deleted file mode 100644 index f3e0d8fb4735..000000000000 --- a/dev-haskell/pandoc-citeproc/pandoc-citeproc-0.2.ebuild +++ /dev/null @@ -1,62 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -# ebuild generated by hackport 0.3.5.9999 - -CABAL_FEATURES="bin lib profile haddock hoogle hscolour test-suite" -inherit haskell-cabal - -DESCRIPTION="Supports using pandoc with citeproc" -HOMEPAGE="https://hackage.haskell.org/package/pandoc-citeproc" -SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0/${PV}" -KEYWORDS="~amd64 ~x86" -IUSE="+bibutils embed-data-files +hexpat +network +small-base unicode_collation" -RESTRICT=test # missing files: locales-en-US.xml: openBinaryFile - -RDEPEND=">=app-text/pandoc-1.12.1:=[profile?] - dev-haskell/aeson:=[profile?] - dev-haskell/aeson-pretty:=[profile?] - dev-haskell/attoparsec:=[profile?] - dev-haskell/mtl:=[profile?] - >=dev-haskell/pandoc-types-1.12.3:=[profile?] - dev-haskell/parsec:=[profile?] - dev-haskell/split:=[profile?] - dev-haskell/syb:=[profile?] - dev-haskell/tagsoup:=[profile?] - >=dev-haskell/temporary-1.1:=[profile?] - >=dev-haskell/texmath-0.6.4:=[profile?] - dev-haskell/text:=[profile?] - >=dev-haskell/vector-0.10:=[profile?] <dev-haskell/vector-0.11:=[profile?] - >=dev-haskell/yaml-0.8:=[profile?] - >=dev-lang/ghc-7.0.1:= - bibutils? ( >=dev-haskell/hs-bibutils-0.3:=[profile?] ) - hexpat? ( >=dev-haskell/hexpat-0.20.2:=[profile?] ) - !hexpat? ( dev-haskell/xml:=[profile?] ) - network? ( >=dev-haskell/http-4000.0.9:=[profile?] - >=dev-haskell/network-2:=[profile?] ) - unicode_collation? ( dev-haskell/text-icu:=[profile?] ) - !unicode_collation? ( dev-haskell/rfc5051:=[profile?] ) -" -DEPEND="${RDEPEND} - >=dev-haskell/cabal-1.12 -" - -src_configure() { - # workaround bug on ghc-7.6.3: - # > [13 of 24] Compiling Text.CSL.Input.Bibtex ... - # > stack overflow: use +RTS -K<size> to increase it - replace-hcflags -O[2-9] -O1 - - haskell-cabal_src_configure \ - $(cabal_flag bibutils bibutils) \ - $(cabal_flag embed-data-files embed_data_files) \ - $(cabal_flag hexpat hexpat) \ - $(cabal_flag network network) \ - $(cabal_flag small-base small_base) \ - $(cabal_flag unicode_collation unicode_collation) -} diff --git a/dev-haskell/pandoc-citeproc/pandoc-citeproc-0.3.1.ebuild b/dev-haskell/pandoc-citeproc/pandoc-citeproc-0.3.1.ebuild deleted file mode 100644 index c935617185d1..000000000000 --- a/dev-haskell/pandoc-citeproc/pandoc-citeproc-0.3.1.ebuild +++ /dev/null @@ -1,76 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -# ebuild generated by hackport 0.4.9999 -#hackport: flags: -small_base - -CABAL_FEATURES="bin lib profile haddock hoogle hscolour test-suite" -inherit haskell-cabal - -DESCRIPTION="Supports using pandoc with citeproc" -HOMEPAGE="https://hackage.haskell.org/package/pandoc-citeproc" -SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0/${PV}" -KEYWORDS="~amd64 ~x86" -IUSE="+bibutils embed-data-files +hexpat +network test-citeproc unicode_collation" -RESTRICT="!test? ( test )" - -RDEPEND=">=app-text/pandoc-1.12.1:=[profile?] - dev-haskell/aeson:=[profile?] - dev-haskell/aeson-pretty:=[profile?] - dev-haskell/attoparsec:=[profile?] - dev-haskell/mtl:=[profile?] - >=dev-haskell/pandoc-types-1.12.3:=[profile?] - dev-haskell/parsec:=[profile?] - dev-haskell/split:=[profile?] - dev-haskell/syb:=[profile?] - dev-haskell/tagsoup:=[profile?] - >=dev-haskell/temporary-1.1:=[profile?] - >=dev-haskell/texmath-0.6.4:=[profile?] - dev-haskell/text:=[profile?] - >=dev-haskell/vector-0.10:=[profile?] <dev-haskell/vector-0.11:=[profile?] - >=dev-haskell/yaml-0.8.8.2:=[profile?] - >=dev-lang/ghc-7.4.1:= - bibutils? ( >=dev-haskell/hs-bibutils-0.3:=[profile?] ) - hexpat? ( >=dev-haskell/hexpat-0.20.2:=[profile?] ) - !hexpat? ( dev-haskell/xml:=[profile?] ) - network? ( >=dev-haskell/http-4000.0.9:=[profile?] - >=dev-haskell/network-2:=[profile?] - dev-haskell/network-uri:=[profile?] ) - unicode_collation? ( dev-haskell/text-icu:=[profile?] ) - !unicode_collation? ( dev-haskell/rfc5051:=[profile?] ) -" -DEPEND="${RDEPEND} - >=dev-haskell/cabal-1.12 - test? ( >=app-text/pandoc-1.12.1 - dev-haskell/aeson - >=dev-haskell/pandoc-types-1.12.3 - dev-haskell/text - >=dev-haskell/yaml-0.8.8.2 ) -" - -src_prepare() { - cabal_chdeps \ - 'network >= 2,' 'network >= 2, network-uri,' -} - -src_configure() { - # workaround bug on ghc-7.6.3: - # > [13 of 24] Compiling Text.CSL.Input.Bibtex ... - # > stack overflow: use +RTS -K<size> to increase it - [[ $(ghc-version) == 7.6.* ]] && replace-hcflags -O[2-9] -O1 - [[ $(ghc-version) == 7.8.* ]] && replace-hcflags -O[2-9] -O1 - - haskell-cabal_src_configure \ - $(cabal_flag bibutils bibutils) \ - $(cabal_flag embed-data-files embed_data_files) \ - $(cabal_flag hexpat hexpat) \ - $(cabal_flag network network) \ - --flag=-small_base \ - $(cabal_flag test-citeproc test_citeproc) \ - $(cabal_flag unicode_collation unicode_collation) -} diff --git a/dev-haskell/pandoc-citeproc/pandoc-citeproc-0.6.ebuild b/dev-haskell/pandoc-citeproc/pandoc-citeproc-0.6.ebuild deleted file mode 100644 index 118eea96a21a..000000000000 --- a/dev-haskell/pandoc-citeproc/pandoc-citeproc-0.6.ebuild +++ /dev/null @@ -1,63 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -# ebuild generated by hackport 0.4.4.9999 -#hackport: flags: -small_base - -CABAL_FEATURES="bin lib profile haddock hoogle hscolour test-suite" -inherit base haskell-cabal - -DESCRIPTION="Supports using pandoc with citeproc" -HOMEPAGE="https://hackage.haskell.org/package/pandoc-citeproc" -SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0/${PV}" -KEYWORDS="~amd64 ~x86" -IUSE="+bibutils embed-data-files test-citeproc unicode_collation" - -RESTRICT=test # missing files - -RDEPEND=">=app-text/pandoc-1.12.1:=[profile?] - >=dev-haskell/aeson-0.7:=[profile?] <dev-haskell/aeson-0.9:=[profile?] - dev-haskell/aeson-pretty:=[profile?] - dev-haskell/attoparsec:=[profile?] - dev-haskell/data-default:=[profile?] - dev-haskell/mtl:=[profile?] - >=dev-haskell/pandoc-types-1.12.3:=[profile?] - dev-haskell/parsec:=[profile?] - dev-haskell/split:=[profile?] - dev-haskell/syb:=[profile?] - dev-haskell/tagsoup:=[profile?] - >=dev-haskell/temporary-1.1:=[profile?] - dev-haskell/text:=[profile?] - >=dev-haskell/vector-0.10:=[profile?] <dev-haskell/vector-0.11:=[profile?] - >=dev-haskell/xml-conduit-1.2:=[profile?] <dev-haskell/xml-conduit-1.3:=[profile?] - >=dev-haskell/yaml-0.8.8.2:=[profile?] - >=dev-lang/ghc-7.4.1:= - bibutils? ( >=dev-haskell/hs-bibutils-0.3:=[profile?] ) - unicode_collation? ( dev-haskell/text-icu:=[profile?] ) - !unicode_collation? ( dev-haskell/rfc5051:=[profile?] ) -" -DEPEND="${RDEPEND} - >=dev-haskell/cabal-1.12 -" - -PATCHES=("${FILESDIR}/${PN}-0.6-ghc-7.10.patch") - -src_configure() { - # workaround bug on ghc-7.6.3: - # > [13 of 24] Compiling Text.CSL.Input.Bibtex ... - # > stack overflow: use +RTS -K<size> to increase it - [[ $(ghc-version) == 7.6.* ]] && replace-hcflags -O[2-9] -O1 - [[ $(ghc-version) == 7.8.* ]] && replace-hcflags -O[2-9] -O1 - - haskell-cabal_src_configure \ - $(cabal_flag bibutils bibutils) \ - $(cabal_flag embed-data-files embed_data_files) \ - --flag=-small_base \ - $(cabal_flag test-citeproc test_citeproc) \ - $(cabal_flag unicode_collation unicode_collation) -} diff --git a/dev-haskell/pandoc-citeproc/pandoc-citeproc-0.7.2.ebuild b/dev-haskell/pandoc-citeproc/pandoc-citeproc-0.7.2.ebuild deleted file mode 100644 index 7e737565c182..000000000000 --- a/dev-haskell/pandoc-citeproc/pandoc-citeproc-0.7.2.ebuild +++ /dev/null @@ -1,63 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -# ebuild generated by hackport 0.4.5.9999 -#hackport: flags: -small_base - -CABAL_FEATURES="bin lib profile haddock hoogle hscolour test-suite" -inherit haskell-cabal - -DESCRIPTION="Supports using pandoc with citeproc" -HOMEPAGE="https://hackage.haskell.org/package/pandoc-citeproc" -SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0/${PV}" -KEYWORDS="~amd64 ~x86" -IUSE="+bibutils debug embed-data-files test-citeproc unicode_collation" - -RESTRICT=test # fd:8: hClose: resource vanished (Broken pipe) - -RDEPEND=">=app-text/pandoc-1.13:=[profile?] - >=dev-haskell/aeson-0.7:=[profile?] <dev-haskell/aeson-0.10:=[profile?] - dev-haskell/aeson-pretty:=[profile?] - dev-haskell/attoparsec:=[profile?] - dev-haskell/data-default:=[profile?] - dev-haskell/mtl:=[profile?] - dev-haskell/old-locale:=[profile?] - >=dev-haskell/pandoc-types-1.12.3:=[profile?] - dev-haskell/parsec:=[profile?] - >=dev-haskell/setenv-0.1:=[profile?] <dev-haskell/setenv-0.2:=[profile?] - dev-haskell/split:=[profile?] - dev-haskell/syb:=[profile?] - dev-haskell/tagsoup:=[profile?] - >=dev-haskell/temporary-1.1:=[profile?] - dev-haskell/text:=[profile?] - >=dev-haskell/vector-0.10:=[profile?] <dev-haskell/vector-0.11:=[profile?] - >=dev-haskell/xml-conduit-1.2:=[profile?] <dev-haskell/xml-conduit-1.4:=[profile?] - >=dev-haskell/yaml-0.8.8.7:=[profile?] - >=dev-lang/ghc-7.4.1:= - bibutils? ( >=dev-haskell/hs-bibutils-0.3:=[profile?] ) - debug? ( dev-haskell/pretty-show:=[profile?] ) - unicode_collation? ( dev-haskell/text-icu:=[profile?] ) - !unicode_collation? ( dev-haskell/rfc5051:=[profile?] ) -" -DEPEND="${RDEPEND} - >=dev-haskell/cabal-1.12 -" - -src_prepare() { - epatch "${FILESDIR}"/${PN}-0.9-no-binutils.patch -} - -src_configure() { - haskell-cabal_src_configure \ - $(cabal_flag bibutils bibutils) \ - $(cabal_flag debug debug) \ - $(cabal_flag embed-data-files embed_data_files) \ - --flag=-small_base \ - $(cabal_flag test-citeproc test-citeproc) \ - $(cabal_flag unicode_collation unicode_collation) -} 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 deleted file mode 100644 index 5eff54b67a26..000000000000 --- a/dev-haskell/pandoc-citeproc/pandoc-citeproc-0.8.1.3.ebuild +++ /dev/null @@ -1,65 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -# ebuild generated by hackport 0.4.6.9999 -#hackport: flags: -small_base - -CABAL_FEATURES="bin lib profile haddock hoogle hscolour test-suite" -inherit haskell-cabal - -DESCRIPTION="Supports using pandoc with citeproc" -HOMEPAGE="https://hackage.haskell.org/package/pandoc-citeproc" -SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0/${PV}" -KEYWORDS="~amd64 ~x86" -IUSE="+bibutils debug embed-data-files test-citeproc unicode_collation" - -RESTRICT=test # execs a process dropping environment (with LD_PRELOAD) - -RDEPEND=">=app-text/pandoc-1.13:=[profile?] - >=dev-haskell/aeson-0.7:=[profile?] <dev-haskell/aeson-0.11:=[profile?] - dev-haskell/aeson-pretty:=[profile?] - dev-haskell/attoparsec:=[profile?] - dev-haskell/data-default:=[profile?] - dev-haskell/mtl:=[profile?] - dev-haskell/old-locale:=[profile?] - >=dev-haskell/pandoc-types-1.12.3:=[profile?] - dev-haskell/parsec:=[profile?] - >=dev-haskell/setenv-0.1:=[profile?] <dev-haskell/setenv-0.2:=[profile?] - dev-haskell/split:=[profile?] - dev-haskell/syb:=[profile?] - dev-haskell/tagsoup:=[profile?] - >=dev-haskell/temporary-1.1:=[profile?] - dev-haskell/text:=[profile?] - >=dev-haskell/unordered-containers-0.2:=[profile?] <dev-haskell/unordered-containers-0.3:=[profile?] - >=dev-haskell/vector-0.10:=[profile?] - >=dev-haskell/xml-conduit-1.2:=[profile?] <dev-haskell/xml-conduit-1.4:=[profile?] - >=dev-haskell/yaml-0.8.8.7:=[profile?] - >=dev-lang/ghc-7.4.1:= - bibutils? ( >=dev-haskell/hs-bibutils-0.3:=[profile?] ) - debug? ( dev-haskell/pretty-show:=[profile?] ) - unicode_collation? ( dev-haskell/text-icu:=[profile?] ) - !unicode_collation? ( dev-haskell/rfc5051:=[profile?] ) -" -DEPEND="${RDEPEND} - >=dev-haskell/cabal-1.12 - embed-data-files? ( dev-haskell/hsb2hs ) -" - -src_prepare() { - epatch "${FILESDIR}"/${PN}-0.9-no-binutils.patch -} - -src_configure() { - haskell-cabal_src_configure \ - $(cabal_flag bibutils bibutils) \ - $(cabal_flag debug debug) \ - $(cabal_flag embed-data-files embed_data_files) \ - --flag=-small_base \ - $(cabal_flag test-citeproc test_citeproc) \ - $(cabal_flag unicode_collation unicode_collation) -} |