Gentoo Archives: gentoo-commits

From: Arthur Zamarin <arthurzam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/tempest/
Date: Tue, 28 Feb 2023 18:16:42
Message-Id: 1677608185.1a55840a800381b0cbb8e3e9de28b0025acc408d.arthurzam@gentoo
1 commit: 1a55840a800381b0cbb8e3e9de28b0025acc408d
2 Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
3 AuthorDate: Tue Feb 28 17:30:16 2023 +0000
4 Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
5 CommitDate: Tue Feb 28 18:16:25 2023 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a55840a
7
8 dev-python/tempest: add 34.0.0
9
10 Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
11
12 dev-python/tempest/Manifest | 1 +
13 dev-python/tempest/tempest-34.0.0.ebuild | 74 ++++++++++++++++++++++++++++++++
14 2 files changed, 75 insertions(+)
15
16 diff --git a/dev-python/tempest/Manifest b/dev-python/tempest/Manifest
17 index 0f72648107ee..0ad9fde44e11 100644
18 --- a/dev-python/tempest/Manifest
19 +++ b/dev-python/tempest/Manifest
20 @@ -1 +1,2 @@
21 DIST tempest-33.0.0.tar.gz 1126464 BLAKE2B 14bce9e0baf1878fc30cc5026c7849cda5abc0291706c7cd051827ffb1e15670e653a20ba6c0c898e86a7e1bee498d14139f82887606f5587b7775d18f96595f SHA512 1a34bc81a18121e3be05ab1a2b637aa8bfc41a0a8e11824294c78468762fb5f303ebf9607f5e72aed1cc5b130b26e22bf72c0574472a0de4eca083e899ff6eb0
22 +DIST tempest-34.0.0.tar.gz 1138466 BLAKE2B fb08579592445ad9d7bebff5c828b507ddd4d3db560d3d6548a1f26e3ee942f0fda74082eaeee8bba224f284942a4dcf1cabeab9a35821b1a03d0d9d1d126b45 SHA512 83d23d8e6cf6507eec175733372a4f8a4e95e9cb66cdb0ad716bdd4de211a8ae290ba0f56f6ebd1262ff8769619aa6b9e4cba4bc6e7e3dabf1c702167077a962
23
24 diff --git a/dev-python/tempest/tempest-34.0.0.ebuild b/dev-python/tempest/tempest-34.0.0.ebuild
25 new file mode 100644
26 index 000000000000..551a3d439257
27 --- /dev/null
28 +++ b/dev-python/tempest/tempest-34.0.0.ebuild
29 @@ -0,0 +1,74 @@
30 +# Copyright 2021-2023 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=8
34 +
35 +DISTUTILS_USE_PEP517=setuptools
36 +PYTHON_COMPAT=( python3_{9..11} )
37 +
38 +inherit distutils-r1 pypi
39 +
40 +DESCRIPTION="OpenStack Integration Testing"
41 +HOMEPAGE="
42 + https://pypi.org/project/tempest/
43 + https://docs.openstack.org/tempest/latest/
44 + https://launchpad.net/tempest/
45 +"
46 +
47 +LICENSE="Apache-2.0"
48 +SLOT="0"
49 +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
50 +
51 +RDEPEND="
52 + >dev-python/pbr-2.1.0[${PYTHON_USEDEP}]
53 + >dev-python/cliff-2.9.0[${PYTHON_USEDEP}]
54 + >=dev-python/jsonschema-3.2.0[${PYTHON_USEDEP}]
55 + >=dev-python/testtools-2.2.0[${PYTHON_USEDEP}]
56 + >=dev-python/paramiko-2.7.0[${PYTHON_USEDEP}]
57 + >=dev-python/netaddr-0.7.18[${PYTHON_USEDEP}]
58 + >=dev-python/oslo-concurrency-3.26.0[${PYTHON_USEDEP}]
59 + >=dev-python/oslo-config-5.2.0[${PYTHON_USEDEP}]
60 + >=dev-python/oslo-log-3.36.0[${PYTHON_USEDEP}]
61 + >=dev-python/oslo-utils-4.7.0[${PYTHON_USEDEP}]
62 + >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}]
63 + >=dev-python/pyyaml-3.12[${PYTHON_USEDEP}]
64 + >=dev-python/subunit-1.0.0[${PYTHON_USEDEP}]
65 + >=dev-python/stevedore-1.20.0[${PYTHON_USEDEP}]
66 + >=dev-python/prettytable-0.7.1[${PYTHON_USEDEP}]
67 + >=dev-python/urllib3-1.21.1[${PYTHON_USEDEP}]
68 + >=dev-python/debtcollector-1.2.0[${PYTHON_USEDEP}]
69 + >=dev-python/defusedxml-0.7.1[${PYTHON_USEDEP}]
70 +"
71 +BDEPEND="
72 + >dev-python/pbr-2.1.0[${PYTHON_USEDEP}]
73 + test? (
74 + >=dev-python/oslotest-3.2.0[${PYTHON_USEDEP}]
75 + dev-python/stestr[${PYTHON_USEDEP}]
76 + )
77 +"
78 +
79 +distutils_enable_tests unittest
80 +
81 +src_prepare() {
82 + # Small subset of tests, which fail as result of not using specific
83 + # testing environment. Others expect to run suite using stestr.
84 + rm -r tempest/tests/lib/services/volume/v3/ || die
85 + rm tempest/tests/test_list_tests.py || die
86 + rm tempest/tests/lib/cmd/test_check_uuid.py || die
87 +
88 + # remove dep on hacking
89 + rm tempest/tests/test_hacking.py || die
90 +
91 + distutils-r1_src_prepare
92 +}
93 +
94 +python_compile() {
95 + distutils-r1_python_compile
96 + mv "${BUILD_DIR}"/install/{usr/,}etc || die
97 +}
98 +
99 +python_test() {
100 + local -x OS_LOG_CAPTURE=1 OS_STDOUT_CAPTURE=1 OS_STDERR_CAPTURE=1
101 + local -x OS_TEST_TIMEOUT=300
102 + eunittest -b -s tempest/tests -t .
103 +}