pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/converters/pandoc
Module Name: pkgsrc
Committed By: pho
Date: Sat Jan 18 02:16:39 UTC 2020
Added Files:
pkgsrc/converters/pandoc: DESCR Makefile buildlink3.mk distinfo
pkgsrc/converters/pandoc/patches: patch-pandoc.cabal
Log Message:
Import pandoc-2.9.1.1 from wip
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
several dialects of Markdown and (subsets of) HTML, reStructuredText,
LaTeX, DocBook, JATS, MediaWiki markup, DokuWiki markup, TWiki markup,
TikiWiki markup, Jira markup, Creole 1.0, Haddock markup, OPML, Emacs
Org-Mode, Emacs Muse, txt2tags, ipynb (Jupyter notebooks), Vimwiki,
Word Docx, ODT, EPUB, FictionBook2, roff man, and Textile, and it can
write Markdown, reStructuredText, XHTML, HTML 5, LaTeX, ConTeXt,
DocBook, JATS, OPML, TEI, OpenDocument, ODT, Word docx, PowerPoint
pptx, RTF, MediaWiki, DokuWiki, XWiki, ZimWiki, Textile, Jira, roff
man, roff ms, plain text, Emacs Org-Mode, AsciiDoc, Haddock markup,
EPUB (v2 and v3), ipynb, FictionBook2, InDesign ICML, Muse, LaTeX
beamer slides, and several kinds of HTML/JavaScript slide shows (S5,
Slidy, Slideous, DZSlides, reveal.js).
In contrast to most existing tools for converting Markdown to HTML,
pandoc has a modular design: it consists of a set of readers, which
parse text in a given format and produce a native representation of
the document, and a set of writers, which convert this native
representation into a target format. Thus, adding an input or output
format requires only adding a reader or writer.
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/converters/pandoc/DESCR \
pkgsrc/converters/pandoc/Makefile pkgsrc/converters/pandoc/buildlink3.mk \
pkgsrc/converters/pandoc/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/converters/pandoc/patches/patch-pandoc.cabal
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Added files:
Index: pkgsrc/converters/pandoc/DESCR
diff -u /dev/null pkgsrc/converters/pandoc/DESCR:1.1
--- /dev/null Sat Jan 18 02:16:39 2020
+++ pkgsrc/converters/pandoc/DESCR Sat Jan 18 02:16:39 2020
@@ -0,0 +1,21 @@
+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
+several dialects of Markdown and (subsets of) HTML, reStructuredText,
+LaTeX, DocBook, JATS, MediaWiki markup, DokuWiki markup, TWiki markup,
+TikiWiki markup, Jira markup, Creole 1.0, Haddock markup, OPML, Emacs
+Org-Mode, Emacs Muse, txt2tags, ipynb (Jupyter notebooks), Vimwiki,
+Word Docx, ODT, EPUB, FictionBook2, roff man, and Textile, and it can
+write Markdown, reStructuredText, XHTML, HTML 5, LaTeX, ConTeXt,
+DocBook, JATS, OPML, TEI, OpenDocument, ODT, Word docx, PowerPoint
+pptx, RTF, MediaWiki, DokuWiki, XWiki, ZimWiki, Textile, Jira, roff
+man, roff ms, plain text, Emacs Org-Mode, AsciiDoc, Haddock markup,
+EPUB (v2 and v3), ipynb, FictionBook2, InDesign ICML, Muse, LaTeX
+beamer slides, and several kinds of HTML/JavaScript slide shows (S5,
+Slidy, Slideous, DZSlides, reveal.js).
+
+In contrast to most existing tools for converting Markdown to HTML,
+pandoc has a modular design: it consists of a set of readers, which
+parse text in a given format and produce a native representation of
+the document, and a set of writers, which convert this native
+representation into a target format. Thus, adding an input or output
+format requires only adding a reader or writer.
Index: pkgsrc/converters/pandoc/Makefile
diff -u /dev/null pkgsrc/converters/pandoc/Makefile:1.1
--- /dev/null Sat Jan 18 02:16:39 2020
+++ pkgsrc/converters/pandoc/Makefile Sat Jan 18 02:16:39 2020
@@ -0,0 +1,74 @@
+# $NetBSD: Makefile,v 1.1 2020/01/18 02:16:39 pho Exp $
+
+DISTNAME= pandoc-2.9.1.1
+PKGNAME= ${DISTNAME}
+CATEGORIES= converters
+
+MAINTAINER= zecrazytux%zecrazytux.net@localhost
+COMMENT= Conversion between markup formats
+LICENSE= gnu-gpl-v2
+
+# When -O2 is in effect, GHC 8.8.1 uses whopping 1 TiB of virtual
+# memory (what?) to compile src/Text/Pandoc/Writers/RST.hs for some
+# unknown reason, possibly related to
+# https://gitlab.haskell.org/ghc/ghc/issues/5642
+HASKELL_OPTIMIZATION_LEVEL= 1
+
+# Parallelization is unsafe because of the extremely high memory
+# consumption even with -O1. It uses 7.5 GiB of virtual memory even
+# with no parallelism.
+MAKE_JOBS_SAFE= NO
+
+INSTALLATION_DIRS+= ${PKGMANDIR}/man1
+post-install:
+ ${INSTALL_MAN} ${WRKSRC}/man/pandoc.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+
+.include "../../converters/hs-aeson/buildlink3.mk"
+.include "../../converters/hs-aeson-pretty/buildlink3.mk"
+.include "../../textproc/hs-attoparsec/buildlink3.mk"
+.include "../../converters/hs-base64-bytestring/buildlink3.mk"
+.include "../../textproc/hs-blaze-html/buildlink3.mk"
+.include "../../textproc/hs-blaze-markup/buildlink3.mk"
+.include "../../textproc/hs-case-insensitive/buildlink3.mk"
+.include "../../textproc/hs-cmark-gfm/buildlink3.mk"
+.include "../../devel/hs-data-default/buildlink3.mk"
+.include "../../textproc/hs-doclayout/buildlink3.mk"
+.include "../../textproc/hs-doctemplates/buildlink3.mk"
+.include "../../converters/hs-emojis/buildlink3.mk"
+.include "../../devel/hs-exceptions/buildlink3.mk"
+.include "../../textproc/hs-Glob/buildlink3.mk"
+.include "../../textproc/hs-haddock-library/buildlink3.mk"
+.include "../../lang/hs-hslua/buildlink3.mk"
+.include "../../devel/hs-hslua-module-system/buildlink3.mk"
+.include "../../textproc/hs-hslua-module-text/buildlink3.mk"
+.include "../../textproc/hs-HsYAML/buildlink3.mk"
+.include "../../www/hs-HTTP/buildlink3.mk"
+.include "../../www/hs-http-client/buildlink3.mk"
+.include "../../www/hs-http-client-tls/buildlink3.mk"
+.include "../../www/hs-http-types/buildlink3.mk"
+.include "../../devel/hs-ipynb/buildlink3.mk"
+.include "../../textproc/hs-jira-wiki-markup/buildlink3.mk"
+.include "../../graphics/hs-JuicyPixels/buildlink3.mk"
+.include "../../net/hs-network/buildlink3.mk"
+.include "../../net/hs-network-uri/buildlink3.mk"
+.include "../../textproc/hs-pandoc-types/buildlink3.mk"
+.include "../../devel/hs-random/buildlink3.mk"
+.include "../../devel/hs-safe/buildlink3.mk"
+.include "../../math/hs-scientific/buildlink3.mk"
+.include "../../security/hs-SHA/buildlink3.mk"
+.include "../../textproc/hs-skylighting/buildlink3.mk"
+.include "../../textproc/hs-skylighting-core/buildlink3.mk"
+.include "../../devel/hs-split/buildlink3.mk"
+.include "../../devel/hs-syb/buildlink3.mk"
+.include "../../textproc/hs-tagsoup/buildlink3.mk"
+.include "../../sysutils/hs-temporary/buildlink3.mk"
+.include "../../textproc/hs-texmath/buildlink3.mk"
+.include "../../converters/hs-text-conversions/buildlink3.mk"
+.include "../../textproc/hs-unicode-transforms/buildlink3.mk"
+.include "../../devel/hs-unordered-containers/buildlink3.mk"
+.include "../../devel/hs-vector/buildlink3.mk"
+.include "../../textproc/hs-xml/buildlink3.mk"
+.include "../../archivers/hs-zip-archive/buildlink3.mk"
+.include "../../archivers/hs-zlib/buildlink3.mk"
+.include "../../mk/haskell.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/converters/pandoc/buildlink3.mk
diff -u /dev/null pkgsrc/converters/pandoc/buildlink3.mk:1.1
--- /dev/null Sat Jan 18 02:16:39 2020
+++ pkgsrc/converters/pandoc/buildlink3.mk Sat Jan 18 02:16:39 2020
@@ -0,0 +1,61 @@
+# $NetBSD: buildlink3.mk,v 1.1 2020/01/18 02:16:39 pho Exp $
+
+BUILDLINK_TREE+= pandoc
+
+.if !defined(PANDOC_BUILDLINK3_MK)
+PANDOC_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.pandoc+= pandoc>=2.9.1
+BUILDLINK_ABI_DEPENDS.pandoc+= pandoc>=2.9.1.1
+BUILDLINK_PKGSRCDIR.pandoc?= ../../converters/pandoc
+
+.include "../../converters/hs-aeson/buildlink3.mk"
+.include "../../converters/hs-aeson-pretty/buildlink3.mk"
+.include "../../textproc/hs-attoparsec/buildlink3.mk"
+.include "../../converters/hs-base64-bytestring/buildlink3.mk"
+.include "../../textproc/hs-blaze-html/buildlink3.mk"
+.include "../../textproc/hs-blaze-markup/buildlink3.mk"
+.include "../../textproc/hs-case-insensitive/buildlink3.mk"
+.include "../../textproc/hs-cmark-gfm/buildlink3.mk"
+.include "../../devel/hs-data-default/buildlink3.mk"
+.include "../../textproc/hs-doclayout/buildlink3.mk"
+.include "../../textproc/hs-doctemplates/buildlink3.mk"
+.include "../../converters/hs-emojis/buildlink3.mk"
+.include "../../devel/hs-exceptions/buildlink3.mk"
+.include "../../textproc/hs-Glob/buildlink3.mk"
+.include "../../textproc/hs-haddock-library/buildlink3.mk"
+.include "../../lang/hs-hslua/buildlink3.mk"
+.include "../../devel/hs-hslua-module-system/buildlink3.mk"
+.include "../../textproc/hs-hslua-module-text/buildlink3.mk"
+.include "../../textproc/hs-HsYAML/buildlink3.mk"
+.include "../../www/hs-HTTP/buildlink3.mk"
+.include "../../www/hs-http-client/buildlink3.mk"
+.include "../../www/hs-http-client-tls/buildlink3.mk"
+.include "../../www/hs-http-types/buildlink3.mk"
+.include "../../devel/hs-ipynb/buildlink3.mk"
+.include "../../textproc/hs-jira-wiki-markup/buildlink3.mk"
+.include "../../graphics/hs-JuicyPixels/buildlink3.mk"
+.include "../../net/hs-network/buildlink3.mk"
+.include "../../net/hs-network-uri/buildlink3.mk"
+.include "../../textproc/hs-pandoc-types/buildlink3.mk"
+.include "../../devel/hs-random/buildlink3.mk"
+.include "../../devel/hs-safe/buildlink3.mk"
+.include "../../math/hs-scientific/buildlink3.mk"
+.include "../../security/hs-SHA/buildlink3.mk"
+.include "../../textproc/hs-skylighting/buildlink3.mk"
+.include "../../textproc/hs-skylighting-core/buildlink3.mk"
+.include "../../devel/hs-split/buildlink3.mk"
+.include "../../devel/hs-syb/buildlink3.mk"
+.include "../../textproc/hs-tagsoup/buildlink3.mk"
+.include "../../sysutils/hs-temporary/buildlink3.mk"
+.include "../../textproc/hs-texmath/buildlink3.mk"
+.include "../../converters/hs-text-conversions/buildlink3.mk"
+.include "../../textproc/hs-unicode-transforms/buildlink3.mk"
+.include "../../devel/hs-unordered-containers/buildlink3.mk"
+.include "../../devel/hs-vector/buildlink3.mk"
+.include "../../textproc/hs-xml/buildlink3.mk"
+.include "../../archivers/hs-zip-archive/buildlink3.mk"
+.include "../../archivers/hs-zlib/buildlink3.mk"
+.endif # PANDOC_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -pandoc
Index: pkgsrc/converters/pandoc/distinfo
diff -u /dev/null pkgsrc/converters/pandoc/distinfo:1.1
--- /dev/null Sat Jan 18 02:16:39 2020
+++ pkgsrc/converters/pandoc/distinfo Sat Jan 18 02:16:39 2020
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2020/01/18 02:16:39 pho Exp $
+
+SHA1 (pandoc-2.9.1.1.tar.gz) = ce6512c197e606a538cd4da00ae8d500a1cbe8c2
+RMD160 (pandoc-2.9.1.1.tar.gz) = f0da516b5cb49b30015da3ffceb3f9c4b5160656
+SHA512 (pandoc-2.9.1.1.tar.gz) = de9afcaa1dfa3c253e5a108a3ea30771d90b820f9a033753fc1bce89293ec6c847073eb77ab6682a746d4719ba258ab36e299b6b330da50f49399fc5fcf54002
+Size (pandoc-2.9.1.1.tar.gz) = 12570248 bytes
+SHA1 (patch-pandoc.cabal) = e3d8f26db26609712ecb25dbb71c25953d0944e7
Index: pkgsrc/converters/pandoc/patches/patch-pandoc.cabal
diff -u /dev/null pkgsrc/converters/pandoc/patches/patch-pandoc.cabal:1.1
--- /dev/null Sat Jan 18 02:16:39 2020
+++ pkgsrc/converters/pandoc/patches/patch-pandoc.cabal Sat Jan 18 02:16:39 2020
@@ -0,0 +1,15 @@
+$NetBSD: patch-pandoc.cabal,v 1.1 2020/01/18 02:16:39 pho Exp $
+
+Relax the upper bound on doclayout.
+
+--- pandoc.cabal.orig 2020-01-05 19:15:21.000000000 +0000
++++ pandoc.cabal
+@@ -424,7 +424,7 @@ library
+ case-insensitive >= 1.2 && < 1.3,
+ unicode-transforms >= 0.3 && < 0.4,
+ HsYAML >= 0.2 && < 0.3,
+- doclayout >= 0.2.0.1 && < 0.3,
++ doclayout >= 0.2.0.1 && < 0.4,
+ ipynb >= 0.1 && < 0.2,
+ attoparsec >= 0.12 && < 0.14,
+ text-conversions >= 0.3 && < 0.4,
Home |
Main Index |
Thread Index |
Old Index