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