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: Tue, 31 Dec 2019 22:01:59
Message-Id: 1577829684.3993aad0103dadad27424db2425c4a168856bbcb.tamiko@gentoo
1 commit: 3993aad0103dadad27424db2425c4a168856bbcb
2 Author: Matthias Maier <tamiko <AT> gentoo <DOT> org>
3 AuthorDate: Tue Dec 31 21:09:49 2019 +0000
4 Commit: Matthias Maier <tamiko <AT> gentoo <DOT> org>
5 CommitDate: Tue Dec 31 22:01:24 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3993aad0
7
8 dev-python/libvirt-python: version bump to 5.10.0
9
10 Package-Manager: Portage-2.3.83, Repoman-2.3.20
11 Signed-off-by: Matthias Maier <tamiko <AT> gentoo.org>
12
13 dev-python/libvirt-python/Manifest | 1 +
14 .../libvirt-python/libvirt-python-5.10.0.ebuild | 47 ++++++++++++++++++++++
15 2 files changed, 48 insertions(+)
16
17 diff --git a/dev-python/libvirt-python/Manifest b/dev-python/libvirt-python/Manifest
18 index dc10f5bd9ea..0a90ded673b 100644
19 --- a/dev-python/libvirt-python/Manifest
20 +++ b/dev-python/libvirt-python/Manifest
21 @@ -1,3 +1,4 @@
22 +DIST libvirt-python-5.10.0.tar.gz 203187 BLAKE2B 25f16381fe127579494ec54af38b6da8cf2e38cc3ccc32b8a2e17b77ed33b829fffd74d4631531f87513811abd510205b6678fd0cc50ddc4b7b51ab80bee96ac SHA512 19bf1608fa83572b9b557371efc44bffe298a654db0fca90e49fae8e69a7b2228d9e5a1ae0ab5d34fda3256498e5d53e09b5ea889d600c9d56254730d50faf79
23 DIST libvirt-python-5.2.0.tar.gz 193270 BLAKE2B fecd1a07091746779a91e0cfeb9c3068048ee7e51d2f79064b4ee529a19b78d04ba53a5abab68182a1fa9c4a82f459fa9e971c33fcd10b42fe7011be17f7c6e2 SHA512 afee2dcaf08d530e6298fdf2db674af217b9e4115941258b5815aba00087d96db6eb421c9854d7dca0f9dfe24069df72aadd969c924545e72be216f01bc173cc
24 DIST libvirt-python-5.5.0.tar.gz 200364 BLAKE2B 198c9858573c383ab818deae6bd42c6ad7efd58b9a661a80f06f4f0fc0d72e9da98546b07443397609d4c9454ece4e02759b53016f078bdae84580474e2bb49d SHA512 3098c5a0315488aa515a9b00e69add8de3dc372d2f82a8b1cbc6d01287a133855095f7c34510ad900adbd1c56e6a53bdfe3d251c48411acd243c2300d659332b
25 DIST libvirt-python-5.6.0.tar.gz 201352 BLAKE2B 16f88b9c15214af0ec97ee39912139d6ab07473a9f65a735303f5241d10d75e46db68378b33c9c139f6a9e43f7143a4c30fdbe187e50e004cfb5205dda03d0a3 SHA512 a6bf7c661127ae0ed5962ed7bc9cefe09907e82969525ee0ea8f8f70b5fee8f200b6ba9d35aefcb7b132f59e34162ba40e75e93aff297808bc1dd23f548da428
26
27 diff --git a/dev-python/libvirt-python/libvirt-python-5.10.0.ebuild b/dev-python/libvirt-python/libvirt-python-5.10.0.ebuild
28 new file mode 100644
29 index 00000000000..d493d3d2b91
30 --- /dev/null
31 +++ b/dev-python/libvirt-python/libvirt-python-5.10.0.ebuild
32 @@ -0,0 +1,47 @@
33 +# Copyright 1999-2019 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=7
37 +
38 +PYTHON_COMPAT=( python{2_7,3_5,3_6,3_7} )
39 +
40 +MY_P="${P/_rc/-rc}"
41 +
42 +inherit distutils-r1
43 +
44 +if [[ ${PV} = *9999* ]]; then
45 + inherit git-r3
46 + EGIT_REPO_URI="https://libvirt.org/git/libvirt-python.git"
47 + SRC_URI=""
48 + KEYWORDS=""
49 + RDEPEND="app-emulation/libvirt:=[-python(-)]"
50 +else
51 + SRC_URI="https://libvirt.org/sources/python/${MY_P}.tar.gz"
52 + KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
53 + RDEPEND="app-emulation/libvirt:0/${PV}"
54 +fi
55 +S="${WORKDIR}/${P%_rc*}"
56 +
57 +DESCRIPTION="libvirt Python bindings"
58 +HOMEPAGE="https://www.libvirt.org"
59 +LICENSE="LGPL-2"
60 +SLOT="0"
61 +IUSE="examples test"
62 +RESTRICT="!test? ( test )"
63 +
64 +DEPEND="${RDEPEND}
65 + virtual/pkgconfig
66 + test? ( dev-python/lxml[${PYTHON_USEDEP}]
67 + dev-python/nose[${PYTHON_USEDEP}] )"
68 +
69 +python_test() {
70 + esetup.py test
71 +}
72 +
73 +python_install_all() {
74 + if use examples; then
75 + dodoc -r examples
76 + docompress -x /usr/share/doc/${PF}/examples
77 + fi
78 + distutils-r1_python_install_all
79 +}