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, 01 Sep 2017 02:01:53
Message-Id: 1504230927.8835658a94f97a69dec3af5b42940bccac28f925.tamiko@gentoo
1 commit: 8835658a94f97a69dec3af5b42940bccac28f925
2 Author: Matthias Maier <tamiko <AT> gentoo <DOT> org>
3 AuthorDate: Fri Sep 1 01:50:24 2017 +0000
4 Commit: Matthias Maier <tamiko <AT> gentoo <DOT> org>
5 CommitDate: Fri Sep 1 01:55:27 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8835658a
7
8 dev-python/libvirt-python: version bump to 3.6.0, bug #627780
9
10 Package-Manager: Portage-2.3.6, Repoman-2.3.3
11
12 dev-python/libvirt-python/Manifest | 1 +
13 .../libvirt-python/libvirt-python-3.6.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 a79ff59c237..4f1edb844e6 100644
18 --- a/dev-python/libvirt-python/Manifest
19 +++ b/dev-python/libvirt-python/Manifest
20 @@ -2,3 +2,4 @@ DIST libvirt-python-3.2.0.tar.gz 174713 SHA256 ac85dd8dec332f308e5e0e40889be0d2f
21 DIST libvirt-python-3.3.0.tar.gz 179552 SHA256 e0bb7dcb98bef4933bb9d5e6e944388cdb002515eb9053a42447e89e4642fe57 SHA512 3d90e99abe813f2ba684c24631d8e8cd6a5b44564351ae3f0b75d426f80d046c00ed6358273b68ad751707a93666564dfecfb7fb7d93d2c27c71a344542fe793 WHIRLPOOL dab0e88aecc007f41505d20bc9886b9508cab7d19211f426cad7e2c65da720b4a236acbd3acd77bb35d7e3a98431764f5722035cc2f62c813864a76d42b8b73e
22 DIST libvirt-python-3.4.0.tar.gz 181574 SHA256 afa77781f518988f164dd5f99d1844034ca807a8e731e07cbae18474d250b511 SHA512 96b7f16d0f7c72f2b80fda73b18e0af9b05f0fb7f7fbd4900a77808484b7f45932c8c46bde322f01486fdc97eae3e4a4906ce8555ea9a19548f9c8de46958a78 WHIRLPOOL 0bf7b220222ebcfa7d7269c53a3f9fc1db9d2b9a59d2d333484b8c906a921b28203f54a3044150562ec8a118d0f32fd3d646d62c5f53c19ee2d498f3a3912ab2
23 DIST libvirt-python-3.5.0.tar.gz 181733 SHA256 5c5fee90bebf39d318ef55545077431c3da9ae8b6352adfa461fa4492a03ac1a SHA512 31e0bf7604fe3e422fbad2acdfae1a50050bb4b45ed1e9596040e1c08607a772d62d88c1636c1c18de082d913fb549481aeb5e48f76276cb6ac6534a71f8f7b6 WHIRLPOOL 40c9c46aa836c8a20409ea7beb31d763b0eef909bd69f0f9d133a146b08128f8b9450d95526130541365fe3c141ba7deccae90359fc4c22d42264a2b8c8cd32e
24 +DIST libvirt-python-3.6.0.tar.gz 181778 SHA256 ecb9cbc8b1f33b245b04e3a937d8483584ab7a18258b217be96661343a4b1ad0 SHA512 333f991fc69b509b2eda67ee70dea39cc9d1ff36b1abb6a881296313ffebfb5ed41de8443534f19b27a70271548214fa94a12e7f59dc217492edf0bb5555ede9 WHIRLPOOL 6f13ee521713c3540e649c9c9edf6fc0427e0c4563305a42366796352fc99867bc79dd5ce61db0d7b79dc02957f8854c5664f5b5952a402c614e19264167546b
25
26 diff --git a/dev-python/libvirt-python/libvirt-python-3.6.0.ebuild b/dev-python/libvirt-python/libvirt-python-3.6.0.ebuild
27 new file mode 100644
28 index 00000000000..c16440985c3
29 --- /dev/null
30 +++ b/dev-python/libvirt-python/libvirt-python-3.6.0.ebuild
31 @@ -0,0 +1,46 @@
32 +# Copyright 1999-2017 Gentoo Foundation
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=6
36 +
37 +PYTHON_COMPAT=( python{2_7,3_4,3_5} )
38 +
39 +MY_P="${P/_rc/-rc}"
40 +
41 +inherit distutils-r1
42 +
43 +if [[ ${PV} = *9999* ]]; then
44 + inherit git-r3
45 + EGIT_REPO_URI="git://libvirt.org/libvirt-python.git"
46 + SRC_URI=""
47 + KEYWORDS=""
48 + RDEPEND="app-emulation/libvirt:=[-python(-)]"
49 +else
50 + SRC_URI="http://libvirt.org/sources/python/${MY_P}.tar.gz"
51 + KEYWORDS="~amd64 ~arm64 ~x86"
52 + RDEPEND="app-emulation/libvirt:0/${PV}"
53 +fi
54 +S="${WORKDIR}/${P%_rc*}"
55 +
56 +DESCRIPTION="libvirt Python bindings"
57 +HOMEPAGE="https://www.libvirt.org"
58 +LICENSE="LGPL-2"
59 +SLOT="0"
60 +IUSE="examples test"
61 +
62 +DEPEND="${RDEPEND}
63 + virtual/pkgconfig
64 + test? ( dev-python/lxml[${PYTHON_USEDEP}]
65 + dev-python/nose[${PYTHON_USEDEP}] )"
66 +
67 +python_test() {
68 + esetup.py test
69 +}
70 +
71 +python_install_all() {
72 + if use examples; then
73 + dodoc -r examples
74 + docompress -x /usr/share/doc/${PF}/examples
75 + fi
76 + distutils-r1_python_install_all
77 +}