Gentoo Archives: gentoo-commits

From: Matthias Maier <tamiko@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/libvirt-python/
Date: Wed, 09 Jun 2021 20:43:33
Message-Id: 1623271405.14f419763433e700f23a75c8d86713f347fd4c6c.tamiko@gentoo
1 commit: 14f419763433e700f23a75c8d86713f347fd4c6c
2 Author: Jonathan Davies <jpds <AT> protonmail <DOT> com>
3 AuthorDate: Wed Jun 2 16:39:18 2021 +0000
4 Commit: Matthias Maier <tamiko <AT> gentoo <DOT> org>
5 CommitDate: Wed Jun 9 20:43:25 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=14f41976
7
8 dev-python/libvirt-python: Version updated to 7.4.0.
9
10 Signed-off-by: Jonathan Davies <jpds <AT> protonmail.com>
11 Signed-off-by: Matthias Maier <tamiko <AT> gentoo.org>
12
13 dev-python/libvirt-python/Manifest | 2 +
14 .../libvirt-python/libvirt-python-7.4.0.ebuild | 51 ++++++++++++++++++++++
15 2 files changed, 53 insertions(+)
16
17 diff --git a/dev-python/libvirt-python/Manifest b/dev-python/libvirt-python/Manifest
18 index 3883d5beb04..b1658f07a8b 100644
19 --- a/dev-python/libvirt-python/Manifest
20 +++ b/dev-python/libvirt-python/Manifest
21 @@ -6,3 +6,5 @@ DIST libvirt-python-7.2.0.tar.gz 215380 BLAKE2B e9c55a193c571b8fdf3f7f2545ae8247
22 DIST libvirt-python-7.2.0.tar.gz.asc 833 BLAKE2B 3f93f4841da3d86c6a0ba073b70c44e3732eb0ca91fd80a7089c1731851173d163101428d07f82f688478a7967e71bd66b49cd70673157428d2c4802a5df3bae SHA512 fe4f7bf6a9ea6e008ed73fac588785281582dd5eaa738e5ca05b88534659096af137408e1222f791d5a13190358fcf5d30eaa8d8a24791e3b5a15622516fe05f
23 DIST libvirt-python-7.3.0.tar.gz 216823 BLAKE2B 2f7ff569e1dc05ac013e21046eab26290d1977401cda063f9f60e27f09cbe7ab1f30e17c2d9dfb11b36930a7af8496f2d36b19760819c64836844ce8daf8da01 SHA512 a99c0d7258364464df6a68e5fee3137daab3e6ef0dc8924b95a2b7bb69bcaf221d6be17d004ec994e9fae223db920360352b5b32945586ecc1407cb6bd86682a
24 DIST libvirt-python-7.3.0.tar.gz.asc 833 BLAKE2B b5c26dbf520570ab0b66f3b31a2570a6bab0e252970d0a952411b91d08141edb1a7b53a7404e29426558502dec3f9260bfc815209c524a761b87a70004acd008 SHA512 8467a0af37849b64aab33ff1083f6feb82c39f6c732f53f407037d3f7add5c5007e16d5906e268576239d61ab8d871356fd3e476b8a64fa7aeb51b018383dcf0
25 +DIST libvirt-python-7.4.0.tar.gz 217038 BLAKE2B a8cec1ab8652b2579daea23b746d01c58bff32cb59a0c3b18a93ff309dcfd2b60915c52cb907c3961289427da5e73c4cae973d4204c352b5892222255e05b576 SHA512 e266b04604a21c0c35cb6c080ca5279f3162dfc489fd5ed9542b9ff49567b02074bcac135897d1a8f2375a744c000dbd93b67831621744c2f596b16ca9116d1d
26 +DIST libvirt-python-7.4.0.tar.gz.asc 833 BLAKE2B c092743b62ed256267c129d253332322ffd1ee46b054938eb99404db81379cb8c6422e045f1855076f6420ce08e4482ab77db71e2ef6d38bc35136e95858684c SHA512 bca8a981517782e204f51eba465cf101aa0bcbf60e0e26a655c5fa2faaf1585b17988e627bd26b98bef2b95536ae852590773806365cff94860845acf2534d54
27
28 diff --git a/dev-python/libvirt-python/libvirt-python-7.4.0.ebuild b/dev-python/libvirt-python/libvirt-python-7.4.0.ebuild
29 new file mode 100644
30 index 00000000000..f4d733c9c87
31 --- /dev/null
32 +++ b/dev-python/libvirt-python/libvirt-python-7.4.0.ebuild
33 @@ -0,0 +1,51 @@
34 +# Copyright 1999-2021 Gentoo Authors
35 +# Distributed under the terms of the GNU General Public License v2
36 +
37 +EAPI=7
38 +
39 +PYTHON_COMPAT=( python3_{7..9} )
40 +
41 +DISTUTILS_USE_SETUPTOOLS=no
42 +
43 +MY_P="${P/_rc/-rc}"
44 +
45 +inherit distutils-r1 verify-sig
46 +
47 +if [[ ${PV} = *9999* ]]; then
48 + inherit git-r3
49 + EGIT_REPO_URI="https://libvirt.org/git/libvirt-python.git"
50 + RDEPEND="app-emulation/libvirt:=[-python(-)]"
51 +else
52 + SRC_URI="https://libvirt.org/sources/python/${MY_P}.tar.gz
53 + verify-sig? ( https://libvirt.org/sources/python/${MY_P}.tar.gz.asc )"
54 + KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
55 + RDEPEND="app-emulation/libvirt:0/${PV}"
56 +fi
57 +S="${WORKDIR}/${P%_rc*}"
58 +
59 +DESCRIPTION="libvirt Python bindings"
60 +HOMEPAGE="https://www.libvirt.org"
61 +LICENSE="LGPL-2"
62 +SLOT="0"
63 +VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/libvirt.org.asc
64 +IUSE="examples test"
65 +RESTRICT="!test? ( test )"
66 +
67 +BDEPEND="
68 + virtual/pkgconfig
69 + test? (
70 + dev-python/lxml[${PYTHON_USEDEP}]
71 + dev-python/pytest[${PYTHON_USEDEP}]
72 + )
73 + verify-sig? ( app-crypt/openpgp-keys-libvirt )
74 +"
75 +
76 +distutils_enable_tests setup.py
77 +
78 +python_install_all() {
79 + if use examples; then
80 + dodoc -r examples
81 + docompress -x /usr/share/doc/${PF}/examples
82 + fi
83 + distutils-r1_python_install_all
84 +}