Gentoo Archives: gentoo-commits

From: Brian Dolbec <dolsen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pytrie/
Date: Wed, 31 Aug 2016 01:18:36
Message-Id: 1472606260.f9003dbd4d903e2eac1f4edca91dd311c1002193.dolsen@gentoo
1 commit: f9003dbd4d903e2eac1f4edca91dd311c1002193
2 Author: Brian Dolbec <dolsen <AT> gentoo <DOT> org>
3 AuthorDate: Wed Aug 31 00:07:15 2016 +0000
4 Commit: Brian Dolbec <dolsen <AT> gentoo <DOT> org>
5 CommitDate: Wed Aug 31 01:17:40 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f9003dbd
7
8 dev-python/pytrie: New pkg, new dep of dev-python/autobahn-0.16.0
9
10 Package-Manager: portage-2.3.0
11
12 dev-python/pytrie/Manifest | 1 +
13 dev-python/pytrie/metadata.xml | 26 ++++++++++++++++++++++++++
14 dev-python/pytrie/pytrie-0.2.ebuild | 25 +++++++++++++++++++++++++
15 3 files changed, 52 insertions(+)
16
17 diff --git a/dev-python/pytrie/Manifest b/dev-python/pytrie/Manifest
18 new file mode 100644
19 index 00000000..02f1c0f
20 --- /dev/null
21 +++ b/dev-python/pytrie/Manifest
22 @@ -0,0 +1 @@
23 +DIST pytrie-0.2.tar.gz 96378 SHA256 b272021351efadc6757591aac03ed4794bdfd091122204a4673e94bfb66cc500 SHA512 92cc2ae94bb38e947166af810d5104f5660f1084706260a883f9b4d209a1179c40f43094e881fe26694d2efc850e1c48941b3b97d812476bc9b81ef139a5d349 WHIRLPOOL 90a077593fbc38f1f9574b6121a52da54e66b77e1f34872d9f9901a52e20a90137f8c65733026c1426201a56931479ae03d6eee17e0d98f602a0766fa5d3ade2
24
25 diff --git a/dev-python/pytrie/metadata.xml b/dev-python/pytrie/metadata.xml
26 new file mode 100644
27 index 00000000..6d3849a
28 --- /dev/null
29 +++ b/dev-python/pytrie/metadata.xml
30 @@ -0,0 +1,26 @@
31 +<?xml version="1.0" encoding="UTF-8"?>
32 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
33 +<pkgmetadata>
34 + <maintainer type="person">
35 + <email>dol-sen@g.o</email>
36 + <description>Primary maintainer</description>
37 + </maintainer>
38 + <maintainer type="project">
39 + <email>python@g.o</email>
40 + <name>Python</name>
41 + </maintainer>
42 + <upstream>
43 + <maintainer>
44 + <email>george.sakkis@×××××.com</email>
45 + <name>George Sakkis</name>
46 + </maintainer>
47 + <remote-id type="pypi">PyTrie</remote-id>
48 + </upstream>
49 + <longdescription>
50 + A *trie* is an ordered tree data structure that is used to store a
51 + mapping where the keys are sequences, usually strings over an alphabet.
52 + In addition to implementing the mapping interface, tries allow finding
53 + the items for a given prefix, and vice versa, finding the items whose
54 + keys are prefixes of a given key.
55 + </longdescription>
56 +</pkgmetadata>
57
58 diff --git a/dev-python/pytrie/pytrie-0.2.ebuild b/dev-python/pytrie/pytrie-0.2.ebuild
59 new file mode 100644
60 index 00000000..0b4c380
61 --- /dev/null
62 +++ b/dev-python/pytrie/pytrie-0.2.ebuild
63 @@ -0,0 +1,25 @@
64 +# Copyright 1999-2016 Gentoo Foundation
65 +# Distributed under the terms of the GNU General Public License v2
66 +# $Id$
67 +
68 +EAPI=6
69 +PYTHON_COMPAT=( python2_7 python3_{4,5} )
70 +
71 +inherit distutils-r1
72 +
73 +MY_PN="PyTrie"
74 +MY_P="${MY_PN}-${PV}"
75 +
76 +DESCRIPTION="A pure Python implementation of the trie data structure."
77 +HOMEPAGE="http://bitbucket.org/gsakkis/pytrie/ https://pypi.python.org/pypi/PyTrie"
78 +SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz -> ${P}.tar.gz"
79 +
80 +LICENSE="BSD"
81 +SLOT="0"
82 +KEYWORDS="~amd64"
83 +IUSE=""
84 +
85 +DEPEND=""
86 +RDEPEND="${DEPEND}"
87 +
88 +S=${WORKDIR}/${MY_P}