Gentoo Archives: gentoo-commits

From: Sebastien Fabbro <bicatali@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/sortedcollections/
Date: Tue, 07 Mar 2017 00:17:55
Message-Id: 1488845839.f4e58189a64eab22cc26b9b64b7a104a68a4f9bf.bicatali@gentoo
1 commit: f4e58189a64eab22cc26b9b64b7a104a68a4f9bf
2 Author: Sébastien Fabbro <bicatali <AT> gentoo <DOT> org>
3 AuthorDate: Mon Mar 6 23:08:33 2017 +0000
4 Commit: Sebastien Fabbro <bicatali <AT> gentoo <DOT> org>
5 CommitDate: Tue Mar 7 00:17:19 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f4e58189
7
8 dev-python/sortedcollections: initial import
9
10 Package-Manager: Portage-2.3.4, Repoman-2.3.2
11
12 dev-python/sortedcollections/Manifest | 1 +
13 dev-python/sortedcollections/metadata.xml | 15 +++++++++++++
14 .../sortedcollections-0.4.2.ebuild | 25 ++++++++++++++++++++++
15 3 files changed, 41 insertions(+)
16
17 diff --git a/dev-python/sortedcollections/Manifest b/dev-python/sortedcollections/Manifest
18 new file mode 100644
19 index 00000000000..dd970ae26e4
20 --- /dev/null
21 +++ b/dev-python/sortedcollections/Manifest
22 @@ -0,0 +1 @@
23 +DIST sortedcollections-0.4.2.tar.gz 111533 SHA256 8aefd6cf0bb0a89888f192859c3dbf997b906b33cd4ce175d568fb972cfdb489 SHA512 53a3c9228c13bf25faedd11058413269d26e51209a5f454851aae067679e64ca3897ab78632a620f1f88c8c6407c5b723974d3a6aa4185e7e12b166d55f6559a WHIRLPOOL 16196d2bf09baab0ff68ac7c7f74ce27f409d229cc414b9f62fb1319f5edcebd5e8244453956308c07d3d950fd23195f7606d6bef71e38152b745b0fec6cfd0d
24
25 diff --git a/dev-python/sortedcollections/metadata.xml b/dev-python/sortedcollections/metadata.xml
26 new file mode 100644
27 index 00000000000..4c79be88416
28 --- /dev/null
29 +++ b/dev-python/sortedcollections/metadata.xml
30 @@ -0,0 +1,15 @@
31 +<?xml version="1.0" encoding="UTF-8"?>
32 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
33 +<pkgmetadata>
34 + <maintainer type="project">
35 + <email>python@g.o</email>
36 + <name>Python</name>
37 + </maintainer>
38 + <longdescription lang="en">
39 + Pure python sorted collection library.
40 + </longdescription>
41 + <upstream>
42 + <remote-id type="pypi">sortedcollections</remote-id>
43 + <remote-id type="github">grantjenks/sortedcollections</remote-id>
44 + </upstream>
45 +</pkgmetadata>
46
47 diff --git a/dev-python/sortedcollections/sortedcollections-0.4.2.ebuild b/dev-python/sortedcollections/sortedcollections-0.4.2.ebuild
48 new file mode 100644
49 index 00000000000..aafd52f890a
50 --- /dev/null
51 +++ b/dev-python/sortedcollections/sortedcollections-0.4.2.ebuild
52 @@ -0,0 +1,25 @@
53 +# Copyright 1999-2017 Gentoo Foundation
54 +# Distributed under the terms of the GNU General Public License v2
55 +
56 +EAPI=6
57 +
58 +PYTHON_COMPAT=( python2_7 python3_{4,5} )
59 +
60 +inherit distutils-r1
61 +
62 +DESCRIPTION="Python library to sort collections and containers"
63 +HOMEPAGE="http://www.grantjenks.com/docs/sortedcontainers/"
64 +SRC_URI="mirror://pypi/$(echo ${PN} | cut -c 1)/${PN}/${P}.tar.gz"
65 +
66 +LICENSE="Apache-2.0"
67 +SLOT="0"
68 +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
69 +IUSE="test"
70 +
71 +RDEPEND="dev-python/sortedcontainers[${PYTHON_USEDEP}]"
72 +DEPEND="${RDEPEND}
73 + test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
74 +
75 +python_test() {
76 + py.test -v || die
77 +}