diff --git a/dev-haskell/edit-distance-vector/Manifest b/dev-haskell/edit-distance-vector/Manifest new file mode 100644 index 0000000000000..aaa317c3b3af1 --- /dev/null +++ b/dev-haskell/edit-distance-vector/Manifest @@ -0,0 +1 @@ +DIST edit-distance-vector-1.0.0.4.tar.gz 5819 BLAKE2B 8658c52e64e704dd5c52bae0e63ae0b4d84c88d6cb1e3ecdafb05191dc70e3dfdec34001b2c287ec62703eb7ecdbac9b127b3dd084bc4e484e70cd778d31913f SHA512 8d7ef7c6ca971aec5efc2e90adff2584c1e4f996df3ad4f6111f790fd88fcce1814111eb3a3bbe07d8455b03ade98f11e6343c4746e895be2ba9b82a86a33e6d diff --git a/dev-haskell/edit-distance-vector/edit-distance-vector-1.0.0.4.ebuild b/dev-haskell/edit-distance-vector/edit-distance-vector-1.0.0.4.ebuild new file mode 100644 index 0000000000000..e61c98b7c5691 --- /dev/null +++ b/dev-haskell/edit-distance-vector/edit-distance-vector-1.0.0.4.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +# ebuild generated by hackport 0.6.9999 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Calculate edit distances and edit scripts between vectors" +HOMEPAGE="https://github.com/thsutton/edit-distance-vector" +SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=">=dev-haskell/vector-0.8:=[profile?] + >=dev-lang/ghc-7.4.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-1.10 + test? ( dev-haskell/quickcheck + dev-haskell/quickcheck-instances ) +" diff --git a/dev-haskell/edit-distance-vector/metadata.xml b/dev-haskell/edit-distance-vector/metadata.xml new file mode 100644 index 0000000000000..c2c7c27672051 --- /dev/null +++ b/dev-haskell/edit-distance-vector/metadata.xml @@ -0,0 +1,22 @@ + + + + + haskell@gentoo.org + Gentoo Haskell + + + An implementation of the Wagner-Fischer dynamic programming algorithm to + find the optimal edit script and cost between two sequences. + + The implementation in this package is specialised to sequences represented + with "Data.Vector" but is otherwise agnostic to: + + * The type of values in the vectors; + + * The type representing edit operations; and + + * The type representing the cost of operations. + + +