1 |
commit: eb8b77af4bcc9f028a1ec3b6622d3d678e140a6a |
2 |
Author: Matthias Maier <tamiko <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Dec 26 03:05:24 2018 +0000 |
4 |
Commit: Matthias Maier <tamiko <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Dec 26 03:27:12 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eb8b77af |
7 |
|
8 |
dev-python/libvirt-python: version bump to 4.10.0 |
9 |
|
10 |
Package-Manager: Portage-2.3.52, Repoman-2.3.12 |
11 |
Signed-off-by: Matthias Maier <tamiko <AT> gentoo.org> |
12 |
|
13 |
dev-python/libvirt-python/Manifest | 1 + |
14 |
.../libvirt-python/libvirt-python-4.10.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 bcb2810ddb0..a0799355aed 100644 |
19 |
--- a/dev-python/libvirt-python/Manifest |
20 |
+++ b/dev-python/libvirt-python/Manifest |
21 |
@@ -1,2 +1,3 @@ |
22 |
+DIST libvirt-python-4.10.0.tar.gz 192707 BLAKE2B b128bdb4e33ce3ee826f30ef06cae080df4da01fdba04a65747ce6f6dbf6b1b4383b2dc010c3cdae9a33c2d9a816f4f5214d8f095aa719056af94f723860a70e SHA512 30fac35ae04c18b340b5173c2a1ccb867147da3673a4b72ad612fb5f03b95ee9259459ef9e11cba4a101e7aef4b71d13e1b79a25eab39899a22c0e8261aba7ac |
23 |
DIST libvirt-python-4.5.0.tar.gz 190016 BLAKE2B ba3aa68b2de6179cfddaff54bf96fa876959d97e72245ccdad8f9f681641166f5827d5244ae4c18b7a7b90a3201b3a797d30c2436a6ab5fcdbcfd56462348ba4 SHA512 14572225c2f5233aa8cb7257cff94d38effc4d988aac36108ca510dcd442d8c5194d6b25bddb2603bb1e1bc4dcb284f103899ce81063dc6a7994d78beea355ac |
24 |
DIST libvirt-python-4.9.0.tar.gz 191922 BLAKE2B 272f0827faa7083e4896b34cea81554505e38733313df556d608fbf0e2ab935088ec5d57e9678c7679e172ff99a619939abe8cbd828b49655de70daf11d20efe SHA512 7d1345693c87f11be9dc751212820f4c4a519a467703f0ea2fcafd0e66d39941686cf7c84c2c68e8639889da1bfbc9176a72cf1059c87d76a49b2c74a7b05c0e |
25 |
|
26 |
diff --git a/dev-python/libvirt-python/libvirt-python-4.10.0.ebuild b/dev-python/libvirt-python/libvirt-python-4.10.0.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..514949ce2b0 |
29 |
--- /dev/null |
30 |
+++ b/dev-python/libvirt-python/libvirt-python-4.10.0.ebuild |
31 |
@@ -0,0 +1,46 @@ |
32 |
+# Copyright 1999-2018 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=7 |
36 |
+ |
37 |
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6,3_7} ) |
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="https://libvirt.org/git/libvirt-python.git" |
46 |
+ SRC_URI="" |
47 |
+ KEYWORDS="" |
48 |
+ RDEPEND="app-emulation/libvirt:=[-python(-)]" |
49 |
+else |
50 |
+ SRC_URI="https://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 |
+} |