summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2011-04-25 12:30:48 +0000
committerSergei Trofimovich <slyfox@gentoo.org>2011-04-25 12:30:48 +0000
commit7dabb8627d1c23d7a88ec65189af08d05b174f55 (patch)
treee1b8fcc76c8100eae4e9656f714dcf179d411211 /app-text/pandoc
parentRemoving ancient bash dep, adding pyparsing for --expr (diff)
downloadhistorical-7dabb8627d1c23d7a88ec65189af08d05b174f55.tar.gz
historical-7dabb8627d1c23d7a88ec65189af08d05b174f55.tar.bz2
historical-7dabb8627d1c23d7a88ec65189af08d05b174f55.zip
Initial version.
Package-Manager: portage-2.1.9.42/cvs/Linux x86_64
Diffstat (limited to 'app-text/pandoc')
-rw-r--r--app-text/pandoc/ChangeLog10
-rw-r--r--app-text/pandoc/Manifest14
-rw-r--r--app-text/pandoc/metadata.xml21
-rw-r--r--app-text/pandoc/pandoc-1.8.1.1.ebuild68
4 files changed, 113 insertions, 0 deletions
diff --git a/app-text/pandoc/ChangeLog b/app-text/pandoc/ChangeLog
new file mode 100644
index 000000000000..535c550cb116
--- /dev/null
+++ b/app-text/pandoc/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for app-text/pandoc
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/pandoc/ChangeLog,v 1.1 2011/04/25 12:30:48 slyfox Exp $
+
+*pandoc-1.8.1.1 (25 Apr 2011)
+
+ 25 Apr 2011; Sergei Trofimovich <slyfox@gentoo.org>
+ +pandoc-1.8.1.1.ebuild, +metadata.xml:
+ Initial version.
+
diff --git a/app-text/pandoc/Manifest b/app-text/pandoc/Manifest
new file mode 100644
index 000000000000..49d4a7428cf0
--- /dev/null
+++ b/app-text/pandoc/Manifest
@@ -0,0 +1,14 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+DIST pandoc-1.8.1.1.tar.gz 459135 RMD160 6909fc5358abf628a7ef2eefca673ab76db4bd91 SHA1 c5974ce9594df55a60f482c518cd5af34ec7afe2 SHA256 526355ddcbff69c0df7757d30d37e08864995b7ebd899916e329ecd19104c83c
+EBUILD pandoc-1.8.1.1.ebuild 1599 RMD160 d15ffbf50f6e9b98a60dcd46435c8e2343deea47 SHA1 b105d8cc5232c30f88934456805c1701c85b3f16 SHA256 ce5d5d4aec18d3bcf39a8e86e76a5a7c0b91ba9e94212f9adde9f81afa103e19
+MISC ChangeLog 349 RMD160 bd73bb0c5b674298f6fd7778a6a6baf7b1816264 SHA1 f6c8246a2aa718807ff20815945def589fc0afc9 SHA256 6c97537aecd108fe7d5db4337844c56df0e2c23a315c5721c37319b11eebf56e
+MISC metadata.xml 823 RMD160 ec6d5588b18f195cf4d6e10f259f5810c3d64281 SHA1 7448e8db7f71a138c2b4c378d4c4c807159b9bc3 SHA256 e16707b8d0d06a0ff099025bc880a48506c03cf32a39b5391d178265b0d411be
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.17 (GNU/Linux)
+
+iEYEARECAAYFAk21aYMACgkQcaHudmEf86o+qwCcC7HY5XjV47iWCSiMoIXzw8ym
+J/cAn2GvkQJ+svjTK56sErYpELYqdhiw
+=tTo+
+-----END PGP SIGNATURE-----
diff --git a/app-text/pandoc/metadata.xml b/app-text/pandoc/metadata.xml
new file mode 100644
index 000000000000..a1d842d3fdba
--- /dev/null
+++ b/app-text/pandoc/metadata.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>haskell</herd>
+ <maintainer>
+ <email>haskell@gentoo.org</email>
+ </maintainer>
+ <longdescription>
+ 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.
+ </longdescription>
+ <use>
+ <flag name="highlight">Add support for syntax highlighting with <pkg>dev-haskell/highlighting-kate</pkg></flag>
+ </use>
+</pkgmetadata>
diff --git a/app-text/pandoc/pandoc-1.8.1.1.ebuild b/app-text/pandoc/pandoc-1.8.1.1.ebuild
new file mode 100644
index 000000000000..d89ac2d313bf
--- /dev/null
+++ b/app-text/pandoc/pandoc-1.8.1.1.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/pandoc/pandoc-1.8.1.1.ebuild,v 1.1 2011/04/25 12:30:48 slyfox Exp $
+
+# ebuild generated by hackport 0.2.11
+
+EAPI="3"
+
+CABAL_FEATURES="bin lib profile haddock hscolour"
+inherit haskell-cabal
+
+DESCRIPTION="Conversion between markup formats"
+HOMEPAGE="http://johnmacfarlane.net/pandoc"
+SRC_URI="http://hackage.haskell.org/packages/archive/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="highlight pdf"
+RESTRICT="test" # needs quickcheck-2.4 in tree
+
+RDEPEND=">=dev-haskell/citeproc-hs-0.3.1
+ =dev-haskell/dlist-0.5*
+ =dev-haskell/http-4000.1*
+ =dev-haskell/json-0.4*
+ <dev-haskell/mtl-2.1
+ =dev-haskell/network-2.3*
+ =dev-haskell/pandoc-types-1.8*
+ >=dev-haskell/parsec-2.1
+ =dev-haskell/tagsoup-0.12*
+ =dev-haskell/texmath-0.5*
+ =dev-haskell/utf8-string-0.3*
+ =dev-haskell/xhtml-3000.2*
+ >=dev-haskell/xml-1.3.5
+ >=dev-haskell/zip-archive-0.1.1.7
+ >=dev-lang/ghc-6.10.1
+ highlight? ( =dev-haskell/highlighting-kate-0.2.9* )
+ pdf? ( virtual/latex-base )
+ "
+
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.6"
+
+pandoc_init() {
+ pandoc="${PN}"
+ pdfscript="markdown2pdf"
+}
+
+installMan() {
+ local prog=$1
+ doman "${S}/man/man1/${prog}.1"
+}
+
+src_compile() {
+ cabal_src_compile \
+ $(cabal_flag highlight highlighting)
+}
+
+src_install() {
+ pandoc_init
+ cabal_src_install
+
+ installMan "${pandoc}"
+ use pdf && installMan "${pdfscript}"
+
+ # COPYING is installed by the Cabal eclass
+ dodoc README COPYRIGHT changelog
+}