Gentoo Archives: gentoo-commits

From: Alex Brandt <alunduil@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/debtcollector/
Date: Sun, 22 Nov 2015 15:49:04
Message-Id: 1448207314.b30f00fe309701bedb3039e5459b16c14e59ed51.alunduil@gentoo
1 commit: b30f00fe309701bedb3039e5459b16c14e59ed51
2 Author: Alex Brandt <alunduil <AT> gentoo <DOT> org>
3 AuthorDate: Sun Nov 22 15:48:12 2015 +0000
4 Commit: Alex Brandt <alunduil <AT> gentoo <DOT> org>
5 CommitDate: Sun Nov 22 15:48:34 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b30f00fe
7
8 dev-python/debtcollector: add version 0.10.0
9
10 Package-Manager: portage-2.2.25
11
12 dev-python/debtcollector/Manifest | 1 +
13 .../debtcollector/debtcollector-0.10.0.ebuild | 62 ++++++++++++++++++++++
14 2 files changed, 63 insertions(+)
15
16 diff --git a/dev-python/debtcollector/Manifest b/dev-python/debtcollector/Manifest
17 index 63e4627..29fb559 100644
18 --- a/dev-python/debtcollector/Manifest
19 +++ b/dev-python/debtcollector/Manifest
20 @@ -1 +1,2 @@
21 +DIST debtcollector-0.10.0.tar.gz 20669 SHA256 8cc22cf2223af7789692ef0b1cb5c0c3a00da7d6e34cbfce125a956cb4d2f21e SHA512 a521a4dd5229384a500e973fa504be75c9019abd00cd4012118a566a1b4d95ecc10d616de29e0c16953a69fe7cdd219b44afb9463c59a6220c49d4a3dd12f896 WHIRLPOOL 2ffac565e27d411321a4c8c662e78bd0774158d9be0f77f8f7baa049fd62e52cd1b8a3a552f0f993e7e4c0b9325b0be3446580e602e4524e95f7d1e58361f388
22 DIST debtcollector-0.7.0.tar.gz 17151 SHA256 03ef06604e666a9f4a1506ffcfa887068bdb9f16e33657f9211a7b4e8bc753ea SHA512 684bea62b17843717c6aa19f36e538bd62bfe101693394eb66d6d6f408f32a0c9e458dee8c81324f4503fab952b73654f2eca24c51ef67594c51657fcdca9dad WHIRLPOOL 32cb704719ae3ea00f3d5e4e1df225604e226c5c4882afcf136fdfe035c367b334f1409c35b079214f8ab8b04608ef8a1f648a38632fc9fef9a8f312ce76d3c0
23
24 diff --git a/dev-python/debtcollector/debtcollector-0.10.0.ebuild b/dev-python/debtcollector/debtcollector-0.10.0.ebuild
25 new file mode 100644
26 index 0000000..54ce16a
27 --- /dev/null
28 +++ b/dev-python/debtcollector/debtcollector-0.10.0.ebuild
29 @@ -0,0 +1,62 @@
30 +# Copyright 1999-2015 Gentoo Foundation
31 +# Distributed under the terms of the GNU General Public License v2
32 +# $Id$
33 +
34 +EAPI=5
35 +PYTHON_COMPAT=( python2_7 python3_4 )
36 +
37 +inherit distutils-r1
38 +
39 +DESCRIPTION="... Python deprecation patterns and strategies that collect technical debt ...."
40 +HOMEPAGE="http://www.openstack.org/"
41 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
42 +
43 +LICENSE="Apache-2.0"
44 +SLOT="0"
45 +KEYWORDS="~amd64 ~x86"
46 +IUSE="doc test"
47 +
48 +CDEPEND=">=dev-python/pbr-1.8[${PYTHON_USEDEP}]"
49 +DEPEND="
50 + dev-python/setuptools[${PYTHON_USEDEP}]
51 + ${CDEPEND}
52 + test? (
53 + >=dev-python/fixtures-1.3.1[${PYTHON_USEDEP}]
54 + >dev-python/oslotest-1.10.0[${PYTHON_USEDEP}]
55 + >=dev-python/subunit-0.0.18[${PYTHON_USEDEP}]
56 + >=dev-python/testrepository-0.0.18[${PYTHON_USEDEP}]
57 + >=dev-python/testscenarios-0.4[${PYTHON_USEDEP}]
58 + !~dev-python/testtools-1.4.0[${PYTHON_USEDEP}]
59 + )
60 + doc? (
61 + >=dev-python/oslo-sphinx-2.5.0[${PYTHON_USEDEP}]
62 + >=dev-python/sphinx-1.1.2[${PYTHON_USEDEP}]
63 + !~dev-python/sphinx-1.2.0[${PYTHON_USEDEP}]
64 + <dev-python/sphinx-1.3[${PYTHON_USEDEP}]
65 + )
66 +"
67 +RDEPEND="
68 + ${CDEPEND}
69 + >=dev-python/Babel-1.3[${PYTHON_USEDEP}]
70 + >=dev-python/six-1.9.0[${PYTHON_USEDEP}]
71 + >=dev-python/wrapt-1.7.0[${PYTHON_USEDEP}]
72 +"
73 +
74 +python_compile_all() {
75 + use doc && esetup.py build_sphinx
76 +}
77 +
78 +python_test() {
79 + distutils_install_for_testing
80 +
81 + rm -rf .testrepository || die "couldn't remove '.testrepository' under ${EPYTHON}"
82 +
83 + testr init || die "testr init failed under ${EPYTHON}"
84 + testr run || die "testr run failed under ${EPYTHON}"
85 +}
86 +
87 +python_install_all() {
88 + use doc && local HTML_DOCS=( doc/build/html/. )
89 +
90 + distutils-r1_python_install_all
91 +}