1 |
commit: 500e451d755b9bcebef7bec4a32468b05ca180c3 |
2 |
Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Feb 16 04:56:43 2018 +0000 |
4 |
Commit: Matt Thode <prometheanfire <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Feb 16 04:56:43 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=500e451d |
7 |
|
8 |
dev-python/oslo-i18n: 3.19.0 bup |
9 |
|
10 |
Package-Manager: Portage-2.3.19, Repoman-2.3.6 |
11 |
|
12 |
dev-python/oslo-i18n/Manifest | 1 + |
13 |
dev-python/oslo-i18n/oslo-i18n-3.19.0.ebuild | 68 ++++++++++++++++++++++++++++ |
14 |
2 files changed, 69 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/oslo-i18n/Manifest b/dev-python/oslo-i18n/Manifest |
17 |
index 54cba0facd5..4cd436a0d68 100644 |
18 |
--- a/dev-python/oslo-i18n/Manifest |
19 |
+++ b/dev-python/oslo-i18n/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST oslo-i18n-3.17.1.tar.gz 42660 BLAKE2B 645a8341cf2bedf18932fbfa092b608da4169993a2a62aef36b869e975dfd662b7d52008aedf046b09ac10e4641e810902904b16e450a728b0f075fdee654977 SHA512 86d244eba7a887d4b8c3327487c9dd67c8e4baa52afdc05f94a229d6c1c951b8a25fc628f490320501773bb808afb8fb3b450a8d26e11b9a36a3c22baaa64544 |
22 |
+DIST oslo-i18n-3.19.0.tar.gz 41888 BLAKE2B 651b6e1ee2d2d6c11bd1b86b78eadf70b33338f5495fb93d58747635961df20fbf74fb2a949ef81b82efce582410f05c88806e678f688bb686b500378c77ff6e SHA512 2c12fc5ec24fbebd2624b3bf9d3043a62da84304e73a995c49b395e792bd9bd7d38a13f5e3086abe59bbb9ef43729a47eaee78ea0701ed05c15f5070af232a69 |
23 |
|
24 |
diff --git a/dev-python/oslo-i18n/oslo-i18n-3.19.0.ebuild b/dev-python/oslo-i18n/oslo-i18n-3.19.0.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..b5bcdc23765 |
27 |
--- /dev/null |
28 |
+++ b/dev-python/oslo-i18n/oslo-i18n-3.19.0.ebuild |
29 |
@@ -0,0 +1,68 @@ |
30 |
+# Copyright 1999-2018 Gentoo Foundation |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=6 |
34 |
+ |
35 |
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} ) |
36 |
+ |
37 |
+inherit distutils-r1 vcs-snapshot |
38 |
+ |
39 |
+MY_PN=${PN/-/.} |
40 |
+ |
41 |
+DESCRIPTION="Oslo i18n library" |
42 |
+HOMEPAGE="https://launchpad.net/oslo" |
43 |
+SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz -> ${P}.tar.gz" |
44 |
+ |
45 |
+LICENSE="Apache-2.0" |
46 |
+SLOT="0" |
47 |
+KEYWORDS="~amd64 ~arm64 ~x86" |
48 |
+IUSE="doc test" |
49 |
+ |
50 |
+CDEPEND=">=dev-python/pbr-2.0.0[${PYTHON_USEDEP}] |
51 |
+ !~dev-python/pbr-2.1.0[${PYTHON_USEDEP}]" |
52 |
+DEPEND=" |
53 |
+ dev-python/setuptools[${PYTHON_USEDEP}] |
54 |
+ ${CDEPEND} |
55 |
+ test? ( |
56 |
+ >=dev-python/mock-2.0.0[${PYTHON_USEDEP}] |
57 |
+ >=dev-python/oslotest-1.10.0[${PYTHON_USEDEP}] |
58 |
+ >=dev-python/coverage-4.0[${PYTHON_USEDEP}] |
59 |
+ !~dev-python/coverage-4.4[${PYTHON_USEDEP}] |
60 |
+ >=dev-python/testscenarios-0.4[${PYTHON_USEDEP}] |
61 |
+ >=dev-python/oslo-config-5.1.0[${PYTHON_USEDEP}] |
62 |
+ ) |
63 |
+ doc? ( |
64 |
+ >=dev-python/oslotest-1.10.0[${PYTHON_USEDEP}] |
65 |
+ >=dev-python/openstackdocstheme-1.17.0[${PYTHON_USEDEP}] |
66 |
+ >=dev-python/sphinx-1.6.2[${PYTHON_USEDEP}] |
67 |
+ >=dev-python/reno-2.5.0[${PYTHON_USEDEP}] |
68 |
+ ) |
69 |
+" |
70 |
+RDEPEND=" |
71 |
+ ${CDEPEND} |
72 |
+ >=dev-python/Babel-2.3.4[${PYTHON_USEDEP}] |
73 |
+ !~dev-python/Babel-2.4.0[${PYTHON_USEDEP}] |
74 |
+ >=dev-python/six-1.9.0[${PYTHON_USEDEP}] |
75 |
+" |
76 |
+ |
77 |
+python_prepare_all() { |
78 |
+ sed -i '/^hacking/d' test-requirements.txt || die |
79 |
+ distutils-r1_python_prepare_all |
80 |
+} |
81 |
+ |
82 |
+python_compile_all() { |
83 |
+ use doc && esetup.py build_sphinx |
84 |
+} |
85 |
+ |
86 |
+python_test() { |
87 |
+ rm -rf .testrepository || die "couldn't remove '.testrepository' under ${EPYTHON}" |
88 |
+ |
89 |
+ testr init || die "testr init failed under ${EPYTHON}" |
90 |
+ testr run || die "testr run failed under ${EPYTHON}" |
91 |
+} |
92 |
+ |
93 |
+python_install_all() { |
94 |
+ use doc && local HTML_DOCS=( doc/build/html/. ) |
95 |
+ |
96 |
+ distutils-r1_python_install_all |
97 |
+} |