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, 13 Oct 2021 02:55:02
Message-Id: 1634093695.665d260612b6009d69e7b5ab1be9ddc2878ad3ee.tamiko@gentoo
1 commit: 665d260612b6009d69e7b5ab1be9ddc2878ad3ee
2 Author: Matthias Maier <tamiko <AT> gentoo <DOT> org>
3 AuthorDate: Wed Oct 13 02:50:10 2021 +0000
4 Commit: Matthias Maier <tamiko <AT> gentoo <DOT> org>
5 CommitDate: Wed Oct 13 02:54:55 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=665d2606
7
8 dev-python/libvirt-python: version bump to 7.8.0
9
10 Package-Manager: Portage-3.0.23, Repoman-3.0.3
11 Signed-off-by: Matthias Maier <tamiko <AT> gentoo.org>
12
13 dev-python/libvirt-python/Manifest | 2 +
14 .../libvirt-python/libvirt-python-7.8.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 94a25909bda..4da31a8d365 100644
19 --- a/dev-python/libvirt-python/Manifest
20 +++ b/dev-python/libvirt-python/Manifest
21 @@ -12,3 +12,5 @@ DIST libvirt-python-7.5.0.tar.gz 217284 BLAKE2B 65bae31bc484da061e116c5fe0da68df
22 DIST libvirt-python-7.5.0.tar.gz.asc 833 BLAKE2B a6963fe069985a3c4f24007f45dc04b26517dff38ff5f14b00816a65651d83ca5e68cc6e168a318240152da5e20d75176ece9108e50f1e1d3d074dc5d4942f5e SHA512 029ada81b25445df8107651b11299a9ad259c6f990ad5d1aad617e65af49493fe824989fd9ade2703c927c59f1a15ea50c4af2d90ddf3da41aabeccdd399730f
23 DIST libvirt-python-7.7.0.tar.gz 217406 BLAKE2B 4e3e887f9778ca817028d9147913618dcbdc83d05ce01b05b80661bb4cc823de6dc0e9d9b0837bf344774e5a8cdbaec7d4a7e55ce902b2867159795b85800cdc SHA512 07aa75a19dc94f3bde49b1af50fa73a6c920059b3b9ca943354c59f174d756aa5d1dca1394844dc3197b6a22c440028d347480a17858bc18fe1b5b19cf7d797f
24 DIST libvirt-python-7.7.0.tar.gz.asc 833 BLAKE2B 159f5b5ec60d3b7966f3f99c185eddb8d2d03480b203473ae47e6139b21f8a4ee8bb8ba28ccacb88ad42c7b47d45862ccb48c90151203fb4e2295f355984e538 SHA512 b58579e648b82ec51de5f15e30dee39f7c42edf47ade4ad6f580bef21191f649b03eb05906bf31baa19afb6fadb57662c5326edb53b056a7235308d9c3bd551d
25 +DIST libvirt-python-7.8.0.tar.gz 218185 BLAKE2B bc975dfacb73517a3c9771d8d692411a6ec1cdfc2e8605d6cae28e8b6e3b74e15e882cd45b8369802b07e4b583795377d2f005cf1462a76e9f98c33591b472fd SHA512 e50dacc8214849dc2fa752e21061826463753b912765c3186948c9d634c18f0be8b579acd7765878aea27b2cd6f65e7113a8f8b90791ad76c69834d4e947b6cd
26 +DIST libvirt-python-7.8.0.tar.gz.asc 833 BLAKE2B 47a4b7a582caf04a9cf805e530af507733102fc13d952a5107ca9b25e62dd4159fddd9325055b1f647eecb17dd311811325f421a31e76b86e401815e11c65196 SHA512 2b5464b982881bc2927ce3932bb73a7bec2204b549aa3068bdfcf52232bd40141b09064280864a4c1dbcfe7fe31041bbee070d5ce7ce33afccb3d431f7119d4f
27
28 diff --git a/dev-python/libvirt-python/libvirt-python-7.8.0.ebuild b/dev-python/libvirt-python/libvirt-python-7.8.0.ebuild
29 new file mode 100644
30 index 00000000000..16ff1e5b125
31 --- /dev/null
32 +++ b/dev-python/libvirt-python/libvirt-python-7.8.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=${BROOT}/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 +}