diff --git a/dev-python/pytrie/Manifest b/dev-python/pytrie/Manifest new file mode 100644 index 0000000000000..02f1c0f4cdebc --- /dev/null +++ b/dev-python/pytrie/Manifest @@ -0,0 +1 @@ +DIST pytrie-0.2.tar.gz 96378 SHA256 b272021351efadc6757591aac03ed4794bdfd091122204a4673e94bfb66cc500 SHA512 92cc2ae94bb38e947166af810d5104f5660f1084706260a883f9b4d209a1179c40f43094e881fe26694d2efc850e1c48941b3b97d812476bc9b81ef139a5d349 WHIRLPOOL 90a077593fbc38f1f9574b6121a52da54e66b77e1f34872d9f9901a52e20a90137f8c65733026c1426201a56931479ae03d6eee17e0d98f602a0766fa5d3ade2 diff --git a/dev-python/pytrie/metadata.xml b/dev-python/pytrie/metadata.xml new file mode 100644 index 0000000000000..6d3849a047260 --- /dev/null +++ b/dev-python/pytrie/metadata.xml @@ -0,0 +1,26 @@ + + + + + dol-sen@gentoo.org + Primary maintainer + + + python@gentoo.org + Python + + + + george.sakkis@gmail.com + George Sakkis + + PyTrie + + + A *trie* is an ordered tree data structure that is used to store a + mapping where the keys are sequences, usually strings over an alphabet. + In addition to implementing the mapping interface, tries allow finding + the items for a given prefix, and vice versa, finding the items whose + keys are prefixes of a given key. + + diff --git a/dev-python/pytrie/pytrie-0.2.ebuild b/dev-python/pytrie/pytrie-0.2.ebuild new file mode 100644 index 0000000000000..0b4c380806f35 --- /dev/null +++ b/dev-python/pytrie/pytrie-0.2.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 +PYTHON_COMPAT=( python2_7 python3_{4,5} ) + +inherit distutils-r1 + +MY_PN="PyTrie" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="A pure Python implementation of the trie data structure." +HOMEPAGE="http://bitbucket.org/gsakkis/pytrie/ https://pypi.python.org/pypi/PyTrie" +SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +DEPEND="" +RDEPEND="${DEPEND}" + +S=${WORKDIR}/${MY_P}