1 |
commit: a8cfea4369d3ad3c603a036a5f2a0ac2bddc1cce |
2 |
Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Feb 27 01:07:46 2017 +0000 |
4 |
Commit: Matt Thode <prometheanfire <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Feb 27 02:15:02 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a8cfea43 |
7 |
|
8 |
dev-python/debtcollector: bup |
9 |
|
10 |
Package-Manager: Portage-2.3.3, Repoman-2.3.1 |
11 |
|
12 |
dev-python/debtcollector/Manifest | 1 + |
13 |
.../debtcollector/debtcollector-1.11.0.ebuild | 69 ++++++++++++++++++++++ |
14 |
2 files changed, 70 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/debtcollector/Manifest b/dev-python/debtcollector/Manifest |
17 |
index da170ea150..9b0ba80039 100644 |
18 |
--- a/dev-python/debtcollector/Manifest |
19 |
+++ b/dev-python/debtcollector/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
+DIST debtcollector-1.11.0.tar.gz 26266 SHA256 733afa881c844a40ef4623ab73ce1862e505bc4655635da3a91d8f3482677785 SHA512 9dcbfdaec5d16714d17eca2bfce7049c0a042b2370b1be5a4a0c0057dc28bf060ba570639581ceb5e5c27f2117f9001e4b2bb350899bdab0c0c7cdc3098a9bb2 WHIRLPOOL 3456da61c660b4102c391c38910158fcc3907c41cd7a5ed079bfa8366af42bbff9291c42e5e00a14b495c2443a0d4febd5be1da536901eb184bec9cb0c9142e7 |
22 |
DIST debtcollector-1.3.0.tar.gz 21853 SHA256 9a65cf09239eab75b961ef609b3176ed2487bedcfa0a465331661824e1c8db8f SHA512 b53ef131599fb04abb9f11e8abe3dc8447a595695bab505be642c03925e0da625e6a10944ec10863526645080ed3ce43b9a5138a1f7ba91511ade6daf42d018a WHIRLPOOL 04c6ee34a48955a86535c3161005417f5c5dfca9152e092c3856d61a4707f6249245398006d0da0c31ffa7103ab69a566bf84d7321b70362d59f359b5225622f |
23 |
|
24 |
diff --git a/dev-python/debtcollector/debtcollector-1.11.0.ebuild b/dev-python/debtcollector/debtcollector-1.11.0.ebuild |
25 |
new file mode 100644 |
26 |
index 0000000000..da10dfd7f3 |
27 |
--- /dev/null |
28 |
+++ b/dev-python/debtcollector/debtcollector-1.11.0.ebuild |
29 |
@@ -0,0 +1,69 @@ |
30 |
+# Copyright 1999-2017 Gentoo Foundation |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=6 |
34 |
+ |
35 |
+PYTHON_COMPAT=( python{2_7,3_{4,5}} ) |
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 ~arm64 ~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/coverage-4.0[${PYTHON_USEDEP}] |
54 |
+ >=dev-python/subunit-0.0.18[${PYTHON_USEDEP}] |
55 |
+ >dev-python/oslotest-1.10.0[${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 |
+ >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}] |
60 |
+ dev-python/doc8[${PYTHON_USEDEP}] |
61 |
+ >=dev-python/reno-1.8.0[${PYTHON_USEDEP}] |
62 |
+ ) |
63 |
+ doc? ( |
64 |
+ >=dev-python/oslo-sphinx-4.7.0[${PYTHON_USEDEP}] |
65 |
+ >=dev-python/sphinx-1.2.1[${PYTHON_USEDEP}] |
66 |
+ <dev-python/sphinx-1.4[${PYTHON_USEDEP}] |
67 |
+ >=dev-python/reno-1.8.0[${PYTHON_USEDEP}] |
68 |
+ ) |
69 |
+" |
70 |
+RDEPEND=" |
71 |
+ ${CDEPEND} |
72 |
+ >=dev-python/six-1.9.0[${PYTHON_USEDEP}] |
73 |
+ >=dev-python/wrapt-1.7.0[${PYTHON_USEDEP}] |
74 |
+ virtual/python-funcsigs[${PYTHON_USEDEP}] |
75 |
+" |
76 |
+ |
77 |
+python_prepare_all() { |
78 |
+ sed -i '/^hacking/d' test-requirements.txt || di |
79 |
+} |
80 |
+ |
81 |
+python_compile_all() { |
82 |
+ use doc && esetup.py build_sphinx |
83 |
+} |
84 |
+ |
85 |
+python_test() { |
86 |
+ distutils_install_for_testing |
87 |
+ |
88 |
+ rm -rf .testrepository || die "couldn't remove '.testrepository' under ${EPYTHON}" |
89 |
+ |
90 |
+ testr init || die "testr init failed under ${EPYTHON}" |
91 |
+ testr run || die "testr run failed under ${EPYTHON}" |
92 |
+} |
93 |
+ |
94 |
+python_install_all() { |
95 |
+ use doc && local HTML_DOCS=( doc/build/html/. ) |
96 |
+ |
97 |
+ distutils-r1_python_install_all |
98 |
+} |