1 |
commit: 9d9d64daece41e549e060ad28196f04e4cbe12b7 |
2 |
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Jan 20 13:10:41 2022 +0000 |
4 |
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jan 20 13:16:10 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9d9d64da |
7 |
|
8 |
dev-python/oslo-utils: add 4.12.1 |
9 |
|
10 |
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org> |
11 |
|
12 |
dev-python/oslo-utils/Manifest | 1 + |
13 |
dev-python/oslo-utils/oslo-utils-4.12.1.ebuild | 47 ++++++++++++++++++++++++++ |
14 |
2 files changed, 48 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/oslo-utils/Manifest b/dev-python/oslo-utils/Manifest |
17 |
index 94a881a619b1..4cc081b5095a 100644 |
18 |
--- a/dev-python/oslo-utils/Manifest |
19 |
+++ b/dev-python/oslo-utils/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST oslo.utils-4.12.0.tar.gz 100927 BLAKE2B 6f175d7c08a9084af083d1e2a339ef81c9d49f832f0c94b17fe652485f077d787731bbef61bb7b4cc30188b776b7494f53700b76a736be70cff0ce5b4da5b11d SHA512 a31d307199584d6aa891464e0d9ef218d0a2aa6b54337e081ac3d787d883dfa088484f894c421c4cbf428ce2a53b6547770d469299ec7b9d0159e5a38fde06e3 |
22 |
+DIST oslo.utils-4.12.1.tar.gz 101375 BLAKE2B d6f74c8cbe8d28b0955a7f46906f28d7719413a3ea4e210fc050f89aebf30fa03c36bec9d1ccc658d59bcfe6c933d9eb8cc6096d693f0c75882fd3099de5953a SHA512 26d4d8c7584e516c05b035a11d12b638713c9349fa8cf8a310b6ead2a078684b29409c1a6a01ac035f872f3deb0dda2aaef8c3a0150825b36d6583052d887ed7 |
23 |
|
24 |
diff --git a/dev-python/oslo-utils/oslo-utils-4.12.1.ebuild b/dev-python/oslo-utils/oslo-utils-4.12.1.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..188b2dbbcda8 |
27 |
--- /dev/null |
28 |
+++ b/dev-python/oslo-utils/oslo-utils-4.12.1.ebuild |
29 |
@@ -0,0 +1,47 @@ |
30 |
+# Copyright 1999-2022 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=8 |
34 |
+ |
35 |
+PYTHON_COMPAT=( python3_{8..9} ) |
36 |
+inherit distutils-r1 |
37 |
+ |
38 |
+MY_P=${P/-/.} |
39 |
+DESCRIPTION="Oslo Utility library" |
40 |
+HOMEPAGE="https://launchpad.net/oslo" |
41 |
+SRC_URI="mirror://pypi/${PN::1}/${PN/-/.}/${MY_P}.tar.gz" |
42 |
+S="${WORKDIR}/${MY_P}" |
43 |
+ |
44 |
+LICENSE="Apache-2.0" |
45 |
+SLOT="0" |
46 |
+KEYWORDS="~amd64 ~arm ~arm64 ~x86" |
47 |
+ |
48 |
+RDEPEND=" |
49 |
+ >=dev-python/iso8601-0.1.11[${PYTHON_USEDEP}] |
50 |
+ >=dev-python/oslo-i18n-3.15.3[${PYTHON_USEDEP}] |
51 |
+ >=dev-python/pytz-2013.6[${PYTHON_USEDEP}] |
52 |
+ >=dev-python/netaddr-0.7.18[${PYTHON_USEDEP}] |
53 |
+ >=dev-python/netifaces-0.10.4[${PYTHON_USEDEP}] |
54 |
+ >=dev-python/debtcollector-1.2.0[${PYTHON_USEDEP}] |
55 |
+ >=dev-python/pyparsing-2.1.0[${PYTHON_USEDEP}] |
56 |
+ >=dev-python/packaging-20.4[${PYTHON_USEDEP}] |
57 |
+" |
58 |
+BDEPEND=" |
59 |
+ >=dev-python/pbr-2.2.0[${PYTHON_USEDEP}] |
60 |
+ >dev-python/eventlet-0.23.0[${PYTHON_USEDEP}] |
61 |
+ test? ( |
62 |
+ >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}] |
63 |
+ >=dev-python/testscenarios-0.4[${PYTHON_USEDEP}] |
64 |
+ >=dev-python/testtools-2.2.0[${PYTHON_USEDEP}] |
65 |
+ >=dev-python/oslotest-3.2.0[${PYTHON_USEDEP}] |
66 |
+ >=dev-python/ddt-1.0.1[${PYTHON_USEDEP}] |
67 |
+ ) |
68 |
+" |
69 |
+ |
70 |
+distutils_enable_tests unittest |
71 |
+ |
72 |
+src_prepare() { |
73 |
+ # spurious rdep |
74 |
+ sed -i -e '/pbr/d' requirements.txt || die |
75 |
+ distutils-r1_src_prepare |
76 |
+} |