1 |
commit: e63f3bee07e9a2040fc1c09f19faf95e9e50ee1a |
2 |
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com> |
3 |
AuthorDate: Sat Oct 2 13:04:05 2021 +0000 |
4 |
Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com> |
5 |
CommitDate: Sun Oct 3 18:32:00 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e63f3bee |
7 |
|
8 |
dev-python/os-xenapi: add tests |
9 |
|
10 |
Closes: https://bugs.gentoo.org/800314 |
11 |
Closes: https://bugs.gentoo.org/815613 |
12 |
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com> |
13 |
|
14 |
dev-python/os-xenapi/os-xenapi-0.3.4-r1.ebuild | 30 ---------------- |
15 |
dev-python/os-xenapi/os-xenapi-0.3.4-r2.ebuild | 48 ++++++++++++++++++++++++++ |
16 |
2 files changed, 48 insertions(+), 30 deletions(-) |
17 |
|
18 |
diff --git a/dev-python/os-xenapi/os-xenapi-0.3.4-r1.ebuild b/dev-python/os-xenapi/os-xenapi-0.3.4-r1.ebuild |
19 |
deleted file mode 100644 |
20 |
index bb3eec871..000000000 |
21 |
--- a/dev-python/os-xenapi/os-xenapi-0.3.4-r1.ebuild |
22 |
+++ /dev/null |
23 |
@@ -1,30 +0,0 @@ |
24 |
-# Copyright 1999-2020 Gentoo Authors |
25 |
-# Distributed under the terms of the GNU General Public License v2 |
26 |
- |
27 |
-EAPI=7 |
28 |
-PYTHON_COMPAT=( python3_{7,8} ) |
29 |
-DISTUTILS_USE_SETUPTOOLS=rdepend |
30 |
- |
31 |
-inherit distutils-r1 |
32 |
- |
33 |
-DESCRIPTION="XenAPI library for OpenStack projects" |
34 |
-HOMEPAGE="https://github.com/openstack/os-xenapi" |
35 |
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
36 |
- |
37 |
-LICENSE="Apache-2.0" |
38 |
-SLOT="0" |
39 |
-KEYWORDS="~amd64" |
40 |
-IUSE="" |
41 |
- |
42 |
-DEPEND=">=dev-python/pbr-2.0.0[${PYTHON_USEDEP}]" |
43 |
-RDEPEND=" |
44 |
- >=dev-python/pbr-2.0.0[${PYTHON_USEDEP}] |
45 |
- >=dev-python/Babel-2.3.4[${PYTHON_USEDEP}] |
46 |
- >=dev-python/eventlet-0.18.4[${PYTHON_USEDEP}] |
47 |
- !~dev-python/eventlet-0.20.1[${PYTHON_USEDEP}] |
48 |
- >=dev-python/oslo-concurrency-3.26.0[${PYTHON_USEDEP}] |
49 |
- >=dev-python/oslo-log-3.36.0[${PYTHON_USEDEP}] |
50 |
- >=dev-python/oslo-utils-3.33.0[${PYTHON_USEDEP}] |
51 |
- >=dev-python/oslo-i18n-3.15.3[${PYTHON_USEDEP}] |
52 |
- >=dev-python/six-1.9.0[${PYTHON_USEDEP}] |
53 |
-" |
54 |
|
55 |
diff --git a/dev-python/os-xenapi/os-xenapi-0.3.4-r2.ebuild b/dev-python/os-xenapi/os-xenapi-0.3.4-r2.ebuild |
56 |
new file mode 100644 |
57 |
index 000000000..ed2fff781 |
58 |
--- /dev/null |
59 |
+++ b/dev-python/os-xenapi/os-xenapi-0.3.4-r2.ebuild |
60 |
@@ -0,0 +1,48 @@ |
61 |
+# Copyright 1999-2021 Gentoo Authors |
62 |
+# Distributed under the terms of the GNU General Public License v2 |
63 |
+ |
64 |
+EAPI=8 |
65 |
+ |
66 |
+PYTHON_COMPAT=( python3_8 ) |
67 |
+ |
68 |
+inherit distutils-r1 |
69 |
+ |
70 |
+DESCRIPTION="XenAPI library for OpenStack projects" |
71 |
+HOMEPAGE=" |
72 |
+ https://github.com/openstack/os-xenapi |
73 |
+ https://launchpad.net/os-xenapi |
74 |
+ https://launchpad.net/os-xenapi |
75 |
+ https://opendev.org/x/os-xenapi |
76 |
+" |
77 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
78 |
+ |
79 |
+LICENSE="Apache-2.0" |
80 |
+SLOT="0" |
81 |
+KEYWORDS="~amd64" |
82 |
+ |
83 |
+RDEPEND=" |
84 |
+ >=dev-python/pbr-2.0.0[${PYTHON_USEDEP}] |
85 |
+ >=dev-python/Babel-2.3.4[${PYTHON_USEDEP}] |
86 |
+ >=dev-python/eventlet-0.18.2[${PYTHON_USEDEP}] |
87 |
+ >=dev-python/oslo-concurrency-3.26.0[${PYTHON_USEDEP}] |
88 |
+ >=dev-python/oslo-log-3.36.0[${PYTHON_USEDEP}] |
89 |
+ >=dev-python/oslo-utils-3.33.0[${PYTHON_USEDEP}] |
90 |
+ >=dev-python/oslo-i18n-3.15.3[${PYTHON_USEDEP}] |
91 |
+ >=dev-python/paramiko-2.0.0[${PYTHON_USEDEP}] |
92 |
+ >=dev-python/six-1.10.0[${PYTHON_USEDEP}] |
93 |
+" |
94 |
+DEPEND=" |
95 |
+ ${RDEPEND} |
96 |
+ test? ( |
97 |
+ >=dev-python/hacking-0.11.0[${PYTHON_USEDEP}] |
98 |
+ >=dev-python/subunit-1.0.0[${PYTHON_USEDEP}] |
99 |
+ >=dev-python/oslotest-3.2.0[${PYTHON_USEDEP}] |
100 |
+ >=dev-python/os-testr-1.0.0[${PYTHON_USEDEP}] |
101 |
+ >=dev-python/testrepository-0.0.18[${PYTHON_USEDEP}] |
102 |
+ >=dev-python/testscenarios-0.4[${PYTHON_USEDEP}] |
103 |
+ >=dev-python/testtools-2.2.0[${PYTHON_USEDEP}] |
104 |
+ >=dev-python/reno-2.5.0[${PYTHON_USEDEP}] |
105 |
+ ) |
106 |
+" |
107 |
+ |
108 |
+distutils_enable_tests pytest |