diff options
author | Sergei Trofimovich <slyfox@gentoo.org> | 2016-09-11 10:43:26 +0100 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2016-09-11 11:01:30 +0100 |
commit | adf7099b7ed6946c7530cc1acbc4e7e9666b6465 (patch) | |
tree | 496f4c23642dd0402e6e472602a73ae42c1faa89 /dev-haskell/memotrie | |
parent | dev-haskell/boolean: boolean generalisation, a depend of dev-haskell/vector-s... (diff) | |
download | gentoo-adf7099b7ed6946c7530cc1acbc4e7e9666b6465.tar.gz gentoo-adf7099b7ed6946c7530cc1acbc4e7e9666b6465.tar.bz2 gentoo-adf7099b7ed6946c7530cc1acbc4e7e9666b6465.zip |
dev-haskell/memotrie: trie-based memo functions, a depend of dev-haskell/vector-space
Package-Manager: portage-2.3.0
Diffstat (limited to 'dev-haskell/memotrie')
-rw-r--r-- | dev-haskell/memotrie/Manifest | 1 | ||||
-rw-r--r-- | dev-haskell/memotrie/memotrie-0.6.4.ebuild | 36 | ||||
-rw-r--r-- | dev-haskell/memotrie/metadata.xml | 16 |
3 files changed, 53 insertions, 0 deletions
diff --git a/dev-haskell/memotrie/Manifest b/dev-haskell/memotrie/Manifest new file mode 100644 index 000000000000..f0a7bef578a8 --- /dev/null +++ b/dev-haskell/memotrie/Manifest @@ -0,0 +1 @@ +DIST MemoTrie-0.6.4.tar.gz 7695 SHA256 4238c8f7ea1ecd2497d0a948493acbdc47728b2528b6e7841ef064b783d68b1c SHA512 5700a36ae2a53e84bc31d80765afff3041972b4b64da359e16e7981009cc581d9c8aac019eb46d44d5dba7080dad494587ad1f4256f101387eb6de2959dd659f WHIRLPOOL 29e23cad959c609585155967c300aa223eec1dbc5db79bb97ff4dca6d97431ae68a02a245c0db1f7244f49aece89dc913d806e610010c690377edb60ab4d981f diff --git a/dev-haskell/memotrie/memotrie-0.6.4.ebuild b/dev-haskell/memotrie/memotrie-0.6.4.ebuild new file mode 100644 index 000000000000..57776785906f --- /dev/null +++ b/dev-haskell/memotrie/memotrie-0.6.4.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +# ebuild generated by hackport 0.4.6.9999 + +CABAL_FEATURES="bin lib profile" #broken haddock: haddock hoogle hscolour" +inherit haskell-cabal + +MY_PN="MemoTrie" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="Trie-based memo functions" +HOMEPAGE="https://github.com/conal/MemoTrie" +SRC_URI="mirror://hackage/packages/archive/${MY_PN}/${PV}/${MY_P}.tar.gz" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~x86" +IUSE="examples" + +RDEPEND="dev-haskell/void:=[profile?] + >=dev-lang/ghc-7.4.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-1.10 +" + +S="${WORKDIR}/${MY_P}" + +src_configure() { + haskell-cabal_src_configure \ + $(cabal_flag examples examples) +} diff --git a/dev-haskell/memotrie/metadata.xml b/dev-haskell/memotrie/metadata.xml new file mode 100644 index 000000000000..baf6e5b02ea8 --- /dev/null +++ b/dev-haskell/memotrie/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> + MemoTrie provides a basis for memoized functions over some domains, + using tries. It's based on some code I got from Spencer Janssen. + + Project wiki page: <http://haskell.org/haskellwiki/MemoTrie> + + &#169; 2008,2009,2010 by Conal Elliott; BSD3 license. + </longdescription> +</pkgmetadata> |