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: Mon, 17 May 2021 04:55:03
Message-Id: 1621227209.ac4b750d9553d1c37268dc8ae274231d5ffd4b5c.tamiko@gentoo
1 commit: ac4b750d9553d1c37268dc8ae274231d5ffd4b5c
2 Author: Jonathan Davies <jpds <AT> protonmail <DOT> com>
3 AuthorDate: Tue May 11 10:41:50 2021 +0000
4 Commit: Matthias Maier <tamiko <AT> gentoo <DOT> org>
5 CommitDate: Mon May 17 04:53:29 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac4b750d
7
8 dev-python/libvirt-python: Version updated to 7.3.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.3.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 874e2c699c1..3883d5beb04 100644
19 --- a/dev-python/libvirt-python/Manifest
20 +++ b/dev-python/libvirt-python/Manifest
21 @@ -4,3 +4,5 @@ DIST libvirt-python-7.1.0.tar.gz 215468 BLAKE2B 5734f686760d118bc326c68d93714db3
22 DIST libvirt-python-7.1.0.tar.gz.asc 833 BLAKE2B be4101dcff4f95e36929dc70657a527e7b0b30fe9556c8d42f240459f86f7ba71980cf483f4d828d63cf94ce3c4521e7303d72f6df5e6c4c2a6de1b160970073 SHA512 db0213bb95d77c690ef8726ae559cae7970d31e633104993e715dd4e34e2f3c52bdcf7303e90419055d571d21417ac6375d78463143e20e94bf4aaf666684174
23 DIST libvirt-python-7.2.0.tar.gz 215380 BLAKE2B e9c55a193c571b8fdf3f7f2545ae82470ff74e74e4f2fb58dda6278bc484eb26ae84f2991bc34adc6030973e7d53d364576247e1f8ab836edea06a5da0f8575e SHA512 6df5be4d98884751e4a098b54ec1d8827268993b6df5769c1a687420dd5889c629ca0bd286f5a0c22a9c81974fa02565b36628f8026c697ae414137f0c1d8441
24 DIST libvirt-python-7.2.0.tar.gz.asc 833 BLAKE2B 3f93f4841da3d86c6a0ba073b70c44e3732eb0ca91fd80a7089c1731851173d163101428d07f82f688478a7967e71bd66b49cd70673157428d2c4802a5df3bae SHA512 fe4f7bf6a9ea6e008ed73fac588785281582dd5eaa738e5ca05b88534659096af137408e1222f791d5a13190358fcf5d30eaa8d8a24791e3b5a15622516fe05f
25 +DIST libvirt-python-7.3.0.tar.gz 216823 BLAKE2B 2f7ff569e1dc05ac013e21046eab26290d1977401cda063f9f60e27f09cbe7ab1f30e17c2d9dfb11b36930a7af8496f2d36b19760819c64836844ce8daf8da01 SHA512 a99c0d7258364464df6a68e5fee3137daab3e6ef0dc8924b95a2b7bb69bcaf221d6be17d004ec994e9fae223db920360352b5b32945586ecc1407cb6bd86682a
26 +DIST libvirt-python-7.3.0.tar.gz.asc 833 BLAKE2B b5c26dbf520570ab0b66f3b31a2570a6bab0e252970d0a952411b91d08141edb1a7b53a7404e29426558502dec3f9260bfc815209c524a761b87a70004acd008 SHA512 8467a0af37849b64aab33ff1083f6feb82c39f6c732f53f407037d3f7add5c5007e16d5906e268576239d61ab8d871356fd3e476b8a64fa7aeb51b018383dcf0
27
28 diff --git a/dev-python/libvirt-python/libvirt-python-7.3.0.ebuild b/dev-python/libvirt-python/libvirt-python-7.3.0.ebuild
29 new file mode 100644
30 index 00000000000..eb8b2abcbc0
31 --- /dev/null
32 +++ b/dev-python/libvirt-python/libvirt-python-7.3.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/nose[${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 +}