1 |
commit: 8513c3c396b49ac3270ec768212350ae7a0201a9 |
2 |
Author: Matthew Thode <mthode <AT> mthode <DOT> org> |
3 |
AuthorDate: Tue Sep 1 15:24:15 2015 +0000 |
4 |
Commit: Matt Thode <prometheanfire <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Sep 1 15:24:15 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8513c3c3 |
7 |
|
8 |
dev-python/debtcollector: adding for liberty |
9 |
|
10 |
Package-Manager: portage-2.2.20.1 |
11 |
|
12 |
dev-python/debtcollector/Manifest | 1 + |
13 |
.../debtcollector/debtcollector-0.7.0.ebuild | 65 ++++++++++++++++++++++ |
14 |
dev-python/debtcollector/metadata.xml | 10 ++++ |
15 |
3 files changed, 76 insertions(+) |
16 |
|
17 |
diff --git a/dev-python/debtcollector/Manifest b/dev-python/debtcollector/Manifest |
18 |
new file mode 100644 |
19 |
index 0000000..63e4627 |
20 |
--- /dev/null |
21 |
+++ b/dev-python/debtcollector/Manifest |
22 |
@@ -0,0 +1 @@ |
23 |
+DIST debtcollector-0.7.0.tar.gz 17151 SHA256 03ef06604e666a9f4a1506ffcfa887068bdb9f16e33657f9211a7b4e8bc753ea SHA512 684bea62b17843717c6aa19f36e538bd62bfe101693394eb66d6d6f408f32a0c9e458dee8c81324f4503fab952b73654f2eca24c51ef67594c51657fcdca9dad WHIRLPOOL 32cb704719ae3ea00f3d5e4e1df225604e226c5c4882afcf136fdfe035c367b334f1409c35b079214f8ab8b04608ef8a1f648a38632fc9fef9a8f312ce76d3c0 |
24 |
|
25 |
diff --git a/dev-python/debtcollector/debtcollector-0.7.0.ebuild b/dev-python/debtcollector/debtcollector-0.7.0.ebuild |
26 |
new file mode 100644 |
27 |
index 0000000..fae6fae |
28 |
--- /dev/null |
29 |
+++ b/dev-python/debtcollector/debtcollector-0.7.0.ebuild |
30 |
@@ -0,0 +1,65 @@ |
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 |
+PYTHON_COMPAT=( python2_7 python3_3 python3_4 ) |
37 |
+ |
38 |
+inherit distutils-r1 |
39 |
+ |
40 |
+DESCRIPTION="... Python deprecation patterns and strategies that help you collect your 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 ~x86" |
47 |
+IUSE="doc test" |
48 |
+ |
49 |
+CDEPEND=" |
50 |
+ >=dev-python/pbr-1.6[${PYTHON_USEDEP}] |
51 |
+ <dev-python/pbr-2.0[${PYTHON_USEDEP}] |
52 |
+" |
53 |
+DEPEND=" |
54 |
+ dev-python/setuptools[${PYTHON_USEDEP}] |
55 |
+ ${CDEPEND} |
56 |
+ test? ( |
57 |
+ >=dev-python/subunit-0.0.18[${PYTHON_USEDEP}] |
58 |
+ >=dev-python/oslotest-1.9.0[${PYTHON_USEDEP}] |
59 |
+ >=dev-python/testrepository-0.0.18[${PYTHON_USEDEP}] |
60 |
+ >=dev-python/testscenarios-0.4[${PYTHON_USEDEP}] |
61 |
+ !~dev-python/testtools-1.4.0[${PYTHON_USEDEP}] |
62 |
+ ) |
63 |
+ doc? ( |
64 |
+ >=dev-python/oslo-sphinx-2.5.0[${PYTHON_USEDEP}] |
65 |
+ >=dev-python/sphinx-1.1.2[${PYTHON_USEDEP}] |
66 |
+ !~dev-python/sphinx-1.2.0[${PYTHON_USEDEP}] |
67 |
+ <dev-python/sphinx-1.3[${PYTHON_USEDEP}] |
68 |
+ ) |
69 |
+" |
70 |
+RDEPEND=" |
71 |
+ ${CDEPEND} |
72 |
+ >=dev-python/Babel-1.3[${PYTHON_USEDEP}] |
73 |
+ >=dev-python/six-1.9.0[${PYTHON_USEDEP}] |
74 |
+ >=dev-python/wrapt-1.7.0[${PYTHON_USEDEP}] |
75 |
+" |
76 |
+ |
77 |
+python_compile_all() { |
78 |
+ sed -i '/^hacking/d' test-requirements.txt || die |
79 |
+ use doc && esetup.py build_sphinx |
80 |
+} |
81 |
+ |
82 |
+python_test() { |
83 |
+ distutils_install_for_testing |
84 |
+ |
85 |
+ rm -rf .testrepository || die "couldn't remove '.testrepository' under ${EPYTHON}" |
86 |
+ |
87 |
+ testr init || die "testr init failed under ${EPYTHON}" |
88 |
+ testr run || die "testr run failed under ${EPYTHON}" |
89 |
+} |
90 |
+ |
91 |
+python_install_all() { |
92 |
+ use doc && local HTML_DOCS=( docs/build/html/. ) |
93 |
+ |
94 |
+ distutils-r1_python_install_all |
95 |
+} |
96 |
|
97 |
diff --git a/dev-python/debtcollector/metadata.xml b/dev-python/debtcollector/metadata.xml |
98 |
new file mode 100644 |
99 |
index 0000000..d5dfd32 |
100 |
--- /dev/null |
101 |
+++ b/dev-python/debtcollector/metadata.xml |
102 |
@@ -0,0 +1,10 @@ |
103 |
+<?xml version="1.0" encoding="UTF-8"?> |
104 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
105 |
+<pkgmetadata> |
106 |
+ <maintainer> |
107 |
+ <email>prometheanfire@g.o</email> |
108 |
+ <name>Matthew Thode</name> |
109 |
+ </maintainer> |
110 |
+ <longdescription lang="en"> |
111 |
+ </longdescription> |
112 |
+</pkgmetadata> |