summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Wright <gienah@gentoo.org>2012-06-03 02:58:22 +0000
committerMark Wright <gienah@gentoo.org>2012-06-03 02:58:22 +0000
commit548b733777a4ba99171c58f88d0cd5513cf0b417 (patch)
tree3dd732e1d23d3f2555960ed43eb4cf62c68c544a /dev-haskell/edit-distance
parentppc stable (bug 418015) (diff)
downloadgentoo-2-548b733777a4ba99171c58f88d0cd5513cf0b417.tar.gz
gentoo-2-548b733777a4ba99171c58f88d0cd5513cf0b417.tar.bz2
gentoo-2-548b733777a4ba99171c58f88d0cd5513cf0b417.zip
Add edit-distance
(Portage version: 2.1.10.64/cvs/Linux x86_64)
Diffstat (limited to 'dev-haskell/edit-distance')
-rw-r--r--dev-haskell/edit-distance/ChangeLog10
-rw-r--r--dev-haskell/edit-distance/edit-distance-0.2.1.ebuild24
-rw-r--r--dev-haskell/edit-distance/metadata.xml11
3 files changed, 45 insertions, 0 deletions
diff --git a/dev-haskell/edit-distance/ChangeLog b/dev-haskell/edit-distance/ChangeLog
new file mode 100644
index 000000000000..08ee373ee571
--- /dev/null
+++ b/dev-haskell/edit-distance/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-haskell/edit-distance
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-haskell/edit-distance/ChangeLog,v 1.1 2012/06/03 02:58:22 gienah Exp $
+
+*edit-distance-0.2.1 (03 Jun 2012)
+
+ 03 Jun 2012; Mark Wright <gienah@gentoo.org> +edit-distance-0.2.1.ebuild,
+ +metadata.xml:
+ Add edit-distance
+
diff --git a/dev-haskell/edit-distance/edit-distance-0.2.1.ebuild b/dev-haskell/edit-distance/edit-distance-0.2.1.ebuild
new file mode 100644
index 000000000000..a5d28812f0ef
--- /dev/null
+++ b/dev-haskell/edit-distance/edit-distance-0.2.1.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-haskell/edit-distance/edit-distance-0.2.1.ebuild,v 1.1 2012/06/03 02:58:22 gienah Exp $
+
+EAPI=4
+
+# ebuild generated by hackport 0.2.18.9999
+
+CABAL_FEATURES="bin lib profile haddock hoogle hscolour"
+inherit haskell-cabal
+
+DESCRIPTION="Levenshtein and restricted Damerau-Levenshtein edit distances"
+HOMEPAGE="http://github.com/batterseapower/edit-distance"
+SRC_URI="http://hackage.haskell.org/packages/archive/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND=">=dev-haskell/random-1.0[profile?]
+ >=dev-lang/ghc-6.8.2"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.2"
diff --git a/dev-haskell/edit-distance/metadata.xml b/dev-haskell/edit-distance/metadata.xml
new file mode 100644
index 000000000000..8a584a66f128
--- /dev/null
+++ b/dev-haskell/edit-distance/metadata.xml
@@ -0,0 +1,11 @@
+<?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>
+ Optimized edit distances for fuzzy matching, including Levenshtein and restricted Damerau-Levenshtein algorithms.
+ </longdescription>
+</pkgmetadata>