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, 08 Apr 2019 02:52:37
Message-Id: 1554690580.9b21e934f956c6124cdfffb6119b38f3de2c6472.tamiko@gentoo
1 commit: 9b21e934f956c6124cdfffb6119b38f3de2c6472
2 Author: Matthias Maier <tamiko <AT> gentoo <DOT> org>
3 AuthorDate: Mon Apr 8 01:31:19 2019 +0000
4 Commit: Matthias Maier <tamiko <AT> gentoo <DOT> org>
5 CommitDate: Mon Apr 8 02:29:40 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b21e934
7
8 dev-python/libvirt-python: version bump to 5.2.0
9
10 Package-Manager: Portage-2.3.62, Repoman-2.3.12
11 Signed-off-by: Matthias Maier <tamiko <AT> gentoo.org>
12
13 dev-python/libvirt-python/Manifest | 1 +
14 .../libvirt-python/libvirt-python-5.2.0.ebuild | 46 ++++++++++++++++++++++
15 2 files changed, 47 insertions(+)
16
17 diff --git a/dev-python/libvirt-python/Manifest b/dev-python/libvirt-python/Manifest
18 index 7dd7b02accd..be45aac3fd5 100644
19 --- a/dev-python/libvirt-python/Manifest
20 +++ b/dev-python/libvirt-python/Manifest
21 @@ -1,3 +1,4 @@
22 DIST libvirt-python-4.9.0.tar.gz 191922 BLAKE2B 272f0827faa7083e4896b34cea81554505e38733313df556d608fbf0e2ab935088ec5d57e9678c7679e172ff99a619939abe8cbd828b49655de70daf11d20efe SHA512 7d1345693c87f11be9dc751212820f4c4a519a467703f0ea2fcafd0e66d39941686cf7c84c2c68e8639889da1bfbc9176a72cf1059c87d76a49b2c74a7b05c0e
23 DIST libvirt-python-5.0.0.tar.gz 192726 BLAKE2B 1ab4d4430254a1288714db32d76baf4a78f733bd82d33cf9f6a40aadcfac9c1dd73db91d38326a68ad04b8454f4c6417a16f07f9ecdfe8ccabcb0eccc9d13060 SHA512 318ae32f4c59b6cd278c8d07566e5e5f34759167084d4c722687d3cbf19efecea3a0c2a4ee37f42e58aa3f42f07fdd50bd9dd0539002388a7f79b138ad434dff
24 DIST libvirt-python-5.1.0.tar.gz 193081 BLAKE2B 7dc0914743257f53a285ae794c64e360af72085db532deb552925d68f5be07f20d3b2ff242b8d475e40ea6ede06bd9abe790f3bcbf4ab8b7aba2a9c6120aa236 SHA512 980bcb1723ea5bf0677a1c7de9fc8f23cd4495df3c861e2c0c865c53c30eb7cb1db4c6c369c593206378f2e80211bf4542304f73e8953bfe513b80b7ed013e74
25 +DIST libvirt-python-5.2.0.tar.gz 193270 BLAKE2B fecd1a07091746779a91e0cfeb9c3068048ee7e51d2f79064b4ee529a19b78d04ba53a5abab68182a1fa9c4a82f459fa9e971c33fcd10b42fe7011be17f7c6e2 SHA512 afee2dcaf08d530e6298fdf2db674af217b9e4115941258b5815aba00087d96db6eb421c9854d7dca0f9dfe24069df72aadd969c924545e72be216f01bc173cc
26
27 diff --git a/dev-python/libvirt-python/libvirt-python-5.2.0.ebuild b/dev-python/libvirt-python/libvirt-python-5.2.0.ebuild
28 new file mode 100644
29 index 00000000000..92f5219f4a0
30 --- /dev/null
31 +++ b/dev-python/libvirt-python/libvirt-python-5.2.0.ebuild
32 @@ -0,0 +1,46 @@
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_4,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 ~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 +
63 +DEPEND="${RDEPEND}
64 + virtual/pkgconfig
65 + test? ( dev-python/lxml[${PYTHON_USEDEP}]
66 + dev-python/nose[${PYTHON_USEDEP}] )"
67 +
68 +python_test() {
69 + esetup.py test
70 +}
71 +
72 +python_install_all() {
73 + if use examples; then
74 + dodoc -r examples
75 + docompress -x /usr/share/doc/${PF}/examples
76 + fi
77 + distutils-r1_python_install_all
78 +}