Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/libvirt-python/
Date: Fri, 23 Sep 2022 01:06:44
Message-Id: 1663895099.7a2332a541a24662cb0c3071732eb86ceee9fa6c.sam@gentoo
1 commit: 7a2332a541a24662cb0c3071732eb86ceee9fa6c
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Fri Sep 23 01:04:59 2022 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Fri Sep 23 01:04:59 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a2332a5
7
8 dev-python/libvirt-python: drop 7.10.0, 8.0.0, 8.1.0, 8.3.0, 8.4.0, 8.5.0
9
10 Signed-off-by: Sam James <sam <AT> gentoo.org>
11
12 dev-python/libvirt-python/Manifest | 12 -----
13 .../libvirt-python/libvirt-python-7.10.0.ebuild | 51 --------------------
14 .../libvirt-python/libvirt-python-8.0.0.ebuild | 51 --------------------
15 .../libvirt-python/libvirt-python-8.1.0.ebuild | 53 --------------------
16 .../libvirt-python/libvirt-python-8.3.0.ebuild | 56 ----------------------
17 .../libvirt-python/libvirt-python-8.4.0.ebuild | 56 ----------------------
18 .../libvirt-python/libvirt-python-8.5.0.ebuild | 56 ----------------------
19 7 files changed, 335 deletions(-)
20
21 diff --git a/dev-python/libvirt-python/Manifest b/dev-python/libvirt-python/Manifest
22 index 25fa524e0841..3511d0e4d5ff 100644
23 --- a/dev-python/libvirt-python/Manifest
24 +++ b/dev-python/libvirt-python/Manifest
25 @@ -1,18 +1,6 @@
26 -DIST libvirt-python-7.10.0.tar.gz 218394 BLAKE2B be1b64489503ca2e8bcaafc516ab228052b4e3e486aef1ef5310a95051a9549fe262feb009356f3735a3656e7b445ef6943b1932373be3618c36445042da8565 SHA512 db3c6ccffa3c2f38b788964f7a9cedee3e8de64fb5ecb65ac859eeac1450bea1ade8a7259a6035d7ee25af7d861b2e87f6eba24c21cab3f483c1a97318181d7e
27 -DIST libvirt-python-7.10.0.tar.gz.asc 833 BLAKE2B cf9d661bafd7e2ee52e895d3b5aa7d569226f90b4924a95c4178fb724847bfdcd085b04ae33a315480b20115318604809bc4a7edce5c801fd1286581cd8989a5 SHA512 f36d47b4b78daa1e848954acb3032750fc9bec58723b9bd04c48ca1a9b45e1a0252b85adef239080f6aef199c836d04db283510b099c69792e1c4b403c7d3685
28 DIST libvirt-python-7.7.0.tar.gz 217406 BLAKE2B 4e3e887f9778ca817028d9147913618dcbdc83d05ce01b05b80661bb4cc823de6dc0e9d9b0837bf344774e5a8cdbaec7d4a7e55ce902b2867159795b85800cdc SHA512 07aa75a19dc94f3bde49b1af50fa73a6c920059b3b9ca943354c59f174d756aa5d1dca1394844dc3197b6a22c440028d347480a17858bc18fe1b5b19cf7d797f
29 DIST libvirt-python-7.7.0.tar.gz.asc 833 BLAKE2B 159f5b5ec60d3b7966f3f99c185eddb8d2d03480b203473ae47e6139b21f8a4ee8bb8ba28ccacb88ad42c7b47d45862ccb48c90151203fb4e2295f355984e538 SHA512 b58579e648b82ec51de5f15e30dee39f7c42edf47ade4ad6f580bef21191f649b03eb05906bf31baa19afb6fadb57662c5326edb53b056a7235308d9c3bd551d
30 -DIST libvirt-python-8.0.0.tar.gz 218832 BLAKE2B be86e423607f90fb9e93fdb3b1ea768eed078ef3a4a05c5ee258ad48f650aeb15314ce9c0c45b3e986a18b81ae69c705c6cbe02d429fd71eb9dd7b9118fe91a3 SHA512 9eb85ae3048274a239908b658c0dacf0588538b356fc59c388900bca7164612d7370f3dddd2eb4c81e88fff7671118517bf0f5fd4382c5a88102212349dff4ec
31 -DIST libvirt-python-8.0.0.tar.gz.asc 833 BLAKE2B 12aec1acbf41811d9aa33a99038e1987624a2964579ef8ec236ba63fa8507cbe47d17e654221753a8d53af7d44ec53c2daca54f3b2dce18d8aea3e6d1012beaa SHA512 d6652f5d694a2b12d595fd78eb8ebc4f03ee02d20ed06187edfca5611b4784469af1cfd8c3ba009b799e7adf500775ede9d9c53544b995a072dc599797460d16
32 -DIST libvirt-python-8.1.0.tar.gz 221567 BLAKE2B aaf296f60c991c2877a2bb4ed47f1f2c4f75dd16b6831f53baab23883030cf20675ea61f636f0483e0c9a2f362638c860dd68eeb23b5ad82f43c66cd5f91b825 SHA512 507742d7b6503fdab45dad0b1e3b320f49a5cb01c1e0077f777bf41d53d2e6be4df0671e379d9a69330623ae362b725c7511d44d2c48489b21a657cf17efbd93
33 -DIST libvirt-python-8.1.0.tar.gz.asc 833 BLAKE2B a4fb10816ee50c1979926db87fa85e838e6caf74d086b612f07fb37730003030c16ce9f538fa8765a705b9a51d398e0284410a53aed31ac3452af4a4e5aae30e SHA512 2ca4bf7393f60267e0d7d32dcc50219847a86dbde76e1a83a9723c07133ff90d930dde32f454631c474fd36ac3837ccf94629576ddfb93288dfdb2490ce20724
34 DIST libvirt-python-8.2.0.tar.gz 223589 BLAKE2B 6c8d39e6af1167aa24a1c0710177188aa0a73e54d9dbd6015d6a3b60726b78c45442fc756e68c61d54352a5fa9466f538ff986712e775bc54d46c885bcbcc8da SHA512 8d3eceb36651dbb903f51ec198dcf6bcd4dc3d3b31ce6a41df10928bbbf43b32a2f80c006c1fb9fc3e1cf2d7ffed95efc1209e0d20018135fb32c50876987d58
35 DIST libvirt-python-8.2.0.tar.gz.asc 833 BLAKE2B 262a8072b58b19f871a72ed81d8dcab907130ce6f25f6478c72e6f3e7d8d51226fda1844a37baf82667d2f35ef3e64e84e47de1d33217a356ea1d78fec6aa548 SHA512 11ea846816a3300940b9792a5a778c633bb2d9e0523f442588ae82f8fb46ecc0256267b2efece655331112e3912c9bfcf46247555e48d1861999d1363f6034b1
36 -DIST libvirt-python-8.3.0.tar.gz 231579 BLAKE2B 0bd169b66f490e100eab95f94f412d27836a302d57c4771a35154995122fa23a4b9f8c836b622bbb1d7790664ab5c8c25f7158b2c11dcbfcf48ebf6bb6dc32db SHA512 8b50e4142f14e60bc50065bb3708bb04deb3f72061b056492cca52b866bf86f0b7b47e2f8de39d4f8898cf860f7247d0cb243eb2ad6a9329b27fc890f727ebd8
37 -DIST libvirt-python-8.3.0.tar.gz.asc 833 BLAKE2B bb19bef914e39d04b6580dcce1813bc21c5213a2b4c88d44686eeecc9ffc9383db3bab62d46840138a9a9e80d6429662aec43d586dddc041bca4543ff49c465b SHA512 65d417a6849614f94a59dca94cb258b7de487fbc409cd2cfc8c3e9cbdc76ae83c6c2c40a0cf4c12877d2fa78bbcf371512ca6f71973466d2151be690a8b4422c
38 -DIST libvirt-python-8.4.0.tar.gz 231985 BLAKE2B 64d37074e04cdb02332987dc46e6dd7b38dbc8fa4de0e6e1cbde1caba370f5eed650c4a135f6101c355f189a91fbba82dcac3d50f8c0d0678ce4def448a4b168 SHA512 6c831ae45549ab0c4d720826e2f5cb219eaab0943b8c71fe70c02fd49097fb5565ee6f651b19e34f72d6b0133bf3b4bb8bfe56b37723b24eaf336f65ab0a5865
39 -DIST libvirt-python-8.4.0.tar.gz.asc 833 BLAKE2B fa6f5e10ca3e06c017e9988e676dd2beca2bcb88f4d55d7a1740d42b4ea56ff0cdb4fd7698392ce1eead7a81fafcc1475eb6270329f56e191a4a4551120e982b SHA512 855869856ff41338c4ed1b707db4a0ace97a60e51d19183a0c1f904695b8a367249ae6266a45d79449443325cc85485db89dc73b09ac318c206cc03ab36ef179
40 -DIST libvirt-python-8.5.0.tar.gz 235414 BLAKE2B 616c8415f94a6c53b9bcd6ff7433993a3d40eb49ff13eaf81eee52c52806fb1d281216e8bd591deeee6058e2cb5161310d0ae1217467cd1f0525c00d7252214d SHA512 0e922301243200229c01659e57b4abad69a85931ea3ffcb70b117f313971d266d036dc6c1dbe42d48380d5ad9ed72326603101eb33d6a68dd6b7253a6e197aff
41 -DIST libvirt-python-8.5.0.tar.gz.asc 833 BLAKE2B 5b3c37ee02d6a5cefcc81945b9f4c67f19d297f03ad16e2666e87c3ea54ac609d774d3bb90a47e4098914460fd0928f66641f52185fe367cad9794636a809836 SHA512 4fae1d23f7ef2fccb38dee397173f3571b64969672cbe297e3622b9a0194e4a434329de543e886a4a20a9e1e0e3f1fec10a08d924ec0e728b9e29a44877c7e24
42 DIST libvirt-python-8.7.0.tar.gz 236343 BLAKE2B 563cd1a18f06c0210465905267c46b3e5c598a9dcb208f468660d40988a4f6d80e61feed3702d830d465769eebb2c4d6604ef9449700923795c0485c36e38680 SHA512 f7883964875657a11c6756e31fda59eadba8394b71dda04df366aac85b163f3ffb379054bace38922d10d0b8972d1e1210d1513498cfd5cd8f0b76d6985ee945
43 DIST libvirt-python-8.7.0.tar.gz.asc 833 BLAKE2B 5386780d75114c21105d012fd0ec2fd22fdd979dd6cdaea59f578eff4c0616e377da52d8aec05f337b837fda663ce8afb6d670e960ee65146679cd8c9a60b12b SHA512 499324c7cb520edbd1778a16434de43be062545255abb271832a636ff1ce9f4ba87e90226a181e081d084fccd6c190acc15763fecfc89e80093845589c12f535
44
45 diff --git a/dev-python/libvirt-python/libvirt-python-7.10.0.ebuild b/dev-python/libvirt-python/libvirt-python-7.10.0.ebuild
46 deleted file mode 100644
47 index 6dbe00052c00..000000000000
48 --- a/dev-python/libvirt-python/libvirt-python-7.10.0.ebuild
49 +++ /dev/null
50 @@ -1,51 +0,0 @@
51 -# Copyright 1999-2021 Gentoo Authors
52 -# Distributed under the terms of the GNU General Public License v2
53 -
54 -EAPI=7
55 -
56 -PYTHON_COMPAT=( python3_{8..10} )
57 -
58 -DISTUTILS_USE_SETUPTOOLS=no
59 -
60 -MY_P="${P/_rc/-rc}"
61 -
62 -inherit distutils-r1 verify-sig
63 -
64 -if [[ ${PV} = *9999* ]]; then
65 - inherit git-r3
66 - EGIT_REPO_URI="https://gitlab.com/libvirt/libvirt-python.git"
67 - RDEPEND="app-emulation/libvirt:=[-python(-)]"
68 -else
69 - SRC_URI="https://libvirt.org/sources/python/${MY_P}.tar.gz
70 - verify-sig? ( https://libvirt.org/sources/python/${MY_P}.tar.gz.asc )"
71 - KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
72 - RDEPEND="app-emulation/libvirt:0/${PV}"
73 -fi
74 -S="${WORKDIR}/${P%_rc*}"
75 -
76 -DESCRIPTION="libvirt Python bindings"
77 -HOMEPAGE="https://www.libvirt.org"
78 -LICENSE="LGPL-2"
79 -SLOT="0"
80 -VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/libvirt.org.asc
81 -IUSE="examples test"
82 -RESTRICT="!test? ( test )"
83 -
84 -BDEPEND="
85 - virtual/pkgconfig
86 - test? (
87 - dev-python/lxml[${PYTHON_USEDEP}]
88 - dev-python/pytest[${PYTHON_USEDEP}]
89 - )
90 - verify-sig? ( sec-keys/openpgp-keys-libvirt )
91 -"
92 -
93 -distutils_enable_tests setup.py
94 -
95 -python_install_all() {
96 - if use examples; then
97 - dodoc -r examples
98 - docompress -x /usr/share/doc/${PF}/examples
99 - fi
100 - distutils-r1_python_install_all
101 -}
102
103 diff --git a/dev-python/libvirt-python/libvirt-python-8.0.0.ebuild b/dev-python/libvirt-python/libvirt-python-8.0.0.ebuild
104 deleted file mode 100644
105 index 6000240c3d04..000000000000
106 --- a/dev-python/libvirt-python/libvirt-python-8.0.0.ebuild
107 +++ /dev/null
108 @@ -1,51 +0,0 @@
109 -# Copyright 1999-2022 Gentoo Authors
110 -# Distributed under the terms of the GNU General Public License v2
111 -
112 -EAPI=7
113 -
114 -PYTHON_COMPAT=( python3_{8..10} )
115 -
116 -DISTUTILS_USE_SETUPTOOLS=no
117 -
118 -MY_P="${P/_rc/-rc}"
119 -
120 -inherit distutils-r1 verify-sig
121 -
122 -if [[ ${PV} = *9999* ]]; then
123 - inherit git-r3
124 - EGIT_REPO_URI="https://gitlab.com/libvirt/libvirt-python.git"
125 - RDEPEND="app-emulation/libvirt:=[-python(-)]"
126 -else
127 - SRC_URI="https://libvirt.org/sources/python/${MY_P}.tar.gz
128 - verify-sig? ( https://libvirt.org/sources/python/${MY_P}.tar.gz.asc )"
129 - KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
130 - RDEPEND="app-emulation/libvirt:0/${PV}"
131 -fi
132 -S="${WORKDIR}/${P%_rc*}"
133 -
134 -DESCRIPTION="libvirt Python bindings"
135 -HOMEPAGE="https://www.libvirt.org"
136 -LICENSE="LGPL-2"
137 -SLOT="0"
138 -VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/libvirt.org.asc
139 -IUSE="examples test"
140 -RESTRICT="!test? ( test )"
141 -
142 -BDEPEND="
143 - virtual/pkgconfig
144 - test? (
145 - dev-python/lxml[${PYTHON_USEDEP}]
146 - dev-python/pytest[${PYTHON_USEDEP}]
147 - )
148 - verify-sig? ( sec-keys/openpgp-keys-libvirt )
149 -"
150 -
151 -distutils_enable_tests setup.py
152 -
153 -python_install_all() {
154 - if use examples; then
155 - dodoc -r examples
156 - docompress -x /usr/share/doc/${PF}/examples
157 - fi
158 - distutils-r1_python_install_all
159 -}
160
161 diff --git a/dev-python/libvirt-python/libvirt-python-8.1.0.ebuild b/dev-python/libvirt-python/libvirt-python-8.1.0.ebuild
162 deleted file mode 100644
163 index 13e15986dc34..000000000000
164 --- a/dev-python/libvirt-python/libvirt-python-8.1.0.ebuild
165 +++ /dev/null
166 @@ -1,53 +0,0 @@
167 -# Copyright 1999-2022 Gentoo Authors
168 -# Distributed under the terms of the GNU General Public License v2
169 -
170 -EAPI=7
171 -
172 -# Please bump with app-emulation/libvirt!
173 -
174 -PYTHON_COMPAT=( python3_{8..10} )
175 -
176 -DISTUTILS_USE_SETUPTOOLS=no
177 -
178 -MY_P="${P/_rc/-rc}"
179 -
180 -inherit distutils-r1 verify-sig
181 -
182 -if [[ ${PV} = *9999* ]]; then
183 - inherit git-r3
184 - EGIT_REPO_URI="https://gitlab.com/libvirt/libvirt-python.git"
185 - RDEPEND="app-emulation/libvirt:=[-python(-)]"
186 -else
187 - SRC_URI="https://libvirt.org/sources/python/${MY_P}.tar.gz
188 - verify-sig? ( https://libvirt.org/sources/python/${MY_P}.tar.gz.asc )"
189 - KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
190 - RDEPEND="app-emulation/libvirt:0/${PV}"
191 -fi
192 -S="${WORKDIR}/${P%_rc*}"
193 -
194 -DESCRIPTION="libvirt Python bindings"
195 -HOMEPAGE="https://www.libvirt.org"
196 -LICENSE="LGPL-2"
197 -SLOT="0"
198 -VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/libvirt.org.asc
199 -IUSE="examples test"
200 -RESTRICT="!test? ( test )"
201 -
202 -BDEPEND="
203 - virtual/pkgconfig
204 - test? (
205 - dev-python/lxml[${PYTHON_USEDEP}]
206 - dev-python/pytest[${PYTHON_USEDEP}]
207 - )
208 - verify-sig? ( sec-keys/openpgp-keys-libvirt )
209 -"
210 -
211 -distutils_enable_tests setup.py
212 -
213 -python_install_all() {
214 - if use examples; then
215 - dodoc -r examples
216 - docompress -x /usr/share/doc/${PF}/examples
217 - fi
218 - distutils-r1_python_install_all
219 -}
220
221 diff --git a/dev-python/libvirt-python/libvirt-python-8.3.0.ebuild b/dev-python/libvirt-python/libvirt-python-8.3.0.ebuild
222 deleted file mode 100644
223 index cd3ceb1cc71e..000000000000
224 --- a/dev-python/libvirt-python/libvirt-python-8.3.0.ebuild
225 +++ /dev/null
226 @@ -1,56 +0,0 @@
227 -# Copyright 1999-2022 Gentoo Authors
228 -# Distributed under the terms of the GNU General Public License v2
229 -
230 -EAPI=7
231 -
232 -# Packages which get releases together:
233 -# app-emacs/nxml-libvirt-schemas
234 -# dev-python/libvirt-python
235 -# dev-perl/Sys-Virt
236 -# app-emulation/libvirt
237 -# Please bump them together!
238 -
239 -PYTHON_COMPAT=( python3_{8..11} )
240 -DISTUTILS_USE_PEP517=setuptools
241 -MY_P="${P/_rc/-rc}"
242 -VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/libvirt.org.asc
243 -inherit distutils-r1 verify-sig
244 -
245 -if [[ ${PV} == *9999* ]]; then
246 - inherit git-r3
247 - EGIT_REPO_URI="https://gitlab.com/libvirt/libvirt-python.git"
248 - RDEPEND="app-emulation/libvirt:=[-python(-)]"
249 -else
250 - SRC_URI="https://libvirt.org/sources/python/${MY_P}.tar.gz
251 - verify-sig? ( https://libvirt.org/sources/python/${MY_P}.tar.gz.asc )"
252 - KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
253 - RDEPEND="app-emulation/libvirt:0/${PV}"
254 -fi
255 -S="${WORKDIR}/${P%_rc*}"
256 -
257 -DESCRIPTION="libvirt Python bindings"
258 -HOMEPAGE="https://www.libvirt.org"
259 -
260 -LICENSE="LGPL-2"
261 -SLOT="0"
262 -IUSE="examples test"
263 -RESTRICT="!test? ( test )"
264 -
265 -BDEPEND="
266 - virtual/pkgconfig
267 - test? (
268 - dev-python/lxml[${PYTHON_USEDEP}]
269 - )
270 - verify-sig? ( sec-keys/openpgp-keys-libvirt )
271 -"
272 -
273 -distutils_enable_tests pytest
274 -
275 -python_install_all() {
276 - if use examples; then
277 - dodoc -r examples
278 - docompress -x /usr/share/doc/${PF}/examples
279 - fi
280 -
281 - distutils-r1_python_install_all
282 -}
283
284 diff --git a/dev-python/libvirt-python/libvirt-python-8.4.0.ebuild b/dev-python/libvirt-python/libvirt-python-8.4.0.ebuild
285 deleted file mode 100644
286 index 59818c6c51d9..000000000000
287 --- a/dev-python/libvirt-python/libvirt-python-8.4.0.ebuild
288 +++ /dev/null
289 @@ -1,56 +0,0 @@
290 -# Copyright 1999-2022 Gentoo Authors
291 -# Distributed under the terms of the GNU General Public License v2
292 -
293 -EAPI=8
294 -
295 -# Packages which get releases together:
296 -# app-emacs/nxml-libvirt-schemas
297 -# dev-python/libvirt-python
298 -# dev-perl/Sys-Virt
299 -# app-emulation/libvirt
300 -# Please bump them together!
301 -
302 -PYTHON_COMPAT=( python3_{8..11} )
303 -DISTUTILS_USE_PEP517=setuptools
304 -MY_P="${P/_rc/-rc}"
305 -VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/libvirt.org.asc
306 -inherit distutils-r1 verify-sig
307 -
308 -if [[ ${PV} == *9999* ]]; then
309 - inherit git-r3
310 - EGIT_REPO_URI="https://gitlab.com/libvirt/libvirt-python.git"
311 - RDEPEND="app-emulation/libvirt:=[-python(-)]"
312 -else
313 - SRC_URI="https://libvirt.org/sources/python/${MY_P}.tar.gz
314 - verify-sig? ( https://libvirt.org/sources/python/${MY_P}.tar.gz.asc )"
315 - KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
316 - RDEPEND="app-emulation/libvirt:0/${PV}"
317 -fi
318 -S="${WORKDIR}/${P%_rc*}"
319 -
320 -DESCRIPTION="libvirt Python bindings"
321 -HOMEPAGE="https://www.libvirt.org"
322 -
323 -LICENSE="LGPL-2"
324 -SLOT="0"
325 -IUSE="examples test"
326 -RESTRICT="!test? ( test )"
327 -
328 -BDEPEND="
329 - virtual/pkgconfig
330 - test? (
331 - dev-python/lxml[${PYTHON_USEDEP}]
332 - )
333 - verify-sig? ( sec-keys/openpgp-keys-libvirt )
334 -"
335 -
336 -distutils_enable_tests pytest
337 -
338 -python_install_all() {
339 - if use examples; then
340 - dodoc -r examples
341 - docompress -x /usr/share/doc/${PF}/examples
342 - fi
343 -
344 - distutils-r1_python_install_all
345 -}
346
347 diff --git a/dev-python/libvirt-python/libvirt-python-8.5.0.ebuild b/dev-python/libvirt-python/libvirt-python-8.5.0.ebuild
348 deleted file mode 100644
349 index 59818c6c51d9..000000000000
350 --- a/dev-python/libvirt-python/libvirt-python-8.5.0.ebuild
351 +++ /dev/null
352 @@ -1,56 +0,0 @@
353 -# Copyright 1999-2022 Gentoo Authors
354 -# Distributed under the terms of the GNU General Public License v2
355 -
356 -EAPI=8
357 -
358 -# Packages which get releases together:
359 -# app-emacs/nxml-libvirt-schemas
360 -# dev-python/libvirt-python
361 -# dev-perl/Sys-Virt
362 -# app-emulation/libvirt
363 -# Please bump them together!
364 -
365 -PYTHON_COMPAT=( python3_{8..11} )
366 -DISTUTILS_USE_PEP517=setuptools
367 -MY_P="${P/_rc/-rc}"
368 -VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/libvirt.org.asc
369 -inherit distutils-r1 verify-sig
370 -
371 -if [[ ${PV} == *9999* ]]; then
372 - inherit git-r3
373 - EGIT_REPO_URI="https://gitlab.com/libvirt/libvirt-python.git"
374 - RDEPEND="app-emulation/libvirt:=[-python(-)]"
375 -else
376 - SRC_URI="https://libvirt.org/sources/python/${MY_P}.tar.gz
377 - verify-sig? ( https://libvirt.org/sources/python/${MY_P}.tar.gz.asc )"
378 - KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
379 - RDEPEND="app-emulation/libvirt:0/${PV}"
380 -fi
381 -S="${WORKDIR}/${P%_rc*}"
382 -
383 -DESCRIPTION="libvirt Python bindings"
384 -HOMEPAGE="https://www.libvirt.org"
385 -
386 -LICENSE="LGPL-2"
387 -SLOT="0"
388 -IUSE="examples test"
389 -RESTRICT="!test? ( test )"
390 -
391 -BDEPEND="
392 - virtual/pkgconfig
393 - test? (
394 - dev-python/lxml[${PYTHON_USEDEP}]
395 - )
396 - verify-sig? ( sec-keys/openpgp-keys-libvirt )
397 -"
398 -
399 -distutils_enable_tests pytest
400 -
401 -python_install_all() {
402 - if use examples; then
403 - dodoc -r examples
404 - docompress -x /usr/share/doc/${PF}/examples
405 - fi
406 -
407 - distutils-r1_python_install_all
408 -}