1 |
commit: 95fca992685260e547c92ac784db5424d39d0def |
2 |
Author: Matthias Maier <tamiko <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Jul 3 07:08:52 2018 +0000 |
4 |
Commit: Matthias Maier <tamiko <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jul 3 07:44:20 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=95fca992 |
7 |
|
8 |
dev-python/libvirt-python: version bump to 4.5.0 |
9 |
|
10 |
Package-Manager: Portage-2.3.41, Repoman-2.3.9 |
11 |
|
12 |
dev-python/libvirt-python/Manifest | 1 + |
13 |
.../libvirt-python/libvirt-python-4.5.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 cbb51923572..276fbdb5b41 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.3.0.tar.gz 187111 BLAKE2B 7266ca1b5836429e13a03dab0e2f5085521c72e2d6952d7a9de514eace286477ad7b237c5d70f86fac49ab2201c8724149af72d4c1f688ac8736257045babc6f SHA512 4b2b4a2590e968ff4401d8429319c94b1b9c08a40b089f461af5a4912acf2c504f60652c80b161c253c00e41d22c100c2e180159e45d84c352c59dca69172cfc |
22 |
DIST libvirt-python-4.4.0.tar.gz 188431 BLAKE2B dc2dfc64139c3bb2a80516c345b1256311b1b2ceaa832de2ef60afe5422adabee626b25dffa96a1bd8428f4d0bd54ed5264d887522700a941aa646b4b43a7f8c SHA512 b4e740895c22aca20d8fc1cfadc9276e91e0a74aa7bad75d15de14be6704be8386055b700ea65045acfaabf3bfe8fa51e5d814e625e46d01b3ac0221419d25da |
23 |
+DIST libvirt-python-4.5.0.tar.gz 190016 BLAKE2B ba3aa68b2de6179cfddaff54bf96fa876959d97e72245ccdad8f9f681641166f5827d5244ae4c18b7a7b90a3201b3a797d30c2436a6ab5fcdbcfd56462348ba4 SHA512 14572225c2f5233aa8cb7257cff94d38effc4d988aac36108ca510dcd442d8c5194d6b25bddb2603bb1e1bc4dcb284f103899ce81063dc6a7994d78beea355ac |
24 |
|
25 |
diff --git a/dev-python/libvirt-python/libvirt-python-4.5.0.ebuild b/dev-python/libvirt-python/libvirt-python-4.5.0.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..42d117b59bc |
28 |
--- /dev/null |
29 |
+++ b/dev-python/libvirt-python/libvirt-python-4.5.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,3_6} ) |
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="https://libvirt.org/git/libvirt-python.git" |
45 |
+ SRC_URI="" |
46 |
+ KEYWORDS="" |
47 |
+ RDEPEND="app-emulation/libvirt:=[-python(-)]" |
48 |
+else |
49 |
+ SRC_URI="https://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 |
+} |