1 |
commit: e7da1ecc9f9fd770ffc705a4224257c6a24dd267 |
2 |
Author: Matthias Maier <tamiko <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Jun 30 21:39:43 2016 +0000 |
4 |
Commit: Matthias Maier <tamiko <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jun 30 21:39:43 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e7da1ecc |
7 |
|
8 |
Revert "dev-python/libvirt-python: drop old versions 1.2.21, 1.3.1" |
9 |
|
10 |
This reverts commit 0767c3300884f46c34cd6b65af08ae6d19111b80. |
11 |
|
12 |
dev-python/libvirt-python/Manifest | 2 + |
13 |
.../libvirt-python/libvirt-python-1.2.21.ebuild | 44 ++++++++++++++++++++++ |
14 |
.../libvirt-python/libvirt-python-1.3.1.ebuild | 44 ++++++++++++++++++++++ |
15 |
3 files changed, 90 insertions(+) |
16 |
|
17 |
diff --git a/dev-python/libvirt-python/Manifest b/dev-python/libvirt-python/Manifest |
18 |
index df8c81b..e5718e0 100644 |
19 |
--- a/dev-python/libvirt-python/Manifest |
20 |
+++ b/dev-python/libvirt-python/Manifest |
21 |
@@ -1,2 +1,4 @@ |
22 |
+DIST libvirt-python-1.2.21.tar.gz 171250 SHA256 7ffb49fcb64ac06188fc626c853c99361e5965766ab020f8ea66f8fbcfc29684 SHA512 7e2481ffa26105ddde703bd6eafe74240b69990b2f2ce0042f20f7fceb1d326fb8a66bf26042bfe63a12cf3202d7c19b14b6d766dd42fb66af212393d7aaf332 WHIRLPOOL 18dd5bc0d565b6846c40960cf258d7fb3714054be15fe54507e2846c5a7c2cd81e9b209c8e70cbfd5319d5a06f00c2c5322995058637af87d1676276f8675b2e |
23 |
+DIST libvirt-python-1.3.1.tar.gz 171221 SHA256 7143b922a9bd66a5e199b13316fa4266cbffc23db01c99bce37216a1eb9118f7 SHA512 f980d6aec1c83422d01c8ff02915357f4903f8c2a8ea9538da35e7313f6d491ebb4646e642097269a6be2996da879e7594c5e166cf2cc0bd96745eace7ce7567 WHIRLPOOL 3fe0ecba5f618eab1059c5e4ac4ef8789ed6684f36aee336f2e366198805560706c41d67ddceb328a0ad66867145a103aa15665b646b7bc5a5b058b02755ce11 |
24 |
DIST libvirt-python-1.3.4.tar.gz 172808 SHA256 badd2f51b07d5b03be7c01c45d8f52fea181ba9386ced5b12241ffdcf7e4f7a7 SHA512 18063021edf28b6c7b6b407590ec94eda45272c6b976ef560b4e81a8b212a5c7d2c1ce844e066855cda0a1bca4e98028936314c58e12261952783bd606501f59 WHIRLPOOL 73e2a9a1327efad4e448bb08814ddbe5c8958bcdbe596ea539be39e3a34ff9ffed141aac40bd90d4c0b841e1ddd42f6d7905245499efa774dca6f99c16305814 |
25 |
DIST libvirt-python-1.3.5.tar.gz 168780 SHA256 a0508a57637fd18a3584fb9d2322fb172f65708c9db16e0438a70eb0f36fa5c2 SHA512 e1241e71dc0c574b14c6ecb101ec611f0c8caab6a5f82268882febb7b1382752d350ee0f6c2d648c30c6af3f19ef5b91bb518d8a0bd6ab967807b82dd4cf893f WHIRLPOOL 83a861fd425320214c43b80053444cc273c761e88b2530a10d2e8bfe898b19e1563d9f3b182deabe7fc8a7f445c303fa495123bb28d41caa88954cceff40c453 |
26 |
|
27 |
diff --git a/dev-python/libvirt-python/libvirt-python-1.2.21.ebuild b/dev-python/libvirt-python/libvirt-python-1.2.21.ebuild |
28 |
new file mode 100644 |
29 |
index 0000000..1f38cff |
30 |
--- /dev/null |
31 |
+++ b/dev-python/libvirt-python/libvirt-python-1.2.21.ebuild |
32 |
@@ -0,0 +1,44 @@ |
33 |
+# Copyright 1999-2015 Gentoo Foundation |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+# $Id$ |
36 |
+ |
37 |
+EAPI=5 |
38 |
+ |
39 |
+PYTHON_COMPAT=( python{2_7,3_3,3_4} ) |
40 |
+ |
41 |
+AUTOTOOLIZE=yes |
42 |
+ |
43 |
+MY_P="${P/_rc/-rc}" |
44 |
+ |
45 |
+inherit eutils distutils-r1 |
46 |
+ |
47 |
+if [[ ${PV} = *9999* ]]; then |
48 |
+ inherit git-r3 |
49 |
+ EGIT_REPO_URI="git://libvirt.org/libvirt-python.git" |
50 |
+ SRC_URI="" |
51 |
+ KEYWORDS="" |
52 |
+ RDEPEND="app-emulation/libvirt:=[-python(-)]" |
53 |
+else |
54 |
+ SRC_URI="http://libvirt.org/sources/python/${MY_P}.tar.gz" |
55 |
+ KEYWORDS="amd64 x86" |
56 |
+ RDEPEND="app-emulation/libvirt:0/${PV}" |
57 |
+fi |
58 |
+S="${WORKDIR}/${P%_rc*}" |
59 |
+ |
60 |
+DESCRIPTION="libvirt Python bindings" |
61 |
+HOMEPAGE="http://www.libvirt.org" |
62 |
+LICENSE="LGPL-2" |
63 |
+SLOT="0" |
64 |
+IUSE="test" |
65 |
+ |
66 |
+DEPEND="${RDEPEND} |
67 |
+ virtual/pkgconfig |
68 |
+ test? ( dev-python/lxml[${PYTHON_USEDEP}] |
69 |
+ dev-python/nose[${PYTHON_USEDEP}] )" |
70 |
+ |
71 |
+# testsuite is currently not included in upstream tarball |
72 |
+RESTRICT="test" |
73 |
+ |
74 |
+python_test() { |
75 |
+ esetup.py test |
76 |
+} |
77 |
|
78 |
diff --git a/dev-python/libvirt-python/libvirt-python-1.3.1.ebuild b/dev-python/libvirt-python/libvirt-python-1.3.1.ebuild |
79 |
new file mode 100644 |
80 |
index 0000000..1f38cff |
81 |
--- /dev/null |
82 |
+++ b/dev-python/libvirt-python/libvirt-python-1.3.1.ebuild |
83 |
@@ -0,0 +1,44 @@ |
84 |
+# Copyright 1999-2015 Gentoo Foundation |
85 |
+# Distributed under the terms of the GNU General Public License v2 |
86 |
+# $Id$ |
87 |
+ |
88 |
+EAPI=5 |
89 |
+ |
90 |
+PYTHON_COMPAT=( python{2_7,3_3,3_4} ) |
91 |
+ |
92 |
+AUTOTOOLIZE=yes |
93 |
+ |
94 |
+MY_P="${P/_rc/-rc}" |
95 |
+ |
96 |
+inherit eutils distutils-r1 |
97 |
+ |
98 |
+if [[ ${PV} = *9999* ]]; then |
99 |
+ inherit git-r3 |
100 |
+ EGIT_REPO_URI="git://libvirt.org/libvirt-python.git" |
101 |
+ SRC_URI="" |
102 |
+ KEYWORDS="" |
103 |
+ RDEPEND="app-emulation/libvirt:=[-python(-)]" |
104 |
+else |
105 |
+ SRC_URI="http://libvirt.org/sources/python/${MY_P}.tar.gz" |
106 |
+ KEYWORDS="amd64 x86" |
107 |
+ RDEPEND="app-emulation/libvirt:0/${PV}" |
108 |
+fi |
109 |
+S="${WORKDIR}/${P%_rc*}" |
110 |
+ |
111 |
+DESCRIPTION="libvirt Python bindings" |
112 |
+HOMEPAGE="http://www.libvirt.org" |
113 |
+LICENSE="LGPL-2" |
114 |
+SLOT="0" |
115 |
+IUSE="test" |
116 |
+ |
117 |
+DEPEND="${RDEPEND} |
118 |
+ virtual/pkgconfig |
119 |
+ test? ( dev-python/lxml[${PYTHON_USEDEP}] |
120 |
+ dev-python/nose[${PYTHON_USEDEP}] )" |
121 |
+ |
122 |
+# testsuite is currently not included in upstream tarball |
123 |
+RESTRICT="test" |
124 |
+ |
125 |
+python_test() { |
126 |
+ esetup.py test |
127 |
+} |