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: Fri, 29 Jun 2018 04:50:39
Message-Id: 1530246284.aff0da389a532727587b8435f92f4211a4626b32.tamiko@gentoo
1 commit: aff0da389a532727587b8435f92f4211a4626b32
2 Author: Matthias Maier <tamiko <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jun 29 04:24:44 2018 +0000
4 Commit: Matthias Maier <tamiko <AT> gentoo <DOT> org>
5 CommitDate: Fri Jun 29 04:24:44 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aff0da38
7
8 dev-python/libvirt-python: version bump to 4.4.0
9
10 Package-Manager: Portage-2.3.41, Repoman-2.3.9
11
12 dev-python/libvirt-python/Manifest | 1 +
13 .../libvirt-python/libvirt-python-4.4.0.ebuild | 46 ++++++++++++++++++++++
14 2 files changed, 47 insertions(+)
15
16 diff --git a/dev-python/libvirt-python/Manifest b/dev-python/libvirt-python/Manifest
17 index 0aa2ea09b40..cbb51923572 100644
18 --- a/dev-python/libvirt-python/Manifest
19 +++ b/dev-python/libvirt-python/Manifest
20 @@ -1 +1,2 @@
21 DIST libvirt-python-4.3.0.tar.gz 187111 BLAKE2B 7266ca1b5836429e13a03dab0e2f5085521c72e2d6952d7a9de514eace286477ad7b237c5d70f86fac49ab2201c8724149af72d4c1f688ac8736257045babc6f SHA512 4b2b4a2590e968ff4401d8429319c94b1b9c08a40b089f461af5a4912acf2c504f60652c80b161c253c00e41d22c100c2e180159e45d84c352c59dca69172cfc
22 +DIST libvirt-python-4.4.0.tar.gz 188431 BLAKE2B dc2dfc64139c3bb2a80516c345b1256311b1b2ceaa832de2ef60afe5422adabee626b25dffa96a1bd8428f4d0bd54ed5264d887522700a941aa646b4b43a7f8c SHA512 b4e740895c22aca20d8fc1cfadc9276e91e0a74aa7bad75d15de14be6704be8386055b700ea65045acfaabf3bfe8fa51e5d814e625e46d01b3ac0221419d25da
23
24 diff --git a/dev-python/libvirt-python/libvirt-python-4.4.0.ebuild b/dev-python/libvirt-python/libvirt-python-4.4.0.ebuild
25 new file mode 100644
26 index 00000000000..b249f13de90
27 --- /dev/null
28 +++ b/dev-python/libvirt-python/libvirt-python-4.4.0.ebuild
29 @@ -0,0 +1,46 @@
30 +# Copyright 1999-2018 Gentoo Foundation
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=6
34 +
35 +PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
36 +
37 +MY_P="${P/_rc/-rc}"
38 +
39 +inherit distutils-r1
40 +
41 +if [[ ${PV} = *9999* ]]; then
42 + inherit git-r3
43 + EGIT_REPO_URI="git://libvirt.org/libvirt-python.git"
44 + SRC_URI=""
45 + KEYWORDS="amd64 x86"
46 + RDEPEND="app-emulation/libvirt:=[-python(-)]"
47 +else
48 + SRC_URI="http://libvirt.org/sources/python/${MY_P}.tar.gz"
49 + KEYWORDS="~amd64 ~arm64 ~x86"
50 + RDEPEND="app-emulation/libvirt:0/${PV}"
51 +fi
52 +S="${WORKDIR}/${P%_rc*}"
53 +
54 +DESCRIPTION="libvirt Python bindings"
55 +HOMEPAGE="https://www.libvirt.org"
56 +LICENSE="LGPL-2"
57 +SLOT="0"
58 +IUSE="examples test"
59 +
60 +DEPEND="${RDEPEND}
61 + virtual/pkgconfig
62 + test? ( dev-python/lxml[${PYTHON_USEDEP}]
63 + dev-python/nose[${PYTHON_USEDEP}] )"
64 +
65 +python_test() {
66 + esetup.py test
67 +}
68 +
69 +python_install_all() {
70 + if use examples; then
71 + dodoc -r examples
72 + docompress -x /usr/share/doc/${PF}/examples
73 + fi
74 + distutils-r1_python_install_all
75 +}