1 |
commit: 1bf29e059b6a95f281c5ac9838133c811ccee41d |
2 |
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Aug 31 16:27:00 2021 +0000 |
4 |
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Sep 30 17:57:22 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1bf29e05 |
7 |
|
8 |
dev-python/tempest: initial import |
9 |
|
10 |
Very much used testing usage facility for various openstack modules. |
11 |
|
12 |
Test suite is broken for now in out venv conditions. Anyone who |
13 |
manages to fix it - I will thank him. |
14 |
|
15 |
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org> |
16 |
|
17 |
dev-python/tempest/Manifest | 1 + |
18 |
dev-python/tempest/metadata.xml | 13 ++++++++ |
19 |
dev-python/tempest/tempest-29.0.0.ebuild | 55 ++++++++++++++++++++++++++++++++ |
20 |
3 files changed, 69 insertions(+) |
21 |
|
22 |
diff --git a/dev-python/tempest/Manifest b/dev-python/tempest/Manifest |
23 |
new file mode 100644 |
24 |
index 00000000000..032f2b8a873 |
25 |
--- /dev/null |
26 |
+++ b/dev-python/tempest/Manifest |
27 |
@@ -0,0 +1 @@ |
28 |
+DIST tempest-29.0.0.tar.gz 1090497 BLAKE2B 520e9de1fc326d9a64d7ab5e93887f3bd455d9c47d29e0774bfb362b1baff6c1dd13fc6df2c756f0e73dd2b33ecb02ea61abdca9ea1ae68474ba53271c6c9e93 SHA512 03049d6cf0e77bac1afafad88b5b0fd22abaa40ed24ffd2c0c989dbadf277c09d703f0d9f7b34f4f68a4b5858b061ea9586ef66e26749b0822af0e426d1b81a7 |
29 |
|
30 |
diff --git a/dev-python/tempest/metadata.xml b/dev-python/tempest/metadata.xml |
31 |
new file mode 100644 |
32 |
index 00000000000..bbcebc29460 |
33 |
--- /dev/null |
34 |
+++ b/dev-python/tempest/metadata.xml |
35 |
@@ -0,0 +1,13 @@ |
36 |
+<?xml version="1.0" encoding="UTF-8"?> |
37 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
38 |
+<pkgmetadata> |
39 |
+ <maintainer type="person"> |
40 |
+ <email>arthurzam@g.o</email> |
41 |
+ <name>Arthur Zamarin</name> |
42 |
+ </maintainer> |
43 |
+ <stabilize-allarches/> |
44 |
+ <upstream> |
45 |
+ <remote-id type="pypi">tempest</remote-id> |
46 |
+ <remote-id type="github">openstack/tempest</remote-id> |
47 |
+ </upstream> |
48 |
+</pkgmetadata> |
49 |
|
50 |
diff --git a/dev-python/tempest/tempest-29.0.0.ebuild b/dev-python/tempest/tempest-29.0.0.ebuild |
51 |
new file mode 100644 |
52 |
index 00000000000..d38e44c8e74 |
53 |
--- /dev/null |
54 |
+++ b/dev-python/tempest/tempest-29.0.0.ebuild |
55 |
@@ -0,0 +1,55 @@ |
56 |
+# Copyright 2021 Gentoo Authors |
57 |
+# Distributed under the terms of the GNU General Public License v2 |
58 |
+ |
59 |
+EAPI=8 |
60 |
+ |
61 |
+PYTHON_COMPAT=( python3_{8..9} ) |
62 |
+inherit distutils-r1 |
63 |
+ |
64 |
+DESCRIPTION="OpenStack Integration Testing" |
65 |
+HOMEPAGE="https://pypi.org/project/tempest/ https://docs.openstack.org/tempest/latest/" |
66 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
67 |
+ |
68 |
+LICENSE="Apache-2.0" |
69 |
+SLOT="0" |
70 |
+KEYWORDS="~amd64 ~x86" |
71 |
+ |
72 |
+RDEPEND=" |
73 |
+ >dev-python/pbr-2.1.0[${PYTHON_USEDEP}] |
74 |
+ >dev-python/cliff-2.9.0[${PYTHON_USEDEP}] |
75 |
+ >=dev-python/jsonschema-3.2.0[${PYTHON_USEDEP}] |
76 |
+ >=dev-python/testtools-2.2.0[${PYTHON_USEDEP}] |
77 |
+ >=dev-python/paramiko-2.7.0[${PYTHON_USEDEP}] |
78 |
+ >=dev-python/netaddr-0.7.18[${PYTHON_USEDEP}] |
79 |
+ >=dev-python/oslo-concurrency-3.26.0[${PYTHON_USEDEP}] |
80 |
+ >=dev-python/oslo-config-5.2.0[${PYTHON_USEDEP}] |
81 |
+ >=dev-python/oslo-log-3.36.0[${PYTHON_USEDEP}] |
82 |
+ >=dev-python/oslo-utils-4.7.0[${PYTHON_USEDEP}] |
83 |
+ >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}] |
84 |
+ >=dev-python/pyyaml-3.12[${PYTHON_USEDEP}] |
85 |
+ >=dev-python/subunit-1.0.0[${PYTHON_USEDEP}] |
86 |
+ >=dev-python/stevedore-1.20.0[${PYTHON_USEDEP}] |
87 |
+ >=dev-python/prettytable-0.7.1[${PYTHON_USEDEP}] |
88 |
+ >=dev-python/urllib3-1.21.1[${PYTHON_USEDEP}] |
89 |
+ >=dev-python/debtcollector-1.2.0[${PYTHON_USEDEP}] |
90 |
+" |
91 |
+BDEPEND=" |
92 |
+ >dev-python/pbr-2.1.0[${PYTHON_USEDEP}] |
93 |
+ test? ( |
94 |
+ >=dev-python/oslotest-3.2.0[${PYTHON_USEDEP}] |
95 |
+ dev-python/stestr[${PYTHON_USEDEP}] |
96 |
+ ) |
97 |
+" |
98 |
+ |
99 |
+# A lot of fails and error of InvalidCredentials |
100 |
+# The test suite expects full venv based on tox |
101 |
+# Please test the package using manual tox run |
102 |
+RESTRICT="test" |
103 |
+ |
104 |
+distutils_enable_tests unittest |
105 |
+ |
106 |
+python_test() { |
107 |
+ distutils_install_for_testing --via-venv |
108 |
+ local -x OS_LOG_CAPTURE=1 OS_STDOUT_CAPTURE=1 OS_STDERR_CAPTURE=1 OS_TEST_TIMEOUT=160 |
109 |
+ eunittest -b |
110 |
+} |