Gentoo Archives: gentoo-commits

From: Ian Delaney <idella4@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/jaraco-collections/
Date: Wed, 30 Dec 2015 09:53:01
Message-Id: 1451469160.b51b86d2af4acd314ed62b2c333b7af54402341e.idella4@gentoo
1 commit: b51b86d2af4acd314ed62b2c333b7af54402341e
2 Author: Louis Sautier <sautier.louis <AT> gmail <DOT> com>
3 AuthorDate: Wed Dec 30 08:53:53 2015 +0000
4 Commit: Ian Delaney <idella4 <AT> gentoo <DOT> org>
5 CommitDate: Wed Dec 30 09:52:40 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b51b86d2
7
8 dev-python/jaraco-collections: needed as a new dep to dev-python/irc
9
10 Package-Manager: portage-2.2.26
11
12 dev-python/jaraco-collections/Manifest | 1 +
13 .../jaraco-collections-1.3.1.ebuild | 49 ++++++++++++++++++++++
14 dev-python/jaraco-collections/metadata.xml | 14 +++++++
15 3 files changed, 64 insertions(+)
16
17 diff --git a/dev-python/jaraco-collections/Manifest b/dev-python/jaraco-collections/Manifest
18 new file mode 100644
19 index 0000000..56ee04d
20 --- /dev/null
21 +++ b/dev-python/jaraco-collections/Manifest
22 @@ -0,0 +1 @@
23 +DIST jaraco.collections-1.3.1.tar.gz 8616 SHA256 27e3d67f94372d70be25f46a48796441ca719aedbd4a411835e71e88455bbe66 SHA512 812fbb66543e204f09f4dc35fc43888b3e8e1cbbf4a2a0e75a0589286e1ee5b303dc30b93696d8fc952bb3dddab95d8ed5ddb09ad4511ad4e12069fb87a93386 WHIRLPOOL c8730e3bd1eb1950b523ce62e31f7e2d2fd46bacdcacd7c57b9b55f95cff51e025e47813af1777d362f83401822a4015fdd386e977bbbd26f9c1a130ff7aa65a
24
25 diff --git a/dev-python/jaraco-collections/jaraco-collections-1.3.1.ebuild b/dev-python/jaraco-collections/jaraco-collections-1.3.1.ebuild
26 new file mode 100644
27 index 0000000..e54b66f
28 --- /dev/null
29 +++ b/dev-python/jaraco-collections/jaraco-collections-1.3.1.ebuild
30 @@ -0,0 +1,49 @@
31 +# Copyright 1999-2015 Gentoo Foundation
32 +# Distributed under the terms of the GNU General Public License v2
33 +# $Id$
34 +
35 +EAPI=5
36 +
37 +PYTHON_COMPAT=( python{2_7,3_4,3_5} )
38 +
39 +inherit distutils-r1
40 +
41 +MY_PN="${PN/-/.}"
42 +DESCRIPTION="Models and classes to supplement the stdlib collections module"
43 +HOMEPAGE="https://github.com/jaraco/jaraco.collections"
44 +SRC_URI="mirror://pypi/${PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz"
45 +
46 +LICENSE="MIT"
47 +SLOT="0"
48 +KEYWORDS="~amd64 ~x86"
49 +IUSE="test"
50 +
51 +PDEPEND="dev-python/jaraco-text[${PYTHON_USEDEP}]"
52 +RDEPEND="dev-python/jaraco-classes[${PYTHON_USEDEP}]
53 +dev-python/six[${PYTHON_USEDEP}]
54 +"
55 +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
56 + >=dev-python/setuptools_scm-1.9[${PYTHON_USEDEP}]
57 + test? (
58 + ${RDEPEND}
59 + >=dev-python/pytest-2.8[${PYTHON_USEDEP}]
60 + dev-python/pytest-runner[${PYTHON_USEDEP}]
61 + )
62 +"
63 +
64 +S="${WORKDIR}/${MY_PN}-${PV}"
65 +
66 +python_prepare_all() {
67 + if use test; then
68 + if has_version "${CATEGORY}/${PN}"; then
69 + die "Ensure $PN is not already installed or the test suite will fail"
70 + elif ! has_version "dev-python/jaraco-text"; then
71 + die "Ensure dev-python/jaraco-text is installed or the test suite will fail"
72 + fi
73 + fi
74 + distutils-r1_python_prepare_all
75 +}
76 +
77 +python_test() {
78 + PYTHONPATH=. py.test || die "tests failed with ${EPYTHON}"
79 +}
80
81 diff --git a/dev-python/jaraco-collections/metadata.xml b/dev-python/jaraco-collections/metadata.xml
82 new file mode 100644
83 index 0000000..1844079
84 --- /dev/null
85 +++ b/dev-python/jaraco-collections/metadata.xml
86 @@ -0,0 +1,14 @@
87 +<?xml version="1.0" encoding="UTF-8"?>
88 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
89 +<pkgmetadata>
90 + <herd>proxy-maintainers</herd>
91 + <maintainer>
92 + <email>sautier.louis@×××××.com</email>
93 + <name>Louis Sautier</name>
94 + <description>Proxied maintainer; set to assignee in all bugs</description>
95 + </maintainer>
96 + <upstream>
97 + <remote-id type="pypi">jaraco.collections</remote-id>
98 + <remote-id type="github">jaraco/jaraco.collections</remote-id>
99 + </upstream>
100 +</pkgmetadata>