summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Rüger <mrueg@gentoo.org>2018-06-08 16:22:09 +0200
committerManuel Rüger <mrueg@gentoo.org>2018-06-08 16:22:09 +0200
commitc9c3e379d440eca496b5d77daf4e6052ff142cdc (patch)
treec443de762b41ee036ed01d2d77dbe241849776c3 /dev-haskell/prettyprinter
parentpackage.mask: Remove more obsolete masks (diff)
downloadgentoo-c9c3e379d440eca496b5d77daf4e6052ff142cdc.tar.gz
gentoo-c9c3e379d440eca496b5d77daf4e6052ff142cdc.tar.bz2
gentoo-c9c3e379d440eca496b5d77daf4e6052ff142cdc.zip
dev-haskell/prettyprinter: Initial version
Package-Manager: Portage-2.3.40, Repoman-2.3.9
Diffstat (limited to 'dev-haskell/prettyprinter')
-rw-r--r--dev-haskell/prettyprinter/Manifest1
-rw-r--r--dev-haskell/prettyprinter/metadata.xml11
-rw-r--r--dev-haskell/prettyprinter/prettyprinter-1.2.0.1.ebuild38
3 files changed, 50 insertions, 0 deletions
diff --git a/dev-haskell/prettyprinter/Manifest b/dev-haskell/prettyprinter/Manifest
new file mode 100644
index 000000000000..51cd2bdd661b
--- /dev/null
+++ b/dev-haskell/prettyprinter/Manifest
@@ -0,0 +1 @@
+DIST prettyprinter-1.2.0.1.tar.gz 46373 BLAKE2B 8d71f9dceffd40a228e2911397ecd8cce1ed141f16fbca287b3005693f448c4fb43a974b5ddb7e60d2f33ceed58d69ccd3c6fb4490bff477e3598f414cdc46c6 SHA512 f51e546915d799a07f7b7a60c53f1cd1491535bcad6199341c14aeb96250da85f5527b94ad19e2c297fcf4b02d4561c2eaad1458c4b9c870fb0dcfeb142d9771
diff --git a/dev-haskell/prettyprinter/metadata.xml b/dev-haskell/prettyprinter/metadata.xml
new file mode 100644
index 000000000000..030200004841
--- /dev/null
+++ b/dev-haskell/prettyprinter/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>mrueg@gentoo.org</email>
+ <name>Manuel Rüger</name>
+ </maintainer>
+ <longdescription>
+ A prettyprinter/text rendering engine. Easy to use, well-documented, ANSI terminal backend exists, HTML backend is trivial to implement, no name clashes, Text-based, extensible.
+ </longdescription>
+</pkgmetadata>
diff --git a/dev-haskell/prettyprinter/prettyprinter-1.2.0.1.ebuild b/dev-haskell/prettyprinter/prettyprinter-1.2.0.1.ebuild
new file mode 100644
index 000000000000..214b9a0cde08
--- /dev/null
+++ b/dev-haskell/prettyprinter/prettyprinter-1.2.0.1.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+# ebuild generated by hackport 0.5.5
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
+inherit haskell-cabal
+
+DESCRIPTION="A modern, easy to use, well-documented, extensible prettyprinter"
+HOMEPAGE="https://github.com/quchen/prettyprinter"
+SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="BSD-2"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc"
+
+RDEPEND=">=dev-haskell/semigroups-0.1:=[profile?]
+ >=dev-haskell/text-1.2:=[profile?]
+ dev-haskell/void:=[profile?]
+ >=dev-lang/ghc-7.8.2:=
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.18.1.3
+ test? ( >=dev-haskell/doctest-0.9
+ >=dev-haskell/pgp-wordlist-0.1
+ >=dev-haskell/semigroups-0.6
+ >=dev-haskell/tasty-0.10
+ >=dev-haskell/tasty-hunit-0.9
+ >=dev-haskell/tasty-quickcheck-0.8 )
+"
+
+src_configure() {
+ haskell-cabal_src_configure \
+ $(cabal_flag doc buildreadme)
+}