summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2017-05-28 13:37:20 +0100
committerSergei Trofimovich <slyfox@gentoo.org>2017-05-28 18:52:50 +0100
commitc58288f033f292e4ec8216c10e458d292745d32a (patch)
tree6671d9c0d10817f62cadf3d56c6a4054b0db49fe /dev-haskell
parentdev-haskell/unicode-transforms: new package, a depend of dev-haskell/stack (diff)
downloadgentoo-c58288f033f292e4ec8216c10e458d292745d32a.tar.gz
gentoo-c58288f033f292e4ec8216c10e458d292745d32a.tar.bz2
gentoo-c58288f033f292e4ec8216c10e458d292745d32a.zip
dev-haskell/text-metrics: new package, a depend of dev-haskell/stack
Calculate various string metrics efficiently Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'dev-haskell')
-rw-r--r--dev-haskell/text-metrics/Manifest1
-rw-r--r--dev-haskell/text-metrics/metadata.xml11
-rw-r--r--dev-haskell/text-metrics/text-metrics-0.2.0.ebuild34
3 files changed, 46 insertions, 0 deletions
diff --git a/dev-haskell/text-metrics/Manifest b/dev-haskell/text-metrics/Manifest
new file mode 100644
index 000000000000..00e13674b969
--- /dev/null
+++ b/dev-haskell/text-metrics/Manifest
@@ -0,0 +1 @@
+DIST text-metrics-0.2.0.tar.gz 8660 SHA256 082304ce14ac6182cbb93f51207d90b91d104e5d1fc1b17bbe1c9280ebffe43a SHA512 6a7a2b78fcb7efd03e32bf093b2820837f5b9997574d724fd6e67b789a8fcb166ed1396e49d925c55c278e0e72615ba99e40f630092e961871a7821e5b513d70 WHIRLPOOL b167afbca98e1f8aaaa9b1a5c991ff37617df0aa1fa0b95b04ead0a63955f2a48038f5c105ba585336e6dd3147c0d31aa7e14e38d376d545ba8e70c6cfea2225
diff --git a/dev-haskell/text-metrics/metadata.xml b/dev-haskell/text-metrics/metadata.xml
new file mode 100644
index 000000000000..a94b82566b9e
--- /dev/null
+++ b/dev-haskell/text-metrics/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="project">
+ <email>haskell@gentoo.org</email>
+ <name>Gentoo Haskell</name>
+ </maintainer>
+ <longdescription>
+ Calculate various string metrics efficiently.
+ </longdescription>
+</pkgmetadata>
diff --git a/dev-haskell/text-metrics/text-metrics-0.2.0.ebuild b/dev-haskell/text-metrics/text-metrics-0.2.0.ebuild
new file mode 100644
index 000000000000..0e6d539734e3
--- /dev/null
+++ b/dev-haskell/text-metrics/text-metrics-0.2.0.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+# ebuild generated by hackport 0.5.1.9999
+#hackport: flags: -dev
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
+inherit haskell-cabal
+
+DESCRIPTION="Calculate various string metrics efficiently"
+HOMEPAGE="https://github.com/mrkkrp/text-metrics"
+SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND=">=dev-haskell/nats-1:=[profile?] <dev-haskell/nats-2:=[profile?]
+ >=dev-haskell/text-0.2:=[profile?] <dev-haskell/text-1.3:=[profile?]
+ >=dev-lang/ghc-7.8.2:=
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.18.1.3
+ test? ( >=dev-haskell/hspec-2.0 <dev-haskell/hspec-3.0
+ >=dev-haskell/quickcheck-2.8 <dev-haskell/quickcheck-3.0 )
+"
+
+src_configure() {
+ haskell-cabal_src_configure \
+ --flag=-dev
+}