1 |
commit: 4d0b860f0afb2132cf1c8bef635e2a4f5e6e17fa |
2 |
Author: Matthias Maier <tamiko <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Jan 30 17:31:42 2018 +0000 |
4 |
Commit: Matthias Maier <tamiko <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jan 30 17:54:56 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d0b860f |
7 |
|
8 |
dev-python/libvirt-python: version bump to 4.0.0 |
9 |
|
10 |
Package-Manager: Portage-2.3.20, Repoman-2.3.6 |
11 |
|
12 |
dev-python/libvirt-python/Manifest | 1 + |
13 |
.../libvirt-python/libvirt-python-4.0.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 d5d8f73685f..38ee8590036 100644 |
18 |
--- a/dev-python/libvirt-python/Manifest |
19 |
+++ b/dev-python/libvirt-python/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST libvirt-python-3.10.0.tar.gz 184402 BLAKE2B f3ae1626dc6fe2afc2eb7754f6872a6696389bc13a3e8f557c6487e83e3ef66104251910fb4841a2f8b1667cec0418b87ad5a7e9ababf76a39a0f4adaec23bc4 SHA512 bbab01d43b1d9e682c5590c1ea1454c8891f2c545b49f48220f4e79ec4b5b01ab1736242a96653256e26fdf644389c4021747117978a9ec4e1084001de9f23f9 |
22 |
DIST libvirt-python-3.8.0.tar.gz 184346 BLAKE2B 453051621c0e43eb73e0734a2a2651357f363c4f61c1cd6b883841a55e6c2338721b3e116e841a47386e12c8bdb1d36aecf9b8948876256effffd5396584a555 SHA512 40fcc67bf793b298016171751f207d65d98c8fe3e04d72bf4a815aab3c2f91a624fde1e0f1a420a67f4cf330874d7dd91ae46c3118e75067030ee551957a8178 |
23 |
+DIST libvirt-python-4.0.0.tar.gz 185533 BLAKE2B 3f9e3483265b18025bbfc0955c2b0b8276448c41e2d85a49ebc2d42f8dcd77af25a0a11ba04fbe02dba282a946ac3f583866c5d9fcda0d56e7a5f20dc63e7f94 SHA512 3eca33bb04265323ad47a6c8cb04a6848ab2b06bf656a188c7c0a39419e6dcc5c21f16682f6c64647da432c1d7e3ddc4699d848766987baccf806d68b5937d9a |
24 |
|
25 |
diff --git a/dev-python/libvirt-python/libvirt-python-4.0.0.ebuild b/dev-python/libvirt-python/libvirt-python-4.0.0.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..172f3dc3886 |
28 |
--- /dev/null |
29 |
+++ b/dev-python/libvirt-python/libvirt-python-4.0.0.ebuild |
30 |
@@ -0,0 +1,46 @@ |
31 |
+# Copyright 1999-2018 Gentoo Foundation |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=6 |
35 |
+ |
36 |
+PYTHON_COMPAT=( python{2_7,3_4,3_5} ) |
37 |
+ |
38 |
+MY_P="${P/_rc/-rc}" |
39 |
+ |
40 |
+inherit distutils-r1 |
41 |
+ |
42 |
+if [[ ${PV} = *9999* ]]; then |
43 |
+ inherit git-r3 |
44 |
+ EGIT_REPO_URI="git://libvirt.org/libvirt-python.git" |
45 |
+ SRC_URI="" |
46 |
+ KEYWORDS="" |
47 |
+ RDEPEND="app-emulation/libvirt:=[-python(-)]" |
48 |
+else |
49 |
+ SRC_URI="http://libvirt.org/sources/python/${MY_P}.tar.gz" |
50 |
+ KEYWORDS="~amd64 ~arm64 ~x86" |
51 |
+ RDEPEND="app-emulation/libvirt:0/${PV}" |
52 |
+fi |
53 |
+S="${WORKDIR}/${P%_rc*}" |
54 |
+ |
55 |
+DESCRIPTION="libvirt Python bindings" |
56 |
+HOMEPAGE="https://www.libvirt.org" |
57 |
+LICENSE="LGPL-2" |
58 |
+SLOT="0" |
59 |
+IUSE="examples test" |
60 |
+ |
61 |
+DEPEND="${RDEPEND} |
62 |
+ virtual/pkgconfig |
63 |
+ test? ( dev-python/lxml[${PYTHON_USEDEP}] |
64 |
+ dev-python/nose[${PYTHON_USEDEP}] )" |
65 |
+ |
66 |
+python_test() { |
67 |
+ esetup.py test |
68 |
+} |
69 |
+ |
70 |
+python_install_all() { |
71 |
+ if use examples; then |
72 |
+ dodoc -r examples |
73 |
+ docompress -x /usr/share/doc/${PF}/examples |
74 |
+ fi |
75 |
+ distutils-r1_python_install_all |
76 |
+} |