1 |
commit: 61f02d06f471824603495f6f2007c4135ee51b77 |
2 |
Author: Matthias Maier <tamiko <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Nov 12 19:34:59 2017 +0000 |
4 |
Commit: Matthias Maier <tamiko <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Nov 12 19:35:51 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=61f02d06 |
7 |
|
8 |
dev-python/libvirt-python: version bump to 3.9.0, bug #637002 |
9 |
|
10 |
Bug: https://bugs.gentoo.org/637002 |
11 |
Package-Manager: Portage-2.3.8, Repoman-2.3.4 |
12 |
|
13 |
dev-python/libvirt-python/Manifest | 1 + |
14 |
.../libvirt-python/libvirt-python-3.9.0.ebuild | 46 ++++++++++++++++++++++ |
15 |
2 files changed, 47 insertions(+) |
16 |
|
17 |
diff --git a/dev-python/libvirt-python/Manifest b/dev-python/libvirt-python/Manifest |
18 |
index 666aa5b1db2..a22c57709c1 100644 |
19 |
--- a/dev-python/libvirt-python/Manifest |
20 |
+++ b/dev-python/libvirt-python/Manifest |
21 |
@@ -1,2 +1,3 @@ |
22 |
DIST libvirt-python-3.6.0.tar.gz 181778 SHA256 ecb9cbc8b1f33b245b04e3a937d8483584ab7a18258b217be96661343a4b1ad0 SHA512 333f991fc69b509b2eda67ee70dea39cc9d1ff36b1abb6a881296313ffebfb5ed41de8443534f19b27a70271548214fa94a12e7f59dc217492edf0bb5555ede9 WHIRLPOOL 6f13ee521713c3540e649c9c9edf6fc0427e0c4563305a42366796352fc99867bc79dd5ce61db0d7b79dc02957f8854c5664f5b5952a402c614e19264167546b |
23 |
DIST libvirt-python-3.8.0.tar.gz 184346 SHA256 5fcba9ca645b01a8d970da84f7f95d54b0e8e915739d06b5e6d86ae626ea570b SHA512 40fcc67bf793b298016171751f207d65d98c8fe3e04d72bf4a815aab3c2f91a624fde1e0f1a420a67f4cf330874d7dd91ae46c3118e75067030ee551957a8178 WHIRLPOOL 15d815b5f6086e0ffc0f2688aef517c8a62fb89dfb123b6ce3b63a6190b885ef918e16e42fb9dd4d4f2178cf16777be6fc8aeba8d0115d8b3cac3f3a32f8cab4 |
24 |
+DIST libvirt-python-3.9.0.tar.gz 184365 SHA256 d721c812e002eb784a4b66fbe698dc70e8f42c9b7cc3a96f5b01e83ee7951850 SHA512 fe30d308fb81e08600adbac4ec80e28c24d012ee578686506e5615f22b716067795a76b3c37c4a951ca53d9d6642d2b43636924b2d256480dc24eb660a0225a4 WHIRLPOOL 8ecaad10aa557ffecaf22b6ec1eae2698cec7c126765c20ce3033ba5cb8569ab2b737a48e5532f254d65e5fce1f055f02ff5662ae28718118edbddedda784210 |
25 |
|
26 |
diff --git a/dev-python/libvirt-python/libvirt-python-3.9.0.ebuild b/dev-python/libvirt-python/libvirt-python-3.9.0.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..c16440985c3 |
29 |
--- /dev/null |
30 |
+++ b/dev-python/libvirt-python/libvirt-python-3.9.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 ~arm64 ~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 |
+} |