summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2021-01-18 08:26:46 +0000
committerSergei Trofimovich <slyfox@gentoo.org>2021-01-18 08:36:36 +0000
commit425bd3ddb15ee117ea9a32b1ca17f17158c095ea (patch)
treef3a3bab9c11c7051139029a4408d21fa249e4149 /dev-haskell
parentdev-haskell/timeit: new package, a depend of pandoc-2.11 (diff)
downloadgentoo-425bd3ddb15ee117ea9a32b1ca17f17158c095ea.tar.gz
gentoo-425bd3ddb15ee117ea9a32b1ca17f17158c095ea.tar.bz2
gentoo-425bd3ddb15ee117ea9a32b1ca17f17158c095ea.zip
dev-haskell/citeproc: new package, a depend of pandoc-2.11
Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'dev-haskell')
-rw-r--r--dev-haskell/citeproc/Manifest1
-rw-r--r--dev-haskell/citeproc/citeproc-0.3.0.1.ebuild49
-rw-r--r--dev-haskell/citeproc/metadata.xml18
3 files changed, 68 insertions, 0 deletions
diff --git a/dev-haskell/citeproc/Manifest b/dev-haskell/citeproc/Manifest
new file mode 100644
index 000000000000..497936f5b81d
--- /dev/null
+++ b/dev-haskell/citeproc/Manifest
@@ -0,0 +1 @@
+DIST citeproc-0.3.0.1.tar.gz 567617 BLAKE2B 8b6df78401f392d3bc3045fe183b25850328bc9a5b0c0ce9334f6cf14e4451e4a526bd23266846d8a625011b1cf5b1b52fee0a5f7c83ea405769704203da5ce6 SHA512 113f3b5dae2bfce13a4b39ef87ea21f763a897182c7a10eae5e7aabbddbb12b773be6583f51578a92bf078e40b0718a69b908049f700f317bbfb509253dae27b
diff --git a/dev-haskell/citeproc/citeproc-0.3.0.1.ebuild b/dev-haskell/citeproc/citeproc-0.3.0.1.ebuild
new file mode 100644
index 000000000000..ee9b06f64280
--- /dev/null
+++ b/dev-haskell/citeproc/citeproc-0.3.0.1.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+# ebuild generated by hackport 0.6.7.9999
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
+inherit haskell-cabal
+
+DESCRIPTION="Generates citations and bibliography from CSL styles"
+HOMEPAGE="https://hackage.haskell.org/package/citeproc"
+SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz"
+
+LICENSE="BSD-2"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86"
+IUSE="executable icu"
+
+RDEPEND="dev-haskell/aeson:=[profile?]
+ dev-haskell/attoparsec:=[profile?]
+ >=dev-haskell/base-compat-0.10:=[profile?]
+ >=dev-haskell/case-insensitive-1.2:=[profile?] <dev-haskell/case-insensitive-1.3:=[profile?]
+ dev-haskell/data-default:=[profile?]
+ dev-haskell/file-embed:=[profile?]
+ >=dev-haskell/pandoc-types-1.22:=[profile?] <dev-haskell/pandoc-types-1.23:=[profile?]
+ dev-haskell/safe:=[profile?]
+ dev-haskell/scientific:=[profile?]
+ dev-haskell/text:=[profile?]
+ dev-haskell/uniplate:=[profile?]
+ dev-haskell/vector:=[profile?]
+ dev-haskell/xml-conduit:=[profile?]
+ >=dev-lang/ghc-8.6.5:=
+ executable? ( dev-haskell/aeson-pretty:=[profile?] )
+ icu? ( dev-haskell/text-icu:=[profile?] )
+ !icu? ( >=dev-haskell/rfc5051-0.2:=[profile?] <dev-haskell/rfc5051-0.3:=[profile?] )
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-2.4.0.1
+ test? ( >=dev-haskell/diff-0.4
+ dev-haskell/mtl
+ dev-haskell/timeit )
+"
+
+src_configure() {
+ haskell-cabal_src_configure \
+ $(cabal_flag executable executable) \
+ $(cabal_flag icu icu)
+}
diff --git a/dev-haskell/citeproc/metadata.xml b/dev-haskell/citeproc/metadata.xml
new file mode 100644
index 000000000000..60badcbca1f9
--- /dev/null
+++ b/dev-haskell/citeproc/metadata.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>haskell@gentoo.org</email>
+ <name>Gentoo Haskell</name>
+ </maintainer>
+ <use>
+ <flag name="executable">Build citeproc executable</flag>
+ <flag name="icu">Use Haskell bindings to the ICU library</flag>
+ </use>
+ <longdescription>
+ citeproc parses CSL style files and uses them to
+ generate a list of formatted citations and bibliography
+ entries. For more information about CSL, see
+ &lt;https://citationstyles.org/&gt;.
+ </longdescription>
+</pkgmetadata>