1 |
commit: a59b640581a2ec32d6c2a2768d73a2b65d982a14 |
2 |
Author: Michal Privoznik <michal.privoznik <AT> gmail <DOT> com> |
3 |
AuthorDate: Mon Jul 4 07:05:15 2022 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jul 4 23:20:58 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a59b6405 |
7 |
|
8 |
dev-python/libvirt-python: add 8.5.0 |
9 |
|
10 |
Signed-off-by: Michal Privoznik <michal.privoznik <AT> gmail.com> |
11 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
12 |
|
13 |
dev-python/libvirt-python/Manifest | 2 + |
14 |
.../libvirt-python/libvirt-python-8.5.0.ebuild | 56 ++++++++++++++++++++++ |
15 |
2 files changed, 58 insertions(+) |
16 |
|
17 |
diff --git a/dev-python/libvirt-python/Manifest b/dev-python/libvirt-python/Manifest |
18 |
index bc4ae5f19b75..95cd7e51cc42 100644 |
19 |
--- a/dev-python/libvirt-python/Manifest |
20 |
+++ b/dev-python/libvirt-python/Manifest |
21 |
@@ -12,3 +12,5 @@ DIST libvirt-python-8.3.0.tar.gz 231579 BLAKE2B 0bd169b66f490e100eab95f94f412d27 |
22 |
DIST libvirt-python-8.3.0.tar.gz.asc 833 BLAKE2B bb19bef914e39d04b6580dcce1813bc21c5213a2b4c88d44686eeecc9ffc9383db3bab62d46840138a9a9e80d6429662aec43d586dddc041bca4543ff49c465b SHA512 65d417a6849614f94a59dca94cb258b7de487fbc409cd2cfc8c3e9cbdc76ae83c6c2c40a0cf4c12877d2fa78bbcf371512ca6f71973466d2151be690a8b4422c |
23 |
DIST libvirt-python-8.4.0.tar.gz 231985 BLAKE2B 64d37074e04cdb02332987dc46e6dd7b38dbc8fa4de0e6e1cbde1caba370f5eed650c4a135f6101c355f189a91fbba82dcac3d50f8c0d0678ce4def448a4b168 SHA512 6c831ae45549ab0c4d720826e2f5cb219eaab0943b8c71fe70c02fd49097fb5565ee6f651b19e34f72d6b0133bf3b4bb8bfe56b37723b24eaf336f65ab0a5865 |
24 |
DIST libvirt-python-8.4.0.tar.gz.asc 833 BLAKE2B fa6f5e10ca3e06c017e9988e676dd2beca2bcb88f4d55d7a1740d42b4ea56ff0cdb4fd7698392ce1eead7a81fafcc1475eb6270329f56e191a4a4551120e982b SHA512 855869856ff41338c4ed1b707db4a0ace97a60e51d19183a0c1f904695b8a367249ae6266a45d79449443325cc85485db89dc73b09ac318c206cc03ab36ef179 |
25 |
+DIST libvirt-python-8.5.0.tar.gz 235414 BLAKE2B 616c8415f94a6c53b9bcd6ff7433993a3d40eb49ff13eaf81eee52c52806fb1d281216e8bd591deeee6058e2cb5161310d0ae1217467cd1f0525c00d7252214d SHA512 0e922301243200229c01659e57b4abad69a85931ea3ffcb70b117f313971d266d036dc6c1dbe42d48380d5ad9ed72326603101eb33d6a68dd6b7253a6e197aff |
26 |
+DIST libvirt-python-8.5.0.tar.gz.asc 833 BLAKE2B 5b3c37ee02d6a5cefcc81945b9f4c67f19d297f03ad16e2666e87c3ea54ac609d774d3bb90a47e4098914460fd0928f66641f52185fe367cad9794636a809836 SHA512 4fae1d23f7ef2fccb38dee397173f3571b64969672cbe297e3622b9a0194e4a434329de543e886a4a20a9e1e0e3f1fec10a08d924ec0e728b9e29a44877c7e24 |
27 |
|
28 |
diff --git a/dev-python/libvirt-python/libvirt-python-8.5.0.ebuild b/dev-python/libvirt-python/libvirt-python-8.5.0.ebuild |
29 |
new file mode 100644 |
30 |
index 000000000000..59818c6c51d9 |
31 |
--- /dev/null |
32 |
+++ b/dev-python/libvirt-python/libvirt-python-8.5.0.ebuild |
33 |
@@ -0,0 +1,56 @@ |
34 |
+# Copyright 1999-2022 Gentoo Authors |
35 |
+# Distributed under the terms of the GNU General Public License v2 |
36 |
+ |
37 |
+EAPI=8 |
38 |
+ |
39 |
+# Packages which get releases together: |
40 |
+# app-emacs/nxml-libvirt-schemas |
41 |
+# dev-python/libvirt-python |
42 |
+# dev-perl/Sys-Virt |
43 |
+# app-emulation/libvirt |
44 |
+# Please bump them together! |
45 |
+ |
46 |
+PYTHON_COMPAT=( python3_{8..11} ) |
47 |
+DISTUTILS_USE_PEP517=setuptools |
48 |
+MY_P="${P/_rc/-rc}" |
49 |
+VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/libvirt.org.asc |
50 |
+inherit distutils-r1 verify-sig |
51 |
+ |
52 |
+if [[ ${PV} == *9999* ]]; then |
53 |
+ inherit git-r3 |
54 |
+ EGIT_REPO_URI="https://gitlab.com/libvirt/libvirt-python.git" |
55 |
+ RDEPEND="app-emulation/libvirt:=[-python(-)]" |
56 |
+else |
57 |
+ SRC_URI="https://libvirt.org/sources/python/${MY_P}.tar.gz |
58 |
+ verify-sig? ( https://libvirt.org/sources/python/${MY_P}.tar.gz.asc )" |
59 |
+ KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" |
60 |
+ RDEPEND="app-emulation/libvirt:0/${PV}" |
61 |
+fi |
62 |
+S="${WORKDIR}/${P%_rc*}" |
63 |
+ |
64 |
+DESCRIPTION="libvirt Python bindings" |
65 |
+HOMEPAGE="https://www.libvirt.org" |
66 |
+ |
67 |
+LICENSE="LGPL-2" |
68 |
+SLOT="0" |
69 |
+IUSE="examples test" |
70 |
+RESTRICT="!test? ( test )" |
71 |
+ |
72 |
+BDEPEND=" |
73 |
+ virtual/pkgconfig |
74 |
+ test? ( |
75 |
+ dev-python/lxml[${PYTHON_USEDEP}] |
76 |
+ ) |
77 |
+ verify-sig? ( sec-keys/openpgp-keys-libvirt ) |
78 |
+" |
79 |
+ |
80 |
+distutils_enable_tests pytest |
81 |
+ |
82 |
+python_install_all() { |
83 |
+ if use examples; then |
84 |
+ dodoc -r examples |
85 |
+ docompress -x /usr/share/doc/${PF}/examples |
86 |
+ fi |
87 |
+ |
88 |
+ distutils-r1_python_install_all |
89 |
+} |