From 56bd759df1d0c750a065b8c845e93d5dfa6b549d Mon Sep 17 00:00:00 2001 From: "Robin H. Johnson" Date: Sat, 8 Aug 2015 13:49:04 -0700 Subject: proj/gentoo: Initial commit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson X-Thanks: Alec Warner - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring - wrote much python to improve cvs2svn X-Thanks: Rich Freeman - validation scripts X-Thanks: Patrick Lauer - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed --- app-text/pandoc/Manifest | 11 + ...ndoc-1.11.1-highlighting-kate-0.5.5-tests.patch | 42 ++++ .../pandoc/files/pandoc-1.11.1-no-man-tests.patch | 24 ++ .../pandoc/files/pandoc-1.11.1-tagsoup-0.13.patch | 62 +++++ app-text/pandoc/files/pandoc-1.11.1-test.patch | 42 ++++ app-text/pandoc/files/pandoc-1.13.2-ghc-7.10.patch | 251 +++++++++++++++++++++ .../pandoc/files/pandoc-1.15.0.6-no-https.patch | 12 + app-text/pandoc/metadata.xml | 26 +++ app-text/pandoc/pandoc-1.12.1-r1.ebuild | 74 ++++++ app-text/pandoc/pandoc-1.12.1.ebuild | 69 ++++++ app-text/pandoc/pandoc-1.12.2.1.ebuild | 75 ++++++ app-text/pandoc/pandoc-1.12.3.1.ebuild | 70 ++++++ app-text/pandoc/pandoc-1.12.3.3.ebuild | 75 ++++++ app-text/pandoc/pandoc-1.12.4.2-r1.ebuild | 83 +++++++ app-text/pandoc/pandoc-1.12.4.ebuild | 77 +++++++ app-text/pandoc/pandoc-1.13.1-r3.ebuild | 89 ++++++++ app-text/pandoc/pandoc-1.13.2-r1.ebuild | 91 ++++++++ app-text/pandoc/pandoc-1.13.2.1.ebuild | 101 +++++++++ app-text/pandoc/pandoc-1.13.2.ebuild | 82 +++++++ app-text/pandoc/pandoc-1.14.0.4.ebuild | 98 ++++++++ app-text/pandoc/pandoc-1.15.0.6.ebuild | 97 ++++++++ 21 files changed, 1551 insertions(+) create mode 100644 app-text/pandoc/Manifest create mode 100644 app-text/pandoc/files/pandoc-1.11.1-highlighting-kate-0.5.5-tests.patch create mode 100644 app-text/pandoc/files/pandoc-1.11.1-no-man-tests.patch create mode 100644 app-text/pandoc/files/pandoc-1.11.1-tagsoup-0.13.patch create mode 100644 app-text/pandoc/files/pandoc-1.11.1-test.patch create mode 100644 app-text/pandoc/files/pandoc-1.13.2-ghc-7.10.patch create mode 100644 app-text/pandoc/files/pandoc-1.15.0.6-no-https.patch create mode 100644 app-text/pandoc/metadata.xml create mode 100644 app-text/pandoc/pandoc-1.12.1-r1.ebuild create mode 100644 app-text/pandoc/pandoc-1.12.1.ebuild create mode 100644 app-text/pandoc/pandoc-1.12.2.1.ebuild create mode 100644 app-text/pandoc/pandoc-1.12.3.1.ebuild create mode 100644 app-text/pandoc/pandoc-1.12.3.3.ebuild create mode 100644 app-text/pandoc/pandoc-1.12.4.2-r1.ebuild create mode 100644 app-text/pandoc/pandoc-1.12.4.ebuild create mode 100644 app-text/pandoc/pandoc-1.13.1-r3.ebuild create mode 100644 app-text/pandoc/pandoc-1.13.2-r1.ebuild create mode 100644 app-text/pandoc/pandoc-1.13.2.1.ebuild create mode 100644 app-text/pandoc/pandoc-1.13.2.ebuild create mode 100644 app-text/pandoc/pandoc-1.14.0.4.ebuild create mode 100644 app-text/pandoc/pandoc-1.15.0.6.ebuild (limited to 'app-text/pandoc') diff --git a/app-text/pandoc/Manifest b/app-text/pandoc/Manifest new file mode 100644 index 00000000000..62c704bc06a --- /dev/null +++ b/app-text/pandoc/Manifest @@ -0,0 +1,11 @@ +DIST pandoc-1.12.1.tar.gz 991330 SHA256 ce9ac36ba558654dc30793887581ffa6b5c086557418fbec61556cdc1ccb5e33 SHA512 79507c7e447b35ce8b93371968da833153e74bc8a298db623d864f977abf2fa40aebf6bce8bbb5a8f825b8f734afe0a6013018041e29cb530abb12a2b8f02979 WHIRLPOOL b6245a6790fdc6952fd47545c0944806b9ab98ca89b37e6278cc654feb4a0747d0c5ee4eab1f516e55b489d249845e214ec08804c80ad43a96dc0b2d5478e7e0 +DIST pandoc-1.12.2.1.tar.gz 1004090 SHA256 8e9a37bb802efd44e6e6063060105ad4ef8328a093fccbd971c533f0b583dbf7 SHA512 2dc17f6ae9a4cbdeb62aaf1b21b4922f480de425120442bfea1c832a0cf53c25120ded1c91df1e985946c6a5664671075f24edeece163e9d691fea784bab62f8 WHIRLPOOL 8fd4901e6f59b6ea224fe72f427fa80ca61d686b12a9bab19b8add18bdd52952d1f18befc32425299502c0106412b75ddb6afa41c52ff8032a003a87b7d94855 +DIST pandoc-1.12.3.1.tar.gz 1081035 SHA256 ec06bb322950c900f1a69426756fcffa0f5b9fa0a2ffe41337615b261a087c4f SHA512 6fe52fdafe6c3951297d819a137c1c6ea1d86d3173637fb1bf99cade89dc03fe29fd321024c6137747fd81028a0475156c4d8724ad4366cc0a27821bbf75f7e5 WHIRLPOOL 2618c83fa07979fe6f571af690fb0a12177eeca1f65307980c6e809cfee40be889389bf74eb8846899a4ac88757474eb7c18775be769a3bd5d622e4a4240c790 +DIST pandoc-1.12.3.3.tar.gz 1071822 SHA256 ba08dbddac8b3c4e4786ac9213068a77aa5ee41126884fe13d73fc3c12dcfc6c SHA512 3730375823d776185d6e121f509783dd968439fe321a2294f1ae9703d480e7c5e6400c12eb3b5a8874c71fec5352ea77ebd55aa62e524071ca25a7c4e90b4d6a WHIRLPOOL cf209189f564d7b4ae2477e068df84eaa6e193939d2e1eef5282069d94fd5548d30b8f5df24f45d874f49a0ef856334b95a6b093576468e43c622864ad6c11c2 +DIST pandoc-1.12.4.2.tar.gz 1048263 SHA256 2f47f5f36498d26aa9cda7b93bcee76afedeeca7463478b5eda076209ba27f45 SHA512 fd9f056350bb8b4981eaa0960f841a3e8b40956cc3ee1593a3e2eaef4256d494c5d1c6fd537419e95498ccc9115408e5cb56ce1d6783a33824dc67af059a3743 WHIRLPOOL 795a27f9106d9848abb1cf120cdfe92fdaf839e5097e5bb17533859f4b56f958d92b5027483cb08dd7a4d448e106487fd9d37f2a9d67ed4479647acca2ed77a1 +DIST pandoc-1.12.4.tar.gz 1046258 SHA256 3efb11b90a7af9c22b1e4b33252a6163c38d52142ee1a3cae5e7170586b9fb36 SHA512 5eb566723276a6196114f0416946488ca26d4077d57540cf1b6578d78f826ff97e7fa14bc21a640eccd014155efc5644d287247146e6cebdb8a6df1444cd70f7 WHIRLPOOL 994c3fc53478acd3c742e55a397bf44e3f0caad629e891a30277a2c81296f19eba3976b8af0fbab87c7e99670877baac623b152e027b9fd14ade9ea513b196c9 +DIST pandoc-1.13.1.tar.gz 1823730 SHA256 7b1bb9b7d66edfbac33796a3f5d3218c2add786b95ea9dfbd497dc0e8ed27e6f SHA512 da699d56916da118159b10306c323f435db2fe0e13a988c319e2ee9faf0082c359b3c7efda03110c20007ae1d23693d0270af095bda90b60dc362f47bf377b8e WHIRLPOOL bcf3ec37e69a76f1bc5a93a34f0822a17516347ec983e3906edbe298cebf3bcfa8e3a1f6136878ca8c69645a7dbcd9122093a3add1911ba54ba03ff8d98497dd +DIST pandoc-1.13.2.1.tar.gz 1999641 SHA256 66da6eb690b8de41eccf05620e165630854d74c08cf69dbfb68d0ea84589785f SHA512 3505e456705da7a370ebd9628959475a9dabaede5cf50b24a780783a814ac9e1efc84dfce37215dbc472af3cacbf05d13e8f447b6602700b2648fd13d170808d WHIRLPOOL 2413041022e237454439f60e32cd7a2bb38452abe7ff78ce72594e54fa05122db6802713c7fa2145b0e23b0a085fa883c5cc5e7ad899d24ae3d5a47a4e1f6622 +DIST pandoc-1.13.2.tar.gz 1980729 SHA256 e65c445f4454e9efcf1bc8c28754260d7108803bd8979bc2ff3c34705e386d8a SHA512 abaf6e7e2b9fe27048044097e15f0ee2891bfab53c148079aa4b8542d76977ee3ea7492c92924c007a1d16a026f5117d7087d3b3cdebae66789dbd2238025b24 WHIRLPOOL f87e05f601058d5f80c7bdd1f8231b5ed9257f66827bd24d3e1d58095911fba011d753b11462d625d56448ca2fe4e0206605b0b6693c831ae12d865e1cc19c02 +DIST pandoc-1.14.0.4.tar.gz 2052114 SHA256 01955bfb1f397ec22bbce10e2df7b4f2214b7289bf79bf51eb7ae0e3b427fadf SHA512 57d5e43179ae499ec95ec09fbdbf22ad1d7406fcb7151e9c608d9c0ac69e3b5f7eea6b50fd5d2526d52e9227e7fb05c5bda9da13a21537c582f1c2d4b9779443 WHIRLPOOL bc95f9b480b2336c7e0470187609a12d5e1f3ef5074af0bebb72c622d7c056efa74fa682190c08d9721f16b919d9264b859b2cbede2ac192870c419a60b5ef8c +DIST pandoc-1.15.0.6.tar.gz 2049870 SHA256 d950968142526d5a765af7dfb26b47c3f60d4f883aa9d9eab668614179f1ed46 SHA512 4c9bfea7440d6bdb72fb10a9a99b69c018db0ef0f1028d86b032e6c4df215c86566b93fd55c5cba7772d713d4ce3f764891de079dfa24de8ca21f818b7729211 WHIRLPOOL 54b4cfc5fe71604997bc484368623cc9468eeb688e14c97fdd5e510f644c254e47008cb73116b7a5f8b1216923375addceea7fc19c3ef1fe7411c3e739d2d72d diff --git a/app-text/pandoc/files/pandoc-1.11.1-highlighting-kate-0.5.5-tests.patch b/app-text/pandoc/files/pandoc-1.11.1-highlighting-kate-0.5.5-tests.patch new file mode 100644 index 00000000000..0ba930f4cfe --- /dev/null +++ b/app-text/pandoc/files/pandoc-1.11.1-highlighting-kate-0.5.5-tests.patch @@ -0,0 +1,42 @@ +--- pandoc-1.11.1-orig/tests/lhs-test.html+lhs 2013-03-18 09:26:59.000000000 +1100 ++++ pandoc-1.11.1/tests/lhs-test.html+lhs 2013-09-14 10:27:51.318546683 +1000 +@@ -30,7 +30,7 @@ +

lhs test

+

unsplit is an arrow that takes a pair of values and combines them to return a single value:

+
> unsplit :: (Arrow a) => (b -> c -> d) -> a (b, c) d
+-> unsplit = arr . uncurry
++> unsplit = arr . uncurry
+ >           -- arr (\op (x,y) -> x `op` y)
+

(***) combines two arrows into a new arrow by running the two arrows on a pair of values (one arrow on the first item of the pair and one arrow on the second item of the pair).

+
f *** g = first f >>> second g
+--- pandoc-1.11.1-orig/tests/lhs-test.html 2013-03-18 09:26:59.000000000 +1100 ++++ pandoc-1.11.1/tests/lhs-test.html 2013-09-14 10:27:28.671546899 +1000 +@@ -30,7 +30,7 @@ +

lhs test

+

unsplit is an arrow that takes a pair of values and combines them to return a single value:

+
unsplit :: (Arrow a) => (b -> c -> d) -> a (b, c) d
+-unsplit = arr . uncurry
++unsplit = arr . uncurry
+           -- arr (\op (x,y) -> x `op` y)
+

(***) combines two arrows into a new arrow by running the two arrows on a pair of values (one arrow on the first item of the pair and one arrow on the second item of the pair).

+
f *** g = first f >>> second g
+--- pandoc-1.11.1-orig/tests/lhs-test.latex 2013-09-14 10:46:07.412536229 +1000 ++++ pandoc-1.11.1/tests/lhs-test.latex 2013-09-14 10:45:51.638536380 +1000 +@@ -21,7 +21,7 @@ + \usepackage{color} + \usepackage{fancyvrb} + \newcommand{\VerbBar}{|} +-\DefineShortVerb[commandchars=\\\{\}]{\|} ++\newcommand{\VERB}{\Verb[commandchars=\\\{\}]} + \DefineVerbatimEnvironment{Highlighting}{Verbatim}{commandchars=\\\{\}} + % Add ',fontsize=\small' for more characters per line + \newenvironment{Shaded}{}{} +@@ -73,7 +73,7 @@ + \begin{Shaded} + \begin{Highlighting}[] + \OtherTok{unsplit ::} \NormalTok{(}\DataTypeTok{Arrow} \NormalTok{a) }\OtherTok{=>} \NormalTok{(b }\OtherTok{->} \NormalTok{c }\OtherTok{->} \NormalTok{d) }\OtherTok{->} \NormalTok{a (b, c) d} +-\NormalTok{unsplit }\FunctionTok{=} \NormalTok{arr }\FunctionTok{.} \FunctionTok{uncurry} ++\NormalTok{unsplit }\FunctionTok{=} \NormalTok{arr }\FunctionTok{.} \NormalTok{uncurry} + \CommentTok{-- arr (\textbackslash{}op (x,y) -> x `op` y)} + \end{Highlighting} + \end{Shaded} diff --git a/app-text/pandoc/files/pandoc-1.11.1-no-man-tests.patch b/app-text/pandoc/files/pandoc-1.11.1-no-man-tests.patch new file mode 100644 index 00000000000..93528d31204 --- /dev/null +++ b/app-text/pandoc/files/pandoc-1.11.1-no-man-tests.patch @@ -0,0 +1,24 @@ +Fails on ghc-7.6 only as: + + tables.man + ../dist/build/pandoc/pandoc --data-dir .. tables.native -r native -w man --columns=78 +- 141 cw(10.50n) lw(9.63n) rw(11.38n) lw(23.63n). ++ 141 cw(10.50n) lw(9.62n) rw(11.38n) lw(23.62n). +- 177 cw(10.50n) lw(9.63n) rw(11.38n) lw(23.63n). ++ 177 cw(10.50n) lw(9.62n) rw(11.38n) lw(23.62n). +- 247 cw(10.50n) lw(9.63n) rw(11.38n) lw(23.63n). ++ 247 cw(10.50n) lw(9.62n) rw(11.38n) lw(23.62n). + +diff --git a/tests/Tests/Old.hs b/tests/Tests/Old.hs +index 9e74935..d4cf2a9 100644 +--- a/tests/Tests/Old.hs ++++ b/tests/Tests/Old.hs +@@ -126,7 +126,7 @@ tests = [ testGroup "markdown" + ] + , testGroup "other writers" $ map (\f -> testGroup f $ writerTests f) + [ "opendocument" , "context" , "texinfo" +- , "man" , "plain" , "rtf", "org", "asciidoc" ++ {- , "man" -} , "plain" , "rtf", "org", "asciidoc" + ] + ] + diff --git a/app-text/pandoc/files/pandoc-1.11.1-tagsoup-0.13.patch b/app-text/pandoc/files/pandoc-1.11.1-tagsoup-0.13.patch new file mode 100644 index 00000000000..ed3c3e89a0b --- /dev/null +++ b/app-text/pandoc/files/pandoc-1.11.1-tagsoup-0.13.patch @@ -0,0 +1,62 @@ +--- pandoc-1.11.1-orig/pandoc.cabal 2013-03-18 09:26:59.000000000 +1100 ++++ pandoc-1.11.1/pandoc.cabal 2013-08-10 12:52:49.969834000 +1000 +@@ -232,7 +232,7 @@ + citeproc-hs >= 0.3.7 && < 0.4, + pandoc-types >= 1.10 && < 1.11, + json >= 0.4 && < 0.8, +- tagsoup >= 0.12.5 && < 0.13, ++ tagsoup >= 0.12.5 && < 0.14, + base64-bytestring >= 0.1 && < 1.1, + zlib >= 0.5 && < 0.6, + highlighting-kate >= 0.5.3.7 && < 0.6, +--- /dev/null 2013-08-09 12:59:27.506999856 +1000 ++++ pandoc-1.11.1/src/Text/Pandoc/Compat/TagSoupEntity.hs 2013-08-10 12:28:14.261739000 +1000 +@@ -0,0 +1,15 @@ ++{-# LANGUAGE CPP #-} ++module Text.Pandoc.Compat.TagSoupEntity (lookupEntity ++ ) where ++ ++import qualified Text.HTML.TagSoup.Entity as TE ++ ++lookupEntity :: String -> Maybe Char ++#if MIN_VERSION_tagsoup(0,13,0) ++lookupEntity = str2chr . TE.lookupEntity ++ where str2chr :: Maybe String -> Maybe Char ++ str2chr (Just [c]) = Just c ++ str2chr _ = Nothing ++#else ++lookupEntity = TE.lookupEntity ++#endif +--- pandoc-1.11.1-orig/src/Text/Pandoc/Parsing.hs 2013-03-18 09:26:57.000000000 +1100 ++++ pandoc-1.11.1/src/Text/Pandoc/Parsing.hs 2013-08-10 12:28:14.262814000 +1000 +@@ -159,7 +159,7 @@ + import Text.Pandoc.Shared + import qualified Data.Map as M + import Text.TeXMath.Macros (applyMacros, Macro, parseMacroDefinitions) +-import Text.HTML.TagSoup.Entity ( lookupEntity ) ++import Text.Pandoc.Compat.TagSoupEntity ( lookupEntity ) + import Data.Default + import qualified Data.Set as Set + import Control.Monad.Reader +--- pandoc-1.11.1-orig/src/Text/Pandoc/Readers/DocBook.hs 2013-03-18 09:26:57.000000000 +1100 ++++ pandoc-1.11.1/src/Text/Pandoc/Readers/DocBook.hs 2013-08-10 12:28:14.264936000 +1000 +@@ -4,7 +4,7 @@ + import Text.Pandoc.Definition + import Text.Pandoc.Builder + import Text.XML.Light +-import Text.HTML.TagSoup.Entity (lookupEntity) ++import Text.Pandoc.Compat.TagSoupEntity (lookupEntity) + import Data.Generics + import Data.Monoid + import Data.Char (isSpace) +--- pandoc-1.11.1-orig/src/Text/Pandoc/XML.hs 2013-03-18 09:26:57.000000000 +1100 ++++ pandoc-1.11.1/src/Text/Pandoc/XML.hs 2013-08-10 12:28:17.333957000 +1000 +@@ -39,7 +39,7 @@ + + import Text.Pandoc.Pretty + import Data.Char (ord, isAscii, isSpace) +-import Text.HTML.TagSoup.Entity (lookupEntity) ++import Text.Pandoc.Compat.TagSoupEntity (lookupEntity) + + -- | Remove everything between <...> + stripTags :: String -> String diff --git a/app-text/pandoc/files/pandoc-1.11.1-test.patch b/app-text/pandoc/files/pandoc-1.11.1-test.patch new file mode 100644 index 00000000000..d5d1e894d50 --- /dev/null +++ b/app-text/pandoc/files/pandoc-1.11.1-test.patch @@ -0,0 +1,42 @@ +commit fa978e13658f76be109243224f7491550db74240 +Author: John MacFarlane +Date: Tue May 7 20:22:09 2013 -0700 + + Use latest highlighting-kate and texmath. + + Closes #849. + +diff --git a/pandoc.cabal b/pandoc.cabal +index 5f290a9..ea9e850 100644 +--- a/pandoc.cabal ++++ b/pandoc.cabal +@@ -241,7 +241,7 @@ Library + old-locale >= 1 && < 1.1, + time >= 1.2 && < 1.5, + HTTP >= 4000.0.5 && < 4000.3, +- texmath >= 0.6.1.3 && < 0.7, ++ texmath >= 0.6.1.5 && < 0.7, + xml >= 1.3.12 && < 1.4, + random >= 1 && < 1.1, + extensible-exceptions >= 0.1 && < 0.2, +@@ -251,7 +251,7 @@ Library + tagsoup >= 0.12.5 && < 0.13, + base64-bytestring >= 0.1 && < 1.1, + zlib >= 0.5 && < 0.6, +- highlighting-kate >= 0.5.3.7 && < 0.6, ++ highlighting-kate >= 0.5.3.9 && < 0.6, + data-default >= 0.4 && < 0.6, + temporary >= 1.1 && < 1.2, + blaze-html >= 0.5 && < 0.7, +diff --git a/tests/lhs-test.latex b/tests/lhs-test.latex +index 16e9a79..2a5025a 100644 +--- a/tests/lhs-test.latex ++++ b/tests/lhs-test.latex +@@ -22,6 +22,7 @@ + \IfFileExists{microtype.sty}{\usepackage{microtype}}{} + \usepackage{color} + \usepackage{fancyvrb} ++\newcommand{\VerbBar}{|} + \DefineShortVerb[commandchars=\\\{\}]{\|} + \DefineVerbatimEnvironment{Highlighting}{Verbatim}{commandchars=\\\{\}} + % Add ',fontsize=\small' for more characters per line diff --git a/app-text/pandoc/files/pandoc-1.13.2-ghc-7.10.patch b/app-text/pandoc/files/pandoc-1.13.2-ghc-7.10.patch new file mode 100644 index 00000000000..3ed96c2a1b9 --- /dev/null +++ b/app-text/pandoc/files/pandoc-1.13.2-ghc-7.10.patch @@ -0,0 +1,251 @@ +--- pandoc-1.13.2-orig/pandoc.cabal 2014-12-20 19:18:27.000000000 +1100 ++++ pandoc-1.13.2/pandoc.cabal 2015-01-05 10:39:17.951823846 +1100 +@@ -250,7 +250,7 @@ + hslua >= 0.3 && < 0.4, + binary >= 0.5 && < 0.8, + SHA >= 1.6 && < 1.7, +- haddock-library >= 1.1 && < 1.2, ++ haddock-library >= 1.1 && < 1.3, + old-time, + deepseq-generics >= 0.1 && < 0.2, + JuicyPixels >= 3.1.6.1 && < 3.3 +--- pandoc-1.13.2-orig/src/Text/Pandoc/Readers/Haddock.hs 2014-12-20 19:18:27.000000000 +1100 ++++ pandoc-1.13.2/src/Text/Pandoc/Readers/Haddock.hs 2015-01-05 14:24:34.371820789 +1100 +@@ -1,3 +1,4 @@ ++{-# LANGUAGE CPP #-} + {- | + Module : Text.Pandoc.Readers.Haddock + Copyright : Copyright (C) 2013 David Lazar +@@ -29,7 +30,12 @@ + readHaddock :: ReaderOptions -- ^ Reader options + -> String -- ^ String to parse + -> Pandoc +-readHaddock opts = B.doc . docHToBlocks . trace' . parseParas ++readHaddock opts = ++#if MIN_VERSION_haddock_library(1,2,0) ++ B.doc . docHToBlocks . trace' . _doc . parseParas ++#else ++ B.doc . docHToBlocks . trace' . parseParas ++#endif + where trace' x = if readerTrace opts + then trace (show x) x + else x +--- pandoc-1.13.2-orig/src/Text/Pandoc/Readers/LaTeX.hs 2014-12-20 19:18:27.000000000 +1100 ++++ pandoc-1.13.2/src/Text/Pandoc/Readers/LaTeX.hs 2015-01-05 11:20:35.193045904 +1100 +@@ -592,7 +592,7 @@ + + unescapeURL :: String -> String + unescapeURL ('\\':x:xs) | isEscapable x = x:unescapeURL xs +- where isEscapable c = c `elem` "#$%&~_^\\{}" ++ where isEscapable c = c `elem` ("#$%&~_^\\{}" :: String) + unescapeURL (x:xs) = x:unescapeURL xs + unescapeURL [] = "" + +@@ -1224,7 +1224,7 @@ + <* optional sp + <* optional (char ',') + <* optional sp) +- where isBibtexKeyChar c = isAlphaNum c || c `elem` ".:;?!`'()/*@_+=-[]*" ++ where isBibtexKeyChar c = isAlphaNum c || c `elem` (".:;?!`'()/*@_+=-[]*" :: String) + + cites :: CitationMode -> Bool -> LP [Citation] + cites mode multi = try $ do +--- pandoc-1.13.2-orig/src/Text/Pandoc/Readers/Org.hs 2014-12-20 19:18:27.000000000 +1100 ++++ pandoc-1.13.2/src/Text/Pandoc/Readers/Org.hs 2015-01-05 11:24:53.294689830 +1100 +@@ -1,5 +1,6 @@ + {-# LANGUAGE OverloadedStrings #-} + {-# LANGUAGE GeneralizedNewtypeDeriving #-} ++{-# LANGUAGE FlexibleContexts #-} + {- + Copyright (C) 2014 Albert Krewinkel + +@@ -1168,7 +1169,7 @@ + + isUri :: String -> Bool + isUri s = let (scheme, path) = break (== ':') s +- in all (\c -> isAlphaNum c || c `elem` ".-") scheme ++ in all (\c -> isAlphaNum c || c `elem` (".-" :: String)) scheme + && not (null path) + + isAbsoluteFilePath :: String -> Bool +@@ -1214,7 +1215,7 @@ + solidify = map replaceSpecialChar + where replaceSpecialChar c + | isAlphaNum c = c +- | c `elem` "_.-:" = c ++ | c `elem` ("_.-:" :: String) = c + | otherwise = '-' + + -- | Parses an inline code block and marks it as an babel block. +@@ -1465,7 +1466,7 @@ + parseAsMathMLSym :: String -> Maybe Inlines + parseAsMathMLSym cs = B.str <$> MathMLEntityMap.getUnicode (clean cs) + -- dropWhileEnd would be nice here, but it's not available before base 4.5 +- where clean = reverse . dropWhile (`elem` "{}") . reverse . drop 1 ++ where clean = reverse . dropWhile (`elem` ("{}" :: String)) . reverse . drop 1 + + state :: ParserState + state = def{ stateOptions = def{ readerParseRaw = True }} +--- pandoc-1.13.2-orig/src/Text/Pandoc/Readers/RST.hs 2014-12-20 19:18:27.000000000 +1100 ++++ pandoc-1.13.2/src/Text/Pandoc/Readers/RST.hs 2015-01-05 11:21:59.819266953 +1100 +@@ -1,4 +1,5 @@ + {-# LANGUAGE OverloadedStrings #-} ++{-# LANGUAGE FlexibleContexts #-} + {- + Copyright (C) 2006-2014 John MacFarlane + +@@ -708,7 +709,7 @@ + toChunks :: String -> [String] + toChunks = dropWhile null + . map (trim . unlines) +- . splitBy (all (`elem` " \t")) . lines ++ . splitBy (all (`elem` (" \t" :: String))) . lines + + codeblock :: Maybe String -> String -> String -> RSTParser Blocks + codeblock numberLines lang body = +--- pandoc-1.13.2-orig/src/Text/Pandoc/Readers/TWiki.hs 2014-12-20 19:18:27.000000000 +1100 ++++ pandoc-1.13.2/src/Text/Pandoc/Readers/TWiki.hs 2015-01-05 11:25:22.450138135 +1100 +@@ -1,4 +1,4 @@ +-{-# LANGUAGE RelaxedPolyRec, FlexibleInstances, TypeSynonymInstances #-} ++{-# LANGUAGE RelaxedPolyRec, FlexibleInstances, TypeSynonymInstances, FlexibleContexts #-} + -- RelaxedPolyRec needed for inlinesBetween on GHC < 7 + {- + Copyright (C) 2014 Alexander Sulfrian +--- pandoc-1.13.2-orig/src/Text/Pandoc/Templates.hs 2014-12-20 19:18:27.000000000 +1100 ++++ pandoc-1.13.2/src/Text/Pandoc/Templates.hs 2015-01-05 10:45:45.255969737 +1100 +@@ -124,7 +124,7 @@ + -> String -- ^ Name of writer + -> IO (Either E.IOException String) + getDefaultTemplate user writer = do +- let format = takeWhile (`notElem` "+-") writer -- strip off extensions ++ let format = takeWhile (`notElem` ("+-" :: String)) writer -- strip off extensions + case format of + "native" -> return $ Right "" + "json" -> return $ Right "" +@@ -288,7 +288,7 @@ + reservedWords = ["else","endif","for","endfor","sep"] + + skipEndline :: Parser () +-skipEndline = P.try $ P.skipMany (P.satisfy (`elem` " \t")) >> P.char '\n' >> return () ++skipEndline = P.try $ P.skipMany (P.satisfy (`elem` (" \t" :: String))) >> P.char '\n' >> return () + + pConditional :: Parser Template + pConditional = do +--- pandoc-1.13.2-orig/src/Text/Pandoc/Writers/ConTeXt.hs 2014-12-20 19:18:27.000000000 +1100 ++++ pandoc-1.13.2/src/Text/Pandoc/Writers/ConTeXt.hs 2015-01-05 11:36:04.213852145 +1100 +@@ -119,7 +119,7 @@ + toLabel :: String -> String + toLabel z = concatMap go z + where go x +- | elem x "\\#[]\",{}%()|=" = "ux" ++ printf "%x" (ord x) ++ | elem x ("\\#[]\",{}%()|=" :: String) = "ux" ++ printf "%x" (ord x) + | otherwise = [x] + + -- | Convert Elements to ConTeXt +--- pandoc-1.13.2-orig/src/Text/Pandoc/Writers/EPUB.hs 2014-12-20 19:18:27.000000000 +1100 ++++ pandoc-1.13.2/src/Text/Pandoc/Writers/EPUB.hs 2015-01-05 11:35:29.166882307 +1100 +@@ -1,4 +1,4 @@ +-{-# LANGUAGE PatternGuards, CPP, ScopedTypeVariables, ViewPatterns #-} ++{-# LANGUAGE PatternGuards, CPP, ScopedTypeVariables, ViewPatterns, FlexibleContexts #-} + {- + Copyright (C) 2010-2014 John MacFarlane + +--- pandoc-1.13.2-orig/src/Text/Pandoc/Writers/ICML.hs 2014-12-20 19:18:27.000000000 +1100 ++++ pandoc-1.13.2/src/Text/Pandoc/Writers/ICML.hs 2015-01-05 11:35:07.163880901 +1100 +@@ -1,4 +1,4 @@ +-{-# LANGUAGE OverloadedStrings #-} ++{-# LANGUAGE OverloadedStrings, FlexibleContexts #-} + + {- | + Module : Text.Pandoc.Writers.ICML +--- pandoc-1.13.2-orig/src/Text/Pandoc/Writers/LaTeX.hs 2014-12-20 19:18:27.000000000 +1100 ++++ pandoc-1.13.2/src/Text/Pandoc/Writers/LaTeX.hs 2015-01-05 11:32:29.461099578 +1100 +@@ -240,7 +240,7 @@ + where go [] = "" + go (x:xs) + | (isLetter x || isDigit x) && isAscii x = x:go xs +- | elem x "-+=:;." = x:go xs ++ | elem x ("-+=:;." :: String) = x:go xs + | otherwise = "ux" ++ printf "%x" (ord x) ++ go xs + + -- | Puts contents into LaTeX command. +--- pandoc-1.13.2-orig/src/Text/Pandoc/Writers/Markdown.hs 2014-12-20 19:18:27.000000000 +1100 ++++ pandoc-1.13.2/src/Text/Pandoc/Writers/Markdown.hs 2015-01-05 11:34:25.437241616 +1100 +@@ -323,9 +323,9 @@ + then Just $ writerColumns opts + else Nothing + let rendered = render colwidth contents +- let escapeDelimiter (x:xs) | x `elem` ".()" = '\\':x:xs +- | otherwise = x : escapeDelimiter xs +- escapeDelimiter [] = [] ++ let escapeDelimiter (x:xs) | x `elem` (".()" :: String) = '\\':x:xs ++ | otherwise = x : escapeDelimiter xs ++ escapeDelimiter [] = [] + let contents' = if isEnabled Ext_all_symbols_escapable opts && + not (stPlain st) && beginsWithOrderedListMarker rendered + then text $ escapeDelimiter rendered +@@ -681,7 +681,7 @@ + mapM (inlineToMarkdown opts) (avoidBadWraps lst) >>= return . cat + where avoidBadWraps [] = [] + avoidBadWraps (Space:Str (c:cs):xs) +- | c `elem` "-*+>" = Str (' ':c:cs) : avoidBadWraps xs ++ | c `elem` ("-*+>" :: String) = Str (' ':c:cs) : avoidBadWraps xs + avoidBadWraps (x:xs) = x : avoidBadWraps xs + + escapeSpaces :: Inline -> Inline +@@ -821,8 +821,8 @@ + sdoc <- inlineListToMarkdown opts sinlines + let k' = text (modekey m ++ "@" ++ k) + r = case sinlines of +- Str (y:_):_ | y `elem` ",;]@" -> k' <> sdoc +- _ -> k' <+> sdoc ++ Str (y:_):_ | y `elem` (",;]@" :: String) -> k' <> sdoc ++ _ -> k' <+> sdoc + return $ pdoc <+> r + modekey SuppressAuthor = "-" + modekey _ = "" +--- pandoc-1.13.2-orig/src/Text/Pandoc/Writers/OpenDocument.hs 2014-12-20 19:18:27.000000000 +1100 ++++ pandoc-1.13.2/src/Text/Pandoc/Writers/OpenDocument.hs 2015-01-05 11:36:22.915591722 +1100 +@@ -1,4 +1,4 @@ +-{-# LANGUAGE PatternGuards, OverloadedStrings #-} ++{-# LANGUAGE PatternGuards, OverloadedStrings, FlexibleContexts #-} + {- + Copyright (C) 2008-2014 Andrea Rossato + and John MacFarlane. +--- pandoc-1.13.2-orig/src/Text/Pandoc/Writers/RST.hs 2014-12-20 19:18:27.000000000 +1100 ++++ pandoc-1.13.2/src/Text/Pandoc/Writers/RST.hs 2015-01-05 11:32:00.815007351 +1100 +@@ -105,7 +105,7 @@ + -> State WriterState Doc + keyToRST (label, (src, _)) = do + label' <- inlineListToRST label +- let label'' = if ':' `elem` (render Nothing label') ++ let label'' = if ':' `elem` ((render Nothing label') :: String) + then char '`' <> label' <> char '`' + else label' + return $ nowrap $ ".. _" <> label'' <> ": " <> text src +@@ -333,12 +333,12 @@ + okAfterComplex :: Inline -> Bool + okAfterComplex Space = True + okAfterComplex LineBreak = True +- okAfterComplex (Str (c:_)) = isSpace c || c `elem` "-.,:;!?\\/'\")]}>–—" ++ okAfterComplex (Str (c:_)) = isSpace c || c `elem` ("-.,:;!?\\/'\")]}>–—" :: String) + okAfterComplex _ = False + okBeforeComplex :: Inline -> Bool + okBeforeComplex Space = True + okBeforeComplex LineBreak = True +- okBeforeComplex (Str (c:_)) = isSpace c || c `elem` "-:/'\"<([{–—" ++ okBeforeComplex (Str (c:_)) = isSpace c || c `elem` ("-:/'\"<([{–—" :: String) + okBeforeComplex _ = False + isComplex :: Inline -> Bool + isComplex (Emph _) = True +--- pandoc-1.13.2-orig/src/Text/Pandoc/Writers/Texinfo.hs 2014-12-20 19:18:27.000000000 +1100 ++++ pandoc-1.13.2/src/Text/Pandoc/Writers/Texinfo.hs 2015-01-05 11:33:07.407217820 +1100 +@@ -368,7 +368,7 @@ + + -- periods, commas, colons, and parentheses are disallowed in node names + disallowedInNode :: Char -> Bool +-disallowedInNode c = c `elem` ".,:()" ++disallowedInNode c = c `elem` (".,:()" :: String) + + -- | Convert inline element to Texinfo + inlineToTexinfo :: Inline -- ^ Inline to convert diff --git a/app-text/pandoc/files/pandoc-1.15.0.6-no-https.patch b/app-text/pandoc/files/pandoc-1.15.0.6-no-https.patch new file mode 100644 index 00000000000..7e0f4d375a7 --- /dev/null +++ b/app-text/pandoc/files/pandoc-1.15.0.6-no-https.patch @@ -0,0 +1,12 @@ +diff --git a/src/Text/Pandoc/Shared.hs b/src/Text/Pandoc/Shared.hs +index ef9f66a..50b0ec4 100644 +--- a/src/Text/Pandoc/Shared.hs ++++ b/src/Text/Pandoc/Shared.hs +@@ -143,2 +143,3 @@ import Paths_pandoc (getDataFileName) + #endif ++import Codec.Archive.Zip + #ifdef HTTP_CLIENT +@@ -152,3 +153,2 @@ import Network.HTTP.Types.Header ( hContentType) + import Network (withSocketsDo) +-import Codec.Archive.Zip + #else diff --git a/app-text/pandoc/metadata.xml b/app-text/pandoc/metadata.xml new file mode 100644 index 00000000000..72bbcbf76c8 --- /dev/null +++ b/app-text/pandoc/metadata.xml @@ -0,0 +1,26 @@ + + + + haskell + + haskell@gentoo.org + + + Pandoc is a Haskell library for converting from one markup + format to another, and a command-line tool that uses + this library. It can read markdown and (subsets of) + reStructuredText, HTML, LaTeX and Textile, and it can write + markdown, reStructuredText, HTML, LaTeX, ConTeXt, Docbook, + OpenDocument, ODT, RTF, MediaWiki, Textile, groff man pages, + plain text, Emacs Org-Mode, EPUB, and S5 and Slidy HTML + slide shows. + + + Embed data files in binary for relocatable executable. + Enable downloading of resources over https. + Build trypandoc cgi executable. + Enable support for downloading of resources over https. + Build program to regenerate pandoc man pages from README. + Get Network.URI from the network-uri package. + + diff --git a/app-text/pandoc/pandoc-1.12.1-r1.ebuild b/app-text/pandoc/pandoc-1.12.1-r1.ebuild new file mode 100644 index 00000000000..280068ddc54 --- /dev/null +++ b/app-text/pandoc/pandoc-1.12.1-r1.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +# ebuild generated by hackport 0.3.4.9999 + +CABAL_FEATURES="bin lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Conversion between markup formats" +HOMEPAGE="http://johnmacfarlane.net/pandoc" +SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0/${PV}" +KEYWORDS="amd64 x86" +IUSE="embed_data_files +http-conduit" + +RDEPEND=">=dev-haskell/aeson-0.6:=[profile?] =dev-haskell/attoparsec-0.10:=[profile?] =dev-haskell/base64-bytestring-0.1:=[profile?] =dev-haskell/blaze-html-0.5:=[profile?] =dev-haskell/blaze-markup-0.5.1:=[profile?] =dev-haskell/data-default-0.4:=[profile?] =dev-haskell/extensible-exceptions-0.1:=[profile?] =dev-haskell/highlighting-kate-0.5.5:=[profile?] =dev-haskell/hslua-0.3:=[profile?] =dev-haskell/http-4000.0.5:=[profile?] =dev-haskell/mtl-1.1:=[profile?] =dev-haskell/network-2:=[profile?] =dev-haskell/pandoc-types-1.12.3:=[profile?] =dev-haskell/parsec-3.1:=[profile?] =dev-haskell/random-1:=[profile?] =dev-haskell/syb-0.1:=[profile?] =dev-haskell/tagsoup-0.12.5:=[profile?] =dev-haskell/temporary-1.1:=[profile?] =dev-haskell/texmath-0.6.4:=[profile?] =dev-haskell/text-0.11:=[profile?] + >=dev-haskell/unordered-containers-0.2:=[profile?] =dev-haskell/vector-0.10:=[profile?] =dev-haskell/xml-1.3.12:=[profile?] =dev-haskell/yaml-0.8.3:=[profile?] =dev-haskell/zip-archive-0.1.3.3:=[profile?] =dev-haskell/zlib-0.5:=[profile?] =dev-lang/ghc-7.0.1:= + embed_data_files? ( dev-haskell/hsb2hs ) + http-conduit? ( >=dev-haskell/http-conduit-1.9:=[profile?] =dev-haskell/http-types-0.8:=[profile?] = 0.11 && < 0.12' 'text >= 0.11' +} + +src_configure() { + haskell-cabal_src_configure \ + $(cabal_flag embed_data_files embed_data_files) \ + $(cabal_flag http-conduit http-conduit) +} diff --git a/app-text/pandoc/pandoc-1.12.1.ebuild b/app-text/pandoc/pandoc-1.12.1.ebuild new file mode 100644 index 00000000000..933db100f7d --- /dev/null +++ b/app-text/pandoc/pandoc-1.12.1.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +# ebuild generated by hackport 0.3.4.9999 + +CABAL_FEATURES="bin lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Conversion between markup formats" +HOMEPAGE="http://johnmacfarlane.net/pandoc" +SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0/${PV}" +KEYWORDS="amd64 x86" +IUSE="embed_data_files +http-conduit" + +RDEPEND=">=dev-haskell/aeson-0.6:=[profile?] =dev-haskell/attoparsec-0.10:=[profile?] =dev-haskell/base64-bytestring-0.1:=[profile?] =dev-haskell/blaze-html-0.5:=[profile?] =dev-haskell/blaze-markup-0.5.1:=[profile?] =dev-haskell/data-default-0.4:=[profile?] =dev-haskell/extensible-exceptions-0.1:=[profile?] =dev-haskell/highlighting-kate-0.5.5:=[profile?] =dev-haskell/hslua-0.3:=[profile?] =dev-haskell/http-4000.0.5:=[profile?] =dev-haskell/mtl-1.1:=[profile?] =dev-haskell/network-2:=[profile?] =dev-haskell/pandoc-types-1.12.3:=[profile?] =dev-haskell/parsec-3.1:=[profile?] =dev-haskell/random-1:=[profile?] =dev-haskell/syb-0.1:=[profile?] =dev-haskell/tagsoup-0.12.5:=[profile?] =dev-haskell/temporary-1.1:=[profile?] =dev-haskell/texmath-0.6.4:=[profile?] =dev-haskell/text-0.11:=[profile?] =dev-haskell/unordered-containers-0.2:=[profile?] =dev-haskell/vector-0.10:=[profile?] =dev-haskell/xml-1.3.12:=[profile?] =dev-haskell/yaml-0.8.3:=[profile?] =dev-haskell/zip-archive-0.1.3.3:=[profile?] =dev-haskell/zlib-0.5:=[profile?] =dev-lang/ghc-7.0.1:= + embed_data_files? ( dev-haskell/hsb2hs ) + http-conduit? ( >=dev-haskell/http-conduit-1.9:=[profile?] =dev-haskell/http-types-0.8:=[profile?] = 1.9 && < 1.10' 'http-conduit >= 1.9 && < 2.1' \ + 'text >= 0.11 && < 0.12' 'text >= 0.11 && < 1.2' +} + +src_configure() { + haskell-cabal_src_configure \ + $(cabal_flag embed_data_files embed_data_files) \ + $(cabal_flag http-conduit http-conduit) +} diff --git a/app-text/pandoc/pandoc-1.12.3.1.ebuild b/app-text/pandoc/pandoc-1.12.3.1.ebuild new file mode 100644 index 00000000000..10154e4ebd8 --- /dev/null +++ b/app-text/pandoc/pandoc-1.12.3.1.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +# ebuild generated by hackport 0.3.6.9999 + +CABAL_FEATURES="bin lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Conversion between markup formats" +HOMEPAGE="http://johnmacfarlane.net/pandoc" +SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~x86" +IUSE="embed_data_files +http-conduit" + +RDEPEND=">=dev-haskell/aeson-0.6:=[profile?] =dev-haskell/attoparsec-0.10:=[profile?] =dev-haskell/base64-bytestring-0.1:=[profile?] =dev-haskell/binary-0.5:=[profile?] =dev-haskell/blaze-html-0.5:=[profile?] =dev-haskell/blaze-markup-0.5.1:=[profile?] =dev-haskell/data-default-0.4:=[profile?] =dev-haskell/extensible-exceptions-0.1:=[profile?] =dev-haskell/highlighting-kate-0.5.6:=[profile?] =dev-haskell/hslua-0.3:=[profile?] =dev-haskell/http-4000.0.5:=[profile?] =dev-haskell/mtl-1.1:=[profile?] =dev-haskell/network-2:=[profile?] =dev-haskell/pandoc-types-1.12.3:=[profile?] =dev-haskell/parsec-3.1:=[profile?] =dev-haskell/random-1:=[profile?] =dev-haskell/syb-0.1:=[profile?] =dev-haskell/tagsoup-0.12.5:=[profile?] =dev-haskell/temporary-1.1:=[profile?] =dev-haskell/texmath-0.6.6:=[profile?] =dev-haskell/text-0.11:=[profile?] =dev-haskell/unordered-containers-0.2:=[profile?] =dev-haskell/vector-0.10:=[profile?] =dev-haskell/xml-1.3.12:=[profile?] =dev-haskell/yaml-0.8.3:=[profile?] =dev-haskell/zip-archive-0.1.3.3:=[profile?] =dev-haskell/zlib-0.5:=[profile?] =dev-lang/ghc-7.0.1:= + embed_data_files? ( dev-haskell/hsb2hs ) + http-conduit? ( >=dev-haskell/http-conduit-1.9:=[profile?] =dev-haskell/http-types-0.8:=[profile?] = 2.4 && < 2.7' 'QuickCheck >= 2.4 && < 2.8' +} + +src_configure() { + haskell-cabal_src_configure \ + $(cabal_flag embed_data_files embed_data_files) \ + $(cabal_flag http-conduit http-conduit) +} diff --git a/app-text/pandoc/pandoc-1.12.4.2-r1.ebuild b/app-text/pandoc/pandoc-1.12.4.2-r1.ebuild new file mode 100644 index 00000000000..01c7cc50a26 --- /dev/null +++ b/app-text/pandoc/pandoc-1.12.4.2-r1.ebuild @@ -0,0 +1,83 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +# ebuild generated by hackport 0.4.9999 + +CABAL_FEATURES="bin lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Conversion between markup formats" +HOMEPAGE="http://johnmacfarlane.net/pandoc" +SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~x86" +IUSE="embed_data_files +http-conduit" + +RESTRICT=test # missing files + +RDEPEND=">=dev-haskell/aeson-0.7:=[profile?] =dev-haskell/attoparsec-0.10:=[profile?] =dev-haskell/base64-bytestring-0.1:=[profile?] =dev-haskell/binary-0.5:=[profile?] =dev-haskell/blaze-html-0.5:=[profile?] =dev-haskell/blaze-markup-0.5.1:=[profile?] =dev-haskell/data-default-0.4:=[profile?] =dev-haskell/extensible-exceptions-0.1:=[profile?] =dev-haskell/highlighting-kate-0.5.8:=[profile?] =dev-haskell/hslua-0.3:=[profile?] =dev-haskell/http-4000.0.5:=[profile?] =dev-haskell/mtl-1.1:=[profile?] =dev-haskell/network-2:=[profile?] =dev-haskell/pandoc-types-1.12.3.3:=[profile?] =dev-haskell/parsec-3.1:=[profile?] =dev-haskell/random-1:=[profile?] =dev-haskell/scientific-0.2:=[profile?] =dev-haskell/syb-0.1:=[profile?] =dev-haskell/tagsoup-0.13.1:=[profile?] =dev-haskell/temporary-1.1:=[profile?] =dev-haskell/texmath-0.6.6.1:=[profile?] =dev-haskell/text-0.11:=[profile?] =dev-haskell/unordered-containers-0.2:=[profile?] =dev-haskell/vector-0.10:=[profile?] =dev-haskell/xml-1.3.12:=[profile?] =dev-haskell/yaml-0.8.8.2:=[profile?] =dev-haskell/zip-archive-0.1.3.3:=[profile?] =dev-haskell/zlib-0.5:=[profile?] =dev-lang/ghc-7.4.1:= + embed_data_files? ( dev-haskell/hsb2hs ) + http-conduit? ( >=dev-haskell/http-conduit-1.9:=[profile?] =dev-haskell/http-types-0.8:=[profile?] = 0.2 && < 0.3' 'scientific >= 0.2 && < 0.4' \ + 'attoparsec >= 0.10 && < 0.12' 'attoparsec >= 0.10 && < 0.13' +} + +src_configure() { + haskell-cabal_src_configure \ + $(cabal_flag embed_data_files embed_data_files) \ + $(cabal_flag http-conduit http-conduit) +} diff --git a/app-text/pandoc/pandoc-1.12.4.ebuild b/app-text/pandoc/pandoc-1.12.4.ebuild new file mode 100644 index 00000000000..daf762c61b1 --- /dev/null +++ b/app-text/pandoc/pandoc-1.12.4.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +# ebuild generated by hackport 0.4.9999 + +CABAL_FEATURES="bin lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Conversion between markup formats" +HOMEPAGE="http://johnmacfarlane.net/pandoc" +SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~x86" +IUSE="embed_data_files +http-conduit" + +RESTRICT=test # missing files + +RDEPEND=">=dev-haskell/aeson-0.7:=[profile?] =dev-haskell/attoparsec-0.10:=[profile?] =dev-haskell/base64-bytestring-0.1:=[profile?] =dev-haskell/binary-0.5:=[profile?] =dev-haskell/blaze-html-0.5:=[profile?] =dev-haskell/blaze-markup-0.5.1:=[profile?] =dev-haskell/data-default-0.4:=[profile?] =dev-haskell/extensible-exceptions-0.1:=[profile?] =dev-haskell/highlighting-kate-0.5.7:=[profile?] =dev-haskell/hslua-0.3:=[profile?] =dev-haskell/http-4000.0.5:=[profile?] =dev-haskell/mtl-1.1:=[profile?] =dev-haskell/network-2:=[profile?] =dev-haskell/pandoc-types-1.12.3.3:=[profile?] =dev-haskell/parsec-3.1:=[profile?] =dev-haskell/random-1:=[profile?] =dev-haskell/scientific-0.2:=[profile?] =dev-haskell/syb-0.1:=[profile?] =dev-haskell/tagsoup-0.13.1:=[profile?] =dev-haskell/temporary-1.1:=[profile?] =dev-haskell/texmath-0.6.6.1:=[profile?] =dev-haskell/text-0.11:=[profile?] =dev-haskell/unordered-containers-0.2:=[profile?] =dev-haskell/vector-0.10:=[profile?] =dev-haskell/xml-1.3.12:=[profile?] =dev-haskell/yaml-0.8.8.2:=[profile?] =dev-haskell/zip-archive-0.1.3.3:=[profile?] =dev-haskell/zlib-0.5:=[profile?] =dev-lang/ghc-7.4.1:= + embed_data_files? ( dev-haskell/hsb2hs ) + http-conduit? ( >=dev-haskell/http-conduit-1.9:=[profile?] =dev-haskell/http-types-0.8:=[profile?] = 0.11 && < 1.2' 'text >= 0.11' \ + 'random >= 1 && < 1.1' 'random >=1 && <1.2' \ + 'http-client >= 0.3.2 && < 0.4' 'http-client >= 0.3.2 && < 0.5' +} + +src_configure() { + haskell-cabal_src_configure \ + $(cabal_flag embed_data_files embed_data_files) \ + $(cabal_flag https https) \ + $(cabal_flag make-pandoc-man-pages make-pandoc-man-pages) \ + $(cabal_flag network-uri network-uri) \ + $(cabal_flag trypandoc trypandoc) +} diff --git a/app-text/pandoc/pandoc-1.13.2-r1.ebuild b/app-text/pandoc/pandoc-1.13.2-r1.ebuild new file mode 100644 index 00000000000..7c9178080c5 --- /dev/null +++ b/app-text/pandoc/pandoc-1.13.2-r1.ebuild @@ -0,0 +1,91 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +# ebuild generated by hackport 0.4.4.9999 + +CABAL_FEATURES="bin lib profile haddock hoogle hscolour test-suite" +inherit base haskell-cabal + +DESCRIPTION="Conversion between markup formats" +HOMEPAGE="http://johnmacfarlane.net/pandoc" +SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~x86" +IUSE="embed_data_files +https make-pandoc-man-pages +network-uri trypandoc" + +RDEPEND=">=dev-haskell/aeson-0.7.0.5:=[profile?] =dev-haskell/base64-bytestring-0.1:=[profile?] =dev-haskell/binary-0.5:=[profile?] =dev-haskell/blaze-html-0.5:=[profile?] =dev-haskell/blaze-markup-0.5.1:=[profile?] =dev-haskell/data-default-0.4:=[profile?] =dev-haskell/deepseq-generics-0.1:=[profile?] =dev-haskell/extensible-exceptions-0.1:=[profile?] =dev-haskell/haddock-library-1.1:=[profile?] =dev-haskell/highlighting-kate-0.5.11.1:=[profile?] =dev-haskell/hslua-0.3:=[profile?] =dev-haskell/http-4000.0.5:=[profile?] =dev-haskell/juicypixels-3.1.6.1:=[profile?] =dev-haskell/mtl-1.1:=[profile?] =dev-haskell/pandoc-types-1.12.4:=[profile?] =dev-haskell/parsec-3.1:=[profile?] =dev-haskell/random-1:=[profile?] =dev-haskell/scientific-0.2:=[profile?] =dev-haskell/sha-1.6:=[profile?] =dev-haskell/syb-0.1:=[profile?] =dev-haskell/tagsoup-0.13.1:=[profile?] =dev-haskell/temporary-1.1:=[profile?] =dev-haskell/texmath-0.8.0.1:=[profile?] =dev-haskell/text-0.11:=[profile?] =dev-haskell/unordered-containers-0.2:=[profile?] =dev-haskell/vector-0.10:=[profile?] =dev-haskell/xml-1.3.12:=[profile?] =dev-haskell/yaml-0.8.8.2:=[profile?] =dev-haskell/zip-archive-0.2.3.4:=[profile?] =dev-haskell/zlib-0.5:=[profile?] =dev-lang/ghc-7.4.1:= + embed_data_files? ( dev-haskell/hsb2hs ) + https? ( >=dev-haskell/http-client-0.3.2:=[profile?] =dev-haskell/http-client-tls-0.2:=[profile?] =dev-haskell/http-types-0.8:=[profile?] =dev-haskell/network-2.6:=[profile?] + >=dev-haskell/network-uri-2.6:=[profile?] =dev-haskell/network-2:=[profile?] =dev-haskell/wai-0.3:=[profile?] + dev-haskell/wai-extra:=[profile?] + !https? ( dev-haskell/http-types:=[profile?] ) ) +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-1.10 + test? ( >=dev-haskell/ansi-terminal-0.5 =dev-haskell/diff-0.2 =dev-haskell/executable-path-0.0 =dev-haskell/hunit-1.2 =dev-haskell/quickcheck-2.4:2 + >=dev-haskell/test-framework-0.3 =dev-haskell/test-framework-hunit-0.2 =dev-haskell/test-framework-quickcheck2-0.2.9 = 1.1 && < 1.4' 'filepath >= 1.1' \ + 'QuickCheck >= 2.4 && < 2.8' 'QuickCheck >= 2.4' +} + +src_configure() { + haskell-cabal_src_configure \ + $(cabal_flag embed_data_files embed_data_files) \ + $(cabal_flag https https) \ + $(cabal_flag make-pandoc-man-pages make-pandoc-man-pages) \ + $(cabal_flag network-uri network-uri) \ + $(cabal_flag trypandoc trypandoc) +} diff --git a/app-text/pandoc/pandoc-1.13.2.1.ebuild b/app-text/pandoc/pandoc-1.13.2.1.ebuild new file mode 100644 index 00000000000..c25f434f06d --- /dev/null +++ b/app-text/pandoc/pandoc-1.13.2.1.ebuild @@ -0,0 +1,101 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +# ebuild generated by hackport 0.4.5.9999 + +CABAL_FEATURES="bin lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Conversion between markup formats" +HOMEPAGE="http://johnmacfarlane.net/pandoc" +SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~x86" +IUSE="embed_data_files +https make-pandoc-man-pages +network-uri trypandoc" + +RESTRICT=test # likes to break on highlighting-kate update + +RDEPEND=">=dev-haskell/aeson-0.7.0.5:=[profile?] + >=dev-haskell/base64-bytestring-0.1:=[profile?] =dev-haskell/binary-0.5:=[profile?] =dev-haskell/blaze-html-0.5:=[profile?] =dev-haskell/blaze-markup-0.5.1:=[profile?] =dev-haskell/data-default-0.4:=[profile?] =dev-haskell/deepseq-generics-0.1:=[profile?] =dev-haskell/extensible-exceptions-0.1:=[profile?] =dev-haskell/haddock-library-1.1:=[profile?] =dev-haskell/highlighting-kate-0.5.11.1:=[profile?] + >=dev-haskell/hslua-0.3:=[profile?] =dev-haskell/http-4000.0.5:=[profile?] =dev-haskell/juicypixels-3.1.6.1:=[profile?] =dev-haskell/mtl-1.1:=[profile?] =dev-haskell/old-locale-1:=[profile?] =dev-haskell/old-time-1.0:=[profile?] =dev-haskell/pandoc-types-1.12.4:=[profile?] =dev-haskell/parsec-3.1:=[profile?] =dev-haskell/random-1:=[profile?] =dev-haskell/scientific-0.2:=[profile?] =dev-haskell/sha-1.6:=[profile?] =dev-haskell/syb-0.1:=[profile?] =dev-haskell/tagsoup-0.13.1:=[profile?] =dev-haskell/temporary-1.1:=[profile?] =dev-haskell/texmath-0.8.0.1:=[profile?] =dev-haskell/text-0.11:=[profile?] =dev-haskell/unordered-containers-0.2:=[profile?] =dev-haskell/vector-0.10:=[profile?] =dev-haskell/xml-1.3.12:=[profile?] =dev-haskell/yaml-0.8.8.2:=[profile?] =dev-haskell/zip-archive-0.2.3.4:=[profile?] =dev-haskell/zlib-0.5:=[profile?] =dev-lang/ghc-7.4.1:= + embed_data_files? ( dev-haskell/hsb2hs ) + https? ( >=dev-haskell/http-client-0.3.2:=[profile?] =dev-haskell/http-client-tls-0.2:=[profile?] =dev-haskell/http-types-0.8:=[profile?] =dev-haskell/network-2.6:=[profile?] + >=dev-haskell/network-uri-2.6:=[profile?] =dev-haskell/network-2:=[profile?] =dev-haskell/wai-0.3:=[profile?] + dev-haskell/wai-extra:=[profile?] + !https? ( dev-haskell/http-types:=[profile?] ) ) +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-1.10 + test? ( >=dev-haskell/ansi-terminal-0.5 =dev-haskell/diff-0.2 =dev-haskell/executable-path-0.0 =dev-haskell/hunit-1.2 =dev-haskell/quickcheck-2.4:2 + >=dev-haskell/test-framework-0.3 =dev-haskell/test-framework-hunit-0.2 =dev-haskell/test-framework-quickcheck2-0.2.9 = 2.4 && < 2.8' 'QuickCheck >= 2.4' \ + 'aeson >= 0.7 && < 0.9' 'aeson >= 0.7' \ + 'aeson >= 0.7.0.5 && < 0.9' 'aeson >= 0.7.0.5' \ + 'highlighting-kate >= 0.5.11.1 && < 0.6' 'highlighting-kate >= 0.5.11.1' +} + +src_configure() { + haskell-cabal_src_configure \ + $(cabal_flag embed_data_files embed_data_files) \ + $(cabal_flag https https) \ + $(cabal_flag make-pandoc-man-pages make-pandoc-man-pages) \ + $(cabal_flag network-uri network-uri) \ + $(cabal_flag trypandoc trypandoc) +} + +src_install() { + haskell-cabal_src_install + + doman man/man1/pandoc.1 + doman man/man5/pandoc_markdown.5 +} diff --git a/app-text/pandoc/pandoc-1.13.2.ebuild b/app-text/pandoc/pandoc-1.13.2.ebuild new file mode 100644 index 00000000000..dc8d82a4816 --- /dev/null +++ b/app-text/pandoc/pandoc-1.13.2.ebuild @@ -0,0 +1,82 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +# ebuild generated by hackport 0.4.4.9999 + +CABAL_FEATURES="bin lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Conversion between markup formats" +HOMEPAGE="http://johnmacfarlane.net/pandoc" +SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~x86" +IUSE="embed_data_files +https make-pandoc-man-pages +network-uri trypandoc" + +RDEPEND=">=dev-haskell/aeson-0.7.0.5:=[profile?] =dev-haskell/base64-bytestring-0.1:=[profile?] =dev-haskell/binary-0.5:=[profile?] =dev-haskell/blaze-html-0.5:=[profile?] =dev-haskell/blaze-markup-0.5.1:=[profile?] =dev-haskell/data-default-0.4:=[profile?] =dev-haskell/deepseq-generics-0.1:=[profile?] =dev-haskell/extensible-exceptions-0.1:=[profile?] =dev-haskell/haddock-library-1.1:=[profile?] =dev-haskell/highlighting-kate-0.5.11.1:=[profile?] =dev-haskell/hslua-0.3:=[profile?] =dev-haskell/http-4000.0.5:=[profile?] =dev-haskell/juicypixels-3.1.6.1:=[profile?] =dev-haskell/mtl-1.1:=[profile?] =dev-haskell/pandoc-types-1.12.4:=[profile?] =dev-haskell/parsec-3.1:=[profile?] =dev-haskell/random-1:=[profile?] =dev-haskell/scientific-0.2:=[profile?] =dev-haskell/sha-1.6:=[profile?] =dev-haskell/syb-0.1:=[profile?] =dev-haskell/tagsoup-0.13.1:=[profile?] =dev-haskell/temporary-1.1:=[profile?] =dev-haskell/texmath-0.8.0.1:=[profile?] =dev-haskell/text-0.11:=[profile?] =dev-haskell/unordered-containers-0.2:=[profile?] =dev-haskell/vector-0.10:=[profile?] =dev-haskell/xml-1.3.12:=[profile?] =dev-haskell/yaml-0.8.8.2:=[profile?] =dev-haskell/zip-archive-0.2.3.4:=[profile?] =dev-haskell/zlib-0.5:=[profile?] =dev-lang/ghc-7.4.1:= + embed_data_files? ( dev-haskell/hsb2hs ) + https? ( >=dev-haskell/http-client-0.3.2:=[profile?] =dev-haskell/http-client-tls-0.2:=[profile?] =dev-haskell/http-types-0.8:=[profile?] =dev-haskell/network-2.6:=[profile?] + >=dev-haskell/network-uri-2.6:=[profile?] =dev-haskell/network-2:=[profile?] =dev-haskell/wai-0.3:=[profile?] + dev-haskell/wai-extra:=[profile?] + !https? ( dev-haskell/http-types:=[profile?] ) ) +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-1.10 + test? ( >=dev-haskell/ansi-terminal-0.5 =dev-haskell/diff-0.2 =dev-haskell/executable-path-0.0 =dev-haskell/hunit-1.2 =dev-haskell/quickcheck-2.4 =dev-haskell/test-framework-0.3 =dev-haskell/test-framework-hunit-0.2 =dev-haskell/test-framework-quickcheck2-0.2.9