@@ -1,19 +1,19 @@
1−Name: pandoc
1+name: pandoc
2−Version: 2.0
2+version: 2.0
3−Cabal-Version: >= 1.10
3+cabal-version: >= 1.10
4−Build-Type: Custom
4+build-type: Custom
5−License: GPL
5+license: GPL
6−License-File: COPYING.md
6+license-file: COPYING.md
7−Copyright: (c) 2006-2017 John MacFarlane
7+copyright: (c) 2006-2017 John MacFarlane
8−Author: John MacFarlane <jgm@berkeley.edu>
8+author: John MacFarlane <jgm@berkeley.edu>
9−Maintainer: John MacFarlane <jgm@berkeley.edu>
9+maintainer: John MacFarlane <jgm@berkeley.edu>
10−Bug-Reports: https://github.com/jgm/pandoc/issues
10+bug-reports: https://github.com/jgm/pandoc/issues
11−Stability: alpha
11+stability: alpha
12−Homepage: http://pandoc.org
12+homepage: http://pandoc.org
13−Category: Text
13+category: Text
14−Tested-With: GHC == 7.8.4, GHC == 7.10.3, GHC == 8.0.2
14+tested-with: GHC == 7.8.4, GHC == 7.10.3, GHC == 8.0.2
15−Synopsis: Conversion between markup formats
15+synopsis: Conversion between markup formats
16−Description: Pandoc is a Haskell library for converting from one markup
16+description: Pandoc is a Haskell library for converting from one markup
17 format to another, and a command-line tool that uses
17 format to another, and a command-line tool that uses
18 this library. It can read several dialects of Markdown and
18 this library. It can read several dialects of Markdown and
19 (subsets of) HTML, reStructuredText, LaTeX, DocBook,
19 (subsets of) HTML, reStructuredText, LaTeX, DocBook,
@@ -35,7 +35,7 @@ Description: Pandoc is a Haskell library for converting from one markup
35 which convert this native representation into a target
35 which convert this native representation into a target
36 format. Thus, adding an input or output format requires
36 format. Thus, adding an input or output format requires
37 only adding a reader or writer.
37 only adding a reader or writer.
38−Data-Files:
38+data-files:
39 -- templates
39 -- templates
40 data/templates/default.html4
40 data/templates/default.html4
41 data/templates/default.html5
41 data/templates/default.html5
@@ -119,7 +119,7 @@ Data-Files:
119 data/jats.csl
119 data/jats.csl
120 -- documentation
120 -- documentation
121 MANUAL.txt, COPYRIGHT
121 MANUAL.txt, COPYRIGHT
122−Extra-Source-Files:
122+extra-source-files:
123 -- documentation
123 -- documentation
124 INSTALL.md, BUGS, README.md, CONTRIBUTING.md, changelog
124 INSTALL.md, BUGS, README.md, CONTRIBUTING.md, changelog
125 man/pandoc.1
125 man/pandoc.1
@@ -138,6 +138,7 @@ Extra-Source-Files:
138 test/*.native
138 test/*.native
139 test/command/*.md
139 test/command/*.md
140 test/command/3533-rst-csv-tables.csv
140 test/command/3533-rst-csv-tables.csv
141+ test/command/3880.txt
141 test/command/abbrevs
142 test/command/abbrevs
142 test/command/SVG_logo-without-xml-declaration.svg
143 test/command/SVG_logo-without-xml-declaration.svg
143 test/command/SVG_logo.svg
144 test/command/SVG_logo.svg
@@ -260,32 +261,39 @@ Extra-Source-Files:
260 test/odt/markdown/*.md
261 test/odt/markdown/*.md
261 test/odt/native/*.native
262 test/odt/native/*.native
262 test/lua/*.lua
263 test/lua/*.lua
263−Source-repository head
264+source-repository head
264 type: git
265 type: git
265 location: git://github.com/jgm/pandoc.git
266 location: git://github.com/jgm/pandoc.git
269+ Description: Use static linking for pandoc executable.
267−Flag embed_data_files
272+flag embed_data_files
268 Description: Embed data files in binary for relocatable executable.
273 Description: Embed data files in binary for relocatable executable.
269 Default: False
274 Default: False
271−Flag trypandoc
276+flag trypandoc
272 Description: Build trypandoc cgi executable.
277 Description: Build trypandoc cgi executable.
273 Default: False
278 Default: False
275−Flag weigh-pandoc
280+flag weigh-pandoc
276 Description: Build weigh-pandoc to measure memory usage.
281 Description: Build weigh-pandoc to measure memory usage.
277 Default: False
282 Default: False
279−Flag network-uri
284+flag network-uri
280 Description: Get Network.URI from the network-uri package
285 Description: Get Network.URI from the network-uri package
281 Default: True
286 Default: True
283−Flag old-locale
288+flag old-locale
284 Description: Use old-locale and time < 1.5
289 Description: Use old-locale and time < 1.5
285 Default: False
290 Default: False
287−Library
292+custom-setup
288− Build-Depends: base >= 4.7 && < 5,
293+ setup-depends: base, Cabal
296+ build-depends: base >= 4.7 && < 5,
289 syb >= 0.1 && < 0.8,
297 syb >= 0.1 && < 0.8,
290 containers >= 0.4.2.1 && < 0.6,
298 containers >= 0.4.2.1 && < 0.6,
291 unordered-containers >= 0.2 && < 0.3,
299 unordered-containers >= 0.2 && < 0.3,
@@ -331,37 +339,37 @@ Library
331 http-types >= 0.8 && < 0.10,
339 http-types >= 0.8 && < 0.10,
332 csv-conduit >= 0.6 && < 0.7
340 csv-conduit >= 0.6 && < 0.7
333 if os(windows)
341 if os(windows)
334− Cpp-options: -D_WINDOWS
342+ cpp-options: -D_WINDOWS
336− Build-Depends: unix >= 2.4 && < 2.8
344+ build-depends: unix >= 2.4 && < 2.8
337 if flag(old-locale)
345 if flag(old-locale)
338− Build-Depends: old-locale >= 1 && < 1.1,
346+ build-depends: old-locale >= 1 && < 1.1,
339 time >= 1.2 && < 1.5
347 time >= 1.2 && < 1.5
341− Build-Depends: time >= 1.5 && < 1.9
349+ build-depends: time >= 1.5 && < 1.9
342 if flag(network-uri)
350 if flag(network-uri)
343− Build-Depends: network-uri >= 2.6 && < 2.7, network >= 2.6
351+ build-depends: network-uri >= 2.6 && < 2.7, network >= 2.6
345− Build-Depends: network >= 2 && < 2.6
353+ build-depends: network >= 2 && < 2.6
346 if flag(embed_data_files)
354 if flag(embed_data_files)
347 cpp-options: -DEMBED_DATA_FILES
355 cpp-options: -DEMBED_DATA_FILES
348 build-depends: file-embed >= 0.0 && < 0.1
356 build-depends: file-embed >= 0.0 && < 0.1
349 other-modules: Text.Pandoc.Data
357 other-modules: Text.Pandoc.Data
350 if os(windows)
358 if os(windows)
351− Cpp-options: -D_WINDOWS
359+ cpp-options: -D_WINDOWS
352− Ghc-Options: -Wall -fno-warn-unused-do-bind
360+ ghc-options: -Wall -fno-warn-unused-do-bind
353− Ghc-Prof-Options: -fprof-auto-exported
361+ ghc-prof-options: -fprof-auto-exported
354− Default-Language: Haskell98
362+ default-language: Haskell98
355− Other-Extensions: PatternGuards, OverloadedStrings,
363+ other-extensions: PatternGuards, OverloadedStrings,
356 ScopedTypeVariables, GeneralizedNewtypeDeriving,
364 ScopedTypeVariables, GeneralizedNewtypeDeriving,
357 RelaxedPolyRec, DeriveDataTypeable, TypeSynonymInstances,
365 RelaxedPolyRec, DeriveDataTypeable, TypeSynonymInstances,
358 FlexibleInstances
366 FlexibleInstances
359− Hs-Source-Dirs: src
367+ hs-source-dirs: src
360 if impl(ghc < 7.10)
368 if impl(ghc < 7.10)
361− Hs-Source-Dirs: prelude
369+ hs-source-dirs: prelude
362− Other-Modules: Prelude
370+ other-modules: Prelude
364− Exposed-Modules: Text.Pandoc,
372+ exposed-modules: Text.Pandoc,
365 Text.Pandoc.App,
373 Text.Pandoc.App,
366 Text.Pandoc.Options,
374 Text.Pandoc.Options,
367 Text.Pandoc.Extensions,
375 Text.Pandoc.Extensions,
@@ -439,7 +447,7 @@ Library
439 Text.Pandoc.Emoji,
447 Text.Pandoc.Emoji,
440 Text.Pandoc.ImageSize,
448 Text.Pandoc.ImageSize,
441 Text.Pandoc.Class
449 Text.Pandoc.Class
442− Other-Modules: Text.Pandoc.Readers.Docx.Lists,
450+ other-modules: Text.Pandoc.Readers.Docx.Lists,
443 Text.Pandoc.Readers.Docx.Combine,
451 Text.Pandoc.Readers.Docx.Combine,
444 Text.Pandoc.Readers.Docx.Parse,
452 Text.Pandoc.Readers.Docx.Parse,
445 Text.Pandoc.Readers.Docx.Util,
453 Text.Pandoc.Readers.Docx.Util,
@@ -476,66 +484,67 @@ Library
476 Text.Pandoc.Compat.Time,
484 Text.Pandoc.Compat.Time,
477 Paths_pandoc
485 Paths_pandoc
479− Buildable: True
487+ buildable: True
482− Build-Depends: pandoc, base >= 4.7 && < 5
483− Ghc-Options: -rtsopts -with-rtsopts=-K16m -Wall -fno-warn-unused-do-bind
484− Ghc-Prof-Options: -fprof-auto-exported -rtsopts -with-rtsopts=-K16m
486− Default-Language: Haskell98
489+executable pandoc
490+ build-depends: pandoc, base >= 4.7 && < 5
491+ ghc-options: -rtsopts -with-rtsopts=-K16m -Wall -fno-warn-unused-do-bind
492+ ghc-prof-options: -fprof-auto-exported -rtsopts -with-rtsopts=-K16m
495+ default-language: Haskell98
487− Other-Extensions: PatternGuards, OverloadedStrings,
496+ other-extensions: PatternGuards, OverloadedStrings,
488 ScopedTypeVariables, GeneralizedNewtypeDeriving,
497 ScopedTypeVariables, GeneralizedNewtypeDeriving,
489 RelaxedPolyRec, DeriveDataTypeable, TypeSynonymInstances,
498 RelaxedPolyRec, DeriveDataTypeable, TypeSynonymInstances,
490 FlexibleInstances
499 FlexibleInstances
491− Hs-Source-Dirs: .
500+ hs-source-dirs: .
492 if impl(ghc < 7.10)
501 if impl(ghc < 7.10)
493− Hs-Source-Dirs: prelude
502+ hs-source-dirs: prelude
494− Other-Modules: Prelude
503+ other-modules: Prelude
495− Main-Is: pandoc.hs
504+ main-is: pandoc.hs
496− Buildable: True
505+ buildable: True
497− Other-Modules: Paths_pandoc
506+ other-modules: Paths_pandoc
499−Executable trypandoc
508+executable trypandoc
500− Main-Is: trypandoc.hs
509+ main-is: trypandoc.hs
501− Hs-Source-Dirs: trypandoc
510+ hs-source-dirs: trypandoc
502 if impl(ghc < 7.10)
511 if impl(ghc < 7.10)
503− Hs-Source-Dirs: prelude
512+ hs-source-dirs: prelude
504− Other-Modules: Prelude
513+ other-modules: Prelude
505 default-language: Haskell2010
514 default-language: Haskell2010
506 if flag(trypandoc)
515 if flag(trypandoc)
507− Build-Depends: base, aeson, pandoc,
516+ build-depends: base, aeson, pandoc,
508 text, wai-extra, wai >= 0.3, http-types
517 text, wai-extra, wai >= 0.3, http-types
509− Buildable: True
518+ buildable: True
511− Buildable: False
520+ buildable: False
513−Executable weigh-pandoc
522+executable weigh-pandoc
514− Main-Is: weigh-pandoc.hs
523+ main-is: weigh-pandoc.hs
515− Hs-Source-Dirs: benchmark
524+ hs-source-dirs: benchmark
516 if impl(ghc < 7.10)
525 if impl(ghc < 7.10)
517− Hs-Source-Dirs: prelude
526+ hs-source-dirs: prelude
518− Other-Modules: Prelude
527+ other-modules: Prelude
519 if flag(weigh-pandoc)
528 if flag(weigh-pandoc)
520− Build-Depends: pandoc,
529+ build-depends: pandoc,
521 base >= 4.2 && < 5,
530 base >= 4.2 && < 5,
523 weigh >= 0.0 && < 0.1,
532 weigh >= 0.0 && < 0.1,
524 mtl >= 2.2 && < 2.3
533 mtl >= 2.2 && < 2.3
525− Buildable: True
534+ buildable: True
527− Buildable: False
536+ buildable: False
528− Ghc-Options: -rtsopts -Wall -fno-warn-unused-do-bind
537+ ghc-options: -rtsopts -Wall -fno-warn-unused-do-bind
529− Default-Language: Haskell98
538+ default-language: Haskell98
531−Test-Suite test-pandoc
540+test-suite test-pandoc
532− Type: exitcode-stdio-1.0
541+ type: exitcode-stdio-1.0
533− Main-Is: test-pandoc.hs
542+ main-is: test-pandoc.hs
534− Hs-Source-Dirs: test
543+ hs-source-dirs: test
535 if impl(ghc < 7.10)
544 if impl(ghc < 7.10)
536− Hs-Source-Dirs: prelude
545+ hs-source-dirs: prelude
537− Other-Modules: Prelude
546+ other-modules: Prelude
538− Build-Depends: base >= 4.2 && < 5,
547+ build-depends: base >= 4.2 && < 5,
539 syb >= 0.1 && < 0.8,
548 syb >= 0.1 && < 0.8,
541 pandoc-types >= 1.17.1 && < 1.18,
550 pandoc-types >= 1.17.1 && < 1.18,
@@ -557,7 +566,7 @@ Test-Suite test-pandoc
557 executable-path >= 0.0 && < 0.1,
566 executable-path >= 0.0 && < 0.1,
558 zip-archive >= 0.2.3.4 && < 0.4,
567 zip-archive >= 0.2.3.4 && < 0.4,
559 mtl >= 2.2 && < 2.3
568 mtl >= 2.2 && < 2.3
560− Other-Modules: Tests.Old
569+ other-modules: Tests.Old
561 Tests.Command
570 Tests.Command
562 Tests.Helpers
571 Tests.Helpers
563 Tests.Lua
572 Tests.Lua
@@ -585,21 +594,21 @@ Test-Suite test-pandoc
585 Tests.Writers.RST
594 Tests.Writers.RST
586 Tests.Writers.TEI
595 Tests.Writers.TEI
587 Tests.Writers.Muse
596 Tests.Writers.Muse
588− Ghc-Options: -rtsopts -Wall -fno-warn-unused-do-bind -threaded
597+ ghc-options: -rtsopts -Wall -fno-warn-unused-do-bind -threaded
589− Default-Language: Haskell98
598+ default-language: Haskell98
591benchmark benchmark-pandoc
600benchmark benchmark-pandoc
592− Type: exitcode-stdio-1.0
601+ type: exitcode-stdio-1.0
593− Main-Is: benchmark-pandoc.hs
602+ main-is: benchmark-pandoc.hs
594− Hs-Source-Dirs: benchmark
603+ hs-source-dirs: benchmark
595 if impl(ghc < 7.10)
604 if impl(ghc < 7.10)
596− Hs-Source-Dirs: prelude
605+ hs-source-dirs: prelude
597− Other-Modules: Prelude
606+ other-modules: Prelude
598− Build-Depends: pandoc,
607+ build-depends: pandoc,
599 time, bytestring, containers,
608 time, bytestring, containers,
600 base >= 4.2 && < 5,
609 base >= 4.2 && < 5,
601 text >= 0.11 && < 1.3,
610 text >= 0.11 && < 1.3,
602 syb >= 0.1 && < 0.8,
611 syb >= 0.1 && < 0.8,
603 criterion >= 1.0 && < 1.3
612 criterion >= 1.0 && < 1.3
604− Ghc-Options: -rtsopts -Wall -fno-warn-unused-do-bind
613+ ghc-options: -rtsopts -Wall -fno-warn-unused-do-bind
605− Default-Language: Haskell98
614+ default-language: Haskell98