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, 09 Jul 2016 15:10:31
Message-Id: 1468077013.d6af0842450997e1172c7b41a00a1b119f49ee46.tamiko@gentoo
1 commit: d6af0842450997e1172c7b41a00a1b119f49ee46
2 Author: Matthias Maier <tamiko <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jul 9 14:48:03 2016 +0000
4 Commit: Matthias Maier <tamiko <AT> gentoo <DOT> org>
5 CommitDate: Sat Jul 9 15:10:13 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d6af0842
7
8 dev-python/libvirt-python: version bump to 2.0.0
9
10 Package-Manager: portage-2.2.28
11
12 dev-python/libvirt-python/Manifest | 1 +
13 .../libvirt-python/libvirt-python-2.0.0.ebuild | 44 ++++++++++++++++++++++
14 2 files changed, 45 insertions(+)
15
16 diff --git a/dev-python/libvirt-python/Manifest b/dev-python/libvirt-python/Manifest
17 index 8168a0c..caa7366 100644
18 --- a/dev-python/libvirt-python/Manifest
19 +++ b/dev-python/libvirt-python/Manifest
20 @@ -1,2 +1,3 @@
21 DIST libvirt-python-1.2.21.tar.gz 171250 SHA256 7ffb49fcb64ac06188fc626c853c99361e5965766ab020f8ea66f8fbcfc29684 SHA512 7e2481ffa26105ddde703bd6eafe74240b69990b2f2ce0042f20f7fceb1d326fb8a66bf26042bfe63a12cf3202d7c19b14b6d766dd42fb66af212393d7aaf332 WHIRLPOOL 18dd5bc0d565b6846c40960cf258d7fb3714054be15fe54507e2846c5a7c2cd81e9b209c8e70cbfd5319d5a06f00c2c5322995058637af87d1676276f8675b2e
22 DIST libvirt-python-1.3.5.tar.gz 168780 SHA256 a0508a57637fd18a3584fb9d2322fb172f65708c9db16e0438a70eb0f36fa5c2 SHA512 e1241e71dc0c574b14c6ecb101ec611f0c8caab6a5f82268882febb7b1382752d350ee0f6c2d648c30c6af3f19ef5b91bb518d8a0bd6ab967807b82dd4cf893f WHIRLPOOL 83a861fd425320214c43b80053444cc273c761e88b2530a10d2e8bfe898b19e1563d9f3b182deabe7fc8a7f445c303fa495123bb28d41caa88954cceff40c453
23 +DIST libvirt-python-2.0.0.tar.gz 170475 SHA256 7816cbc1c6ad140ba643b662825babb1ef586bd3ccfd0b04dfeba4ae2f2d1d40 SHA512 695de54ab79d10900c44d2e12be422692da03436f5f89bd4020f3e114d250a94e13c61d112287f2d0d3d1dfadd7309af501d4226a12925c4295e4b3aae20d88c WHIRLPOOL 48059b5a2c31194369096737d45ded7c64eed14055fb895e5844025c3f888a17473d32c717db5e4c5a84be8623c2f40d67efa87b7a261be68a13a06d9afb272d
24
25 diff --git a/dev-python/libvirt-python/libvirt-python-2.0.0.ebuild b/dev-python/libvirt-python/libvirt-python-2.0.0.ebuild
26 new file mode 100644
27 index 0000000..cc59d1b
28 --- /dev/null
29 +++ b/dev-python/libvirt-python/libvirt-python-2.0.0.ebuild
30 @@ -0,0 +1,44 @@
31 +# Copyright 1999-2015 Gentoo Foundation
32 +# Distributed under the terms of the GNU General Public License v2
33 +# $Id$
34 +
35 +EAPI=5
36 +
37 +PYTHON_COMPAT=( python{2_7,3_3,3_4} )
38 +
39 +AUTOTOOLIZE=yes
40 +
41 +MY_P="${P/_rc/-rc}"
42 +
43 +inherit eutils distutils-r1
44 +
45 +if [[ ${PV} = *9999* ]]; then
46 + inherit git-r3
47 + EGIT_REPO_URI="git://libvirt.org/libvirt-python.git"
48 + SRC_URI=""
49 + KEYWORDS=""
50 + RDEPEND="app-emulation/libvirt:=[-python(-)]"
51 +else
52 + SRC_URI="http://libvirt.org/sources/python/${MY_P}.tar.gz"
53 + KEYWORDS="~amd64 ~x86"
54 + RDEPEND="app-emulation/libvirt:0/${PV}"
55 +fi
56 +S="${WORKDIR}/${P%_rc*}"
57 +
58 +DESCRIPTION="libvirt Python bindings"
59 +HOMEPAGE="http://www.libvirt.org"
60 +LICENSE="LGPL-2"
61 +SLOT="0"
62 +IUSE="test"
63 +
64 +DEPEND="${RDEPEND}
65 + virtual/pkgconfig
66 + test? ( dev-python/lxml[${PYTHON_USEDEP}]
67 + dev-python/nose[${PYTHON_USEDEP}] )"
68 +
69 +# testsuite is currently not included in upstream tarball
70 +RESTRICT="test"
71 +
72 +python_test() {
73 + esetup.py test
74 +}