Gentoo Archives: gentoo-commits

From: Matt Thode <prometheanfire@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/debtcollector/
Date: Fri, 16 Feb 2018 06:08:29
Message-Id: 1518758925.b818dcd403d68810b019db7e40eaed7f7f9a2b90.prometheanfire@gentoo
1 commit: b818dcd403d68810b019db7e40eaed7f7f9a2b90
2 Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
3 AuthorDate: Fri Feb 16 05:28:45 2018 +0000
4 Commit: Matt Thode <prometheanfire <AT> gentoo <DOT> org>
5 CommitDate: Fri Feb 16 05:28:45 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b818dcd4
7
8 dev-python/debtcollector: 1.19.0 bup
9
10 Package-Manager: Portage-2.3.19, Repoman-2.3.6
11
12 dev-python/debtcollector/Manifest | 1 +
13 .../debtcollector/debtcollector-1.19.0.ebuild | 70 ++++++++++++++++++++++
14 2 files changed, 71 insertions(+)
15
16 diff --git a/dev-python/debtcollector/Manifest b/dev-python/debtcollector/Manifest
17 index e8971e4b698..8f20bbb8a48 100644
18 --- a/dev-python/debtcollector/Manifest
19 +++ b/dev-python/debtcollector/Manifest
20 @@ -1,2 +1,3 @@
21 DIST debtcollector-1.11.0.tar.gz 26266 BLAKE2B e94c8754d730417638542229c0c47d798efeb2f55f203c51b337f516e356f930f476881bfba7e51824e0fcdda84a2aea4cfe238fa3251a35a9bf395942de7563 SHA512 9dcbfdaec5d16714d17eca2bfce7049c0a042b2370b1be5a4a0c0057dc28bf060ba570639581ceb5e5c27f2117f9001e4b2bb350899bdab0c0c7cdc3098a9bb2
22 DIST debtcollector-1.17.1.tar.gz 28805 BLAKE2B 25d965359ba815e182cddb2a8c82d7360e43ec549185380e759cb993dc44dae88bf1e6e21a67b6929862389f80450dc2f07eff7b2f7a5af58f1d8b64a2716255 SHA512 751ac56695369a36c4baa7fd60b3c0d2c027fb23f7b71cf4103acb70362af4455ebe50b73ca0ba4f946b318c38e67f3477ae937afd697d505a6f2455f932faa3
23 +DIST debtcollector-1.19.0.tar.gz 26176 BLAKE2B be471b8ccb8cc3df3ade1af544f6326073f65cb1a6c64a8a864ee437692508fe21d7a117f47ab9f0c8cfb74502a7cf1c68e5e9dc26d8da3cd2ac0519c93be93b SHA512 f2bd1eeb9f402853e57ef6bd31d9961acc45617c50be36192b8761454869b3b9fc7709dbd14c36be469e6dbf3532f5d75a9fb863c7ea95c276f82d06f69a2164
24
25 diff --git a/dev-python/debtcollector/debtcollector-1.19.0.ebuild b/dev-python/debtcollector/debtcollector-1.19.0.ebuild
26 new file mode 100644
27 index 00000000000..d499f8f46a5
28 --- /dev/null
29 +++ b/dev-python/debtcollector/debtcollector-1.19.0.ebuild
30 @@ -0,0 +1,70 @@
31 +# Copyright 1999-2018 Gentoo Foundation
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=6
35 +
36 +PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
37 +
38 +inherit distutils-r1
39 +
40 +DESCRIPTION="Python deprecation patterns and strategies that collect technical debt"
41 +HOMEPAGE="http://www.openstack.org/"
42 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
43 +
44 +LICENSE="Apache-2.0"
45 +SLOT="0"
46 +KEYWORDS="~amd64 ~arm64 ~x86"
47 +IUSE="doc test"
48 +
49 +CDEPEND=">=dev-python/pbr-2.0.0[${PYTHON_USEDEP}]
50 + !~dev-python/pbr-2.1.0[${PYTHON_USEDEP}]"
51 +DEPEND="
52 + dev-python/setuptools[${PYTHON_USEDEP}]
53 + ${CDEPEND}
54 + test? (
55 + >=dev-python/coverage-4.0[${PYTHON_USEDEP}]
56 + !~dev-python/coverage-4.4[${PYTHON_USEDEP}]
57 + >=dev-python/subunit-1.0.0[${PYTHON_USEDEP}]
58 + >=dev-python/testrepository-0.0.18[${PYTHON_USEDEP}]
59 + !~dev-python/testtools-2.2.0[${PYTHON_USEDEP}]
60 + >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}]
61 + >=dev-python/doc8-0.6.0[${PYTHON_USEDEP}]
62 + >=dev-python/reno-2.5.0[${PYTHON_USEDEP}]
63 + )
64 + doc? (
65 + >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}]
66 + >=dev-python/sphinx-1.6.2[${PYTHON_USEDEP}]
67 + >=dev-python/openstackdocstheme-1.17.0[${PYTHON_USEDEP}]
68 + >=dev-python/reno-2.5.0[${PYTHON_USEDEP}]
69 + )
70 +"
71 +RDEPEND="
72 + ${CDEPEND}
73 + >=dev-python/six-1.10.0[${PYTHON_USEDEP}]
74 + >=dev-python/wrapt-1.7.0[${PYTHON_USEDEP}]
75 + virtual/python-funcsigs[${PYTHON_USEDEP}]
76 +"
77 +
78 +python_prepare_all() {
79 + sed -i '/^hacking/d' test-requirements.txt || di
80 + distutils-r1_python_prepare_all
81 +}
82 +
83 +python_compile_all() {
84 + use doc && esetup.py build_sphinx
85 +}
86 +
87 +python_test() {
88 + distutils_install_for_testing
89 +
90 + rm -rf .testrepository || die "couldn't remove '.testrepository' under ${EPYTHON}"
91 +
92 + testr init || die "testr init failed under ${EPYTHON}"
93 + testr run || die "testr run failed under ${EPYTHON}"
94 +}
95 +
96 +python_install_all() {
97 + use doc && local HTML_DOCS=( doc/build/html/. )
98 +
99 + distutils-r1_python_install_all
100 +}