summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Dolbec <dolsen@gentoo.org>2016-08-30 17:07:15 -0700
committerBrian Dolbec <dolsen@gentoo.org>2016-08-30 18:17:40 -0700
commitf9003dbd4d903e2eac1f4edca91dd311c1002193 (patch)
tree78c733eab911a8ff420231ba03d2128e6c9c088a /dev-python/pytrie
parentdev-python/pyqrcode: New pkg, new dep of dev-python/autobahn-0.16.0 (diff)
downloadgentoo-f9003dbd4d903e2eac1f4edca91dd311c1002193.tar.gz
gentoo-f9003dbd4d903e2eac1f4edca91dd311c1002193.tar.bz2
gentoo-f9003dbd4d903e2eac1f4edca91dd311c1002193.zip
dev-python/pytrie: New pkg, new dep of dev-python/autobahn-0.16.0
Package-Manager: portage-2.3.0
Diffstat (limited to 'dev-python/pytrie')
-rw-r--r--dev-python/pytrie/Manifest1
-rw-r--r--dev-python/pytrie/metadata.xml26
-rw-r--r--dev-python/pytrie/pytrie-0.2.ebuild25
3 files changed, 52 insertions, 0 deletions
diff --git a/dev-python/pytrie/Manifest b/dev-python/pytrie/Manifest
new file mode 100644
index 000000000000..02f1c0f4cdeb
--- /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 000000000000..6d3849a04726
--- /dev/null
+++ b/dev-python/pytrie/metadata.xml
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>dol-sen@gentoo.org</email>
+ <description>Primary maintainer</description>
+ </maintainer>
+ <maintainer type="project">
+ <email>python@gentoo.org</email>
+ <name>Python</name>
+ </maintainer>
+ <upstream>
+ <maintainer>
+ <email>george.sakkis@gmail.com</email>
+ <name>George Sakkis</name>
+ </maintainer>
+ <remote-id type="pypi">PyTrie</remote-id>
+ </upstream>
+ <longdescription>
+ 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.
+ </longdescription>
+</pkgmetadata>
diff --git a/dev-python/pytrie/pytrie-0.2.ebuild b/dev-python/pytrie/pytrie-0.2.ebuild
new file mode 100644
index 000000000000..0b4c380806f3
--- /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}