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