summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJack Todaro <solpeth@posteo.org>2020-07-30 11:50:18 +1000
committerSergei Trofimovich <slyfox@gentoo.org>2020-08-01 09:02:51 +0100
commitbe734a83907a15677da386a571c98cf750d2899c (patch)
tree32a0f3daf40e473403583ede8f8dbae948b2858b /dev-haskell/mustache
parentdev-haskell/wreq: add package (diff)
downloadgentoo-be734a83907a15677da386a571c98cf750d2899c.tar.gz
gentoo-be734a83907a15677da386a571c98cf750d2899c.tar.bz2
gentoo-be734a83907a15677da386a571c98cf750d2899c.zip
dev-haskell/mustache: add package
Package-Manager: Portage-3.0.1, Repoman-2.3.23 Signed-off-by: Jack Todaro <solpeth@posteo.org> Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'dev-haskell/mustache')
-rw-r--r--dev-haskell/mustache/Manifest1
-rw-r--r--dev-haskell/mustache/metadata.xml16
-rw-r--r--dev-haskell/mustache/mustache-2.3.1.ebuild44
3 files changed, 61 insertions, 0 deletions
diff --git a/dev-haskell/mustache/Manifest b/dev-haskell/mustache/Manifest
new file mode 100644
index 00000000000..b595bbadb82
--- /dev/null
+++ b/dev-haskell/mustache/Manifest
@@ -0,0 +1 @@
+DIST mustache-2.3.1.tar.gz 20207 BLAKE2B 87691b14e85ac5934c08d1b3f8261d6e7bb3786b808d0f1a04630b96b4f2ed4aeae4d049ccf0e408b47586e990db2bbc09e3eac56af67922538e73250ef486d5 SHA512 162360cb635d40086721d4dd350036884207679b240d30420b9fc71eebef847e542bd143275931a22a42c583d513d0c906a6b112d780824dc189ad07e3027aa3
diff --git a/dev-haskell/mustache/metadata.xml b/dev-haskell/mustache/metadata.xml
new file mode 100644
index 00000000000..54617047915
--- /dev/null
+++ b/dev-haskell/mustache/metadata.xml
@@ -0,0 +1,16 @@
+<?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>
+ <longdescription>
+ Allows parsing and rendering template files with mustache markup. See the
+ mustache &lt;http://mustache.github.io/mustache.5.html language reference&gt;.
+
+ Implements the mustache spec version 1.1.3.
+
+ /Note/: Versions including and beyond 0.4 are compatible with ghc 7.8 again.
+ </longdescription>
+</pkgmetadata>
diff --git a/dev-haskell/mustache/mustache-2.3.1.ebuild b/dev-haskell/mustache/mustache-2.3.1.ebuild
new file mode 100644
index 00000000000..23b768a9e9d
--- /dev/null
+++ b/dev-haskell/mustache/mustache-2.3.1.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+# ebuild generated by hackport 0.6.2
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
+inherit haskell-cabal
+
+DESCRIPTION="A mustache template parser library"
+HOMEPAGE="https://github.com/JustusAdam/mustache"
+SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RESTRICT=test # tries to access network
+
+RDEPEND="dev-haskell/aeson:=[profile?]
+ dev-haskell/cmdargs:=[profile?]
+ dev-haskell/either:=[profile?]
+ >=dev-haskell/mtl-2.2.1:=[profile?]
+ dev-haskell/parsec:=[profile?]
+ dev-haskell/scientific:=[profile?]
+ dev-haskell/text:=[profile?]
+ dev-haskell/th-lift:=[profile?]
+ dev-haskell/unordered-containers:=[profile?]
+ dev-haskell/vector:=[profile?]
+ dev-haskell/yaml:=[profile?]
+ >=dev-lang/ghc-7.8.2:=
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.18.1.3
+ test? ( dev-haskell/base-unicode-symbols
+ dev-haskell/hspec
+ dev-haskell/lens
+ dev-haskell/tar
+ dev-haskell/temporary
+ dev-haskell/wreq
+ dev-haskell/zlib )
+"