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: Sat, 04 Mar 2017 21:27:10
Message-Id: 1488662620.07c1cd293bcd1b943f7d9e1b8f196b2fd94de7e3.tamiko@gentoo
1 commit: 07c1cd293bcd1b943f7d9e1b8f196b2fd94de7e3
2 Author: Matthias Maier <tamiko <AT> gentoo <DOT> org>
3 AuthorDate: Sat Mar 4 21:03:17 2017 +0000
4 Commit: Matthias Maier <tamiko <AT> gentoo <DOT> org>
5 CommitDate: Sat Mar 4 21:23:40 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=07c1cd29
7
8 dev-python/libvirt-python: version bump to 3.1.0
9
10 Package-Manager: Portage-2.3.3, Repoman-2.3.2
11
12 dev-python/libvirt-python/Manifest | 1 +
13 .../libvirt-python/libvirt-python-3.1.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 56a95398ab3..66053b4da74 100644
18 --- a/dev-python/libvirt-python/Manifest
19 +++ b/dev-python/libvirt-python/Manifest
20 @@ -3,3 +3,4 @@ DIST libvirt-python-2.1.0.tar.gz 170607 SHA256 74887fa1be60db2701e726da7e01e3bf1
21 DIST libvirt-python-2.3.0.tar.gz 171858 SHA256 ad25a98c2508a6c81d65cc8bc5f3e0b4c506247cf544a7d54c41526a99caef48 SHA512 87d3356c780f4f12a5dc7cf2b65d1d361b0572d476a207542118c276be1c46561d832c3ff7053affe06e0893f755af1f44d0a461c98980e9485363f827112b6b WHIRLPOOL 43d833296e5f750bf8e326dea76bfcee4947fe84eb5d0a1da6af160240da94354daf6b8b2f4d5eeb6dc5fcf7735c839e63a2e4844e07c56316e92279796fd0d0
22 DIST libvirt-python-2.5.0.tar.gz 172329 SHA256 f4fd787ad26b4cd4b32afa65b6248c344ef48edffeb42c892c7adb4866f656d1 SHA512 2ff94ff12c20d9d0e5be8b571bc33fb1641e9940c6b49cdee37244c941674b12e1c980f9e0c73f4db52c91579ab19f92cea0c2e79a97abc67ee3309028661bb6 WHIRLPOOL 78712a122edfd4ce32e73332c8311e6b661be843f10ab30d3d85d426a266ddddbe36d30bfc09e63016189b8ffffe729119884d0d4acb05844b2bef37f8fadd63
23 DIST libvirt-python-3.0.0.tar.gz 174075 SHA256 94a7c1c57a643afad43f9068c70774e1146ed051ecfca0280d5127011c5e44c1 SHA512 8bdc98817703cca0369d2d3335bfb1aed4f42b292d074995b80fc590bb1d04032130acd7ea3a750639a5c68c5208f7c2bd082bddaa74163f2015cc041e3d2ef8 WHIRLPOOL 17b54961770202e0aabf965f3686594b96cbc5a1cdbae1ae332c19af89f2b0ee630b39f0fd5740c14a38bc2166d2f4f44bc448e07b89882b62c180d453d3352c
24 +DIST libvirt-python-3.1.0.tar.gz 174378 SHA256 f36a62ace3b815ef1f14a760a5feee31bd502bed0daf92ab75d21d516123a218 SHA512 33b8cff940a66c658b104ef2129d88eff11f2c70fc5f92d448e4963a205c978d3dd218068339dcaa20fabdd666a30e887262d17dd1f5b98cc8566ba2d8276400 WHIRLPOOL a4f3f6268d1ec2aef0f3d9d522183067524e0a7f319e57703cdb640b8b3258730731e8eecb923c8fe270fed77db8c3127776953a7587095c4040cdbd75a08523
25
26 diff --git a/dev-python/libvirt-python/libvirt-python-3.1.0.ebuild b/dev-python/libvirt-python/libvirt-python-3.1.0.ebuild
27 new file mode 100644
28 index 00000000000..f93eb35e154
29 --- /dev/null
30 +++ b/dev-python/libvirt-python/libvirt-python-3.1.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 ~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 +}