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/sortedcontainers/
Date: Tue, 07 Mar 2017 00:17:47
Message-Id: 1488845838.a06e6a36af116d6178f3efb66712da7e99e376f8.bicatali@gentoo
1 commit: a06e6a36af116d6178f3efb66712da7e99e376f8
2 Author: Sébastien Fabbro <bicatali <AT> gentoo <DOT> org>
3 AuthorDate: Mon Mar 6 22:30:20 2017 +0000
4 Commit: Sebastien Fabbro <bicatali <AT> gentoo <DOT> org>
5 CommitDate: Tue Mar 7 00:17:18 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a06e6a36
7
8 dev-python/sortedcontainers: initial import
9
10 Package-Manager: Portage-2.3.4, Repoman-2.3.2
11
12 dev-python/sortedcontainers/Manifest | 1 +
13 dev-python/sortedcontainers/metadata.xml | 15 +++++++++++++
14 .../sortedcontainers/sortedcontainers-1.5.7.ebuild | 25 ++++++++++++++++++++++
15 3 files changed, 41 insertions(+)
16
17 diff --git a/dev-python/sortedcontainers/Manifest b/dev-python/sortedcontainers/Manifest
18 new file mode 100644
19 index 00000000000..158695a2b40
20 --- /dev/null
21 +++ b/dev-python/sortedcontainers/Manifest
22 @@ -0,0 +1 @@
23 +DIST sortedcontainers-1.5.7.tar.gz 11970881 SHA256 0ff0442865e492bc50476b18000fb8400cf2472d14d21a92b27cd7c5184550ea SHA512 a9f2ba152c47eddfda6ad8ef7ecfbfa5d51b17afb4042b0b1e6d8b3dbc6caf6f8281af415dfcf1e356aaf80aa3212865ba926fe0d6e08961c8fbbc68adb34108 WHIRLPOOL ac1c64a49705b2a02d2eb05e8306a1ee21d494819b7331256fc8c17d5fda89c82eaf2267981408c9de92bde0c4569a0e87fa4d7d12297881c4b8b295b1df9788
24
25 diff --git a/dev-python/sortedcontainers/metadata.xml b/dev-python/sortedcontainers/metadata.xml
26 new file mode 100644
27 index 00000000000..3853ea8fb1f
28 --- /dev/null
29 +++ b/dev-python/sortedcontainers/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 + Python Sorted Container Types: SortedList, SortedDict, and SortedSet
40 + </longdescription>
41 + <upstream>
42 + <remote-id type="pypi">sortedcontainers</remote-id>
43 + <remote-id type="github">grantjenks/sorted_containers</remote-id>
44 + </upstream>
45 +</pkgmetadata>
46
47 diff --git a/dev-python/sortedcontainers/sortedcontainers-1.5.7.ebuild b/dev-python/sortedcontainers/sortedcontainers-1.5.7.ebuild
48 new file mode 100644
49 index 00000000000..3bfb25bb818
50 --- /dev/null
51 +++ b/dev-python/sortedcontainers/sortedcontainers-1.5.7.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=""
72 +DEPEND="${RDEPEND}
73 + test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
74 +
75 +python_test() {
76 + py.test -v || die
77 +}