1 |
commit: 7b715c43d40769ef54f897b14787cf8bb89f2bed |
2 |
Author: Matthias Maier <tamiko <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri May 11 21:31:56 2018 +0000 |
4 |
Commit: Matthias Maier <tamiko <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri May 11 21:39:07 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b715c43 |
7 |
|
8 |
dev-python/libvirt-python: version bump to 4.3.0 |
9 |
|
10 |
Package-Manager: Portage-2.3.36, Repoman-2.3.9 |
11 |
|
12 |
dev-python/libvirt-python/Manifest | 1 + |
13 |
.../libvirt-python/libvirt-python-4.3.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 c630c2696af..2fa118d5fd5 100644 |
18 |
--- a/dev-python/libvirt-python/Manifest |
19 |
+++ b/dev-python/libvirt-python/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST libvirt-python-4.1.0.tar.gz 186312 BLAKE2B 45ba81eb738e72e2561ab597c5cc395ae2260c7d93575391d2ce14622faf706052ea5d83adf6ca6a52c35cda4a9e80348f163f48ba318f5d0056b26a33961d25 SHA512 533c46c6827b0c3397713b39a7c6486e1bad40571907aa48da7818ad15569d4e01e33ffc787beb9486fc84b361985aa1d30ea474555d55494143f71dfea26947 |
22 |
DIST libvirt-python-4.2.0.tar.gz 186496 BLAKE2B a4d556a0159c338f2a3a5fc8e6072b084aab427170b66f00dce5b8c4649bfd7d821e02846de906584a454acf2f1db34718a2f48110cf5c8faf6594a72b6e8f2b SHA512 4c06d7de470ff22ee5983598e66d26a3e850998311c8061952f9f6b5be0a7a0f437e2b214d3d66bf465acec9afb925dfb6dd0cd756ed78e818d19e15e7cfdf6a |
23 |
+DIST libvirt-python-4.3.0.tar.gz 187111 BLAKE2B 7266ca1b5836429e13a03dab0e2f5085521c72e2d6952d7a9de514eace286477ad7b237c5d70f86fac49ab2201c8724149af72d4c1f688ac8736257045babc6f SHA512 4b2b4a2590e968ff4401d8429319c94b1b9c08a40b089f461af5a4912acf2c504f60652c80b161c253c00e41d22c100c2e180159e45d84c352c59dca69172cfc |
24 |
|
25 |
diff --git a/dev-python/libvirt-python/libvirt-python-4.3.0.ebuild b/dev-python/libvirt-python/libvirt-python-4.3.0.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..172f3dc3886 |
28 |
--- /dev/null |
29 |
+++ b/dev-python/libvirt-python/libvirt-python-4.3.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 |
+} |