1 |
commit: b826a99562160ed65ec2a8723fbbe8fcd832c673 |
2 |
Author: Matthias Maier <tamiko <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jul 1 14:47:42 2019 +0000 |
4 |
Commit: Matthias Maier <tamiko <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jul 1 14:49:39 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b826a995 |
7 |
|
8 |
dev-python/libvirt-python: version bump to 5.4.0 |
9 |
|
10 |
Package-Manager: Portage-2.3.68, Repoman-2.3.16 |
11 |
Signed-off-by: Matthias Maier <tamiko <AT> gentoo.org> |
12 |
|
13 |
dev-python/libvirt-python/Manifest | 1 + |
14 |
.../libvirt-python/libvirt-python-5.4.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 061a8a1114e..5f5c5da0f3e 100644 |
19 |
--- a/dev-python/libvirt-python/Manifest |
20 |
+++ b/dev-python/libvirt-python/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST libvirt-python-5.2.0.tar.gz 193270 BLAKE2B fecd1a07091746779a91e0cfeb9c3068048ee7e51d2f79064b4ee529a19b78d04ba53a5abab68182a1fa9c4a82f459fa9e971c33fcd10b42fe7011be17f7c6e2 SHA512 afee2dcaf08d530e6298fdf2db674af217b9e4115941258b5815aba00087d96db6eb421c9854d7dca0f9dfe24069df72aadd969c924545e72be216f01bc173cc |
23 |
+DIST libvirt-python-5.4.0.tar.gz 193623 BLAKE2B b19ebde80c4e922139802d316a82a6d0b45d6087a4dbd5f801507c18fc5558bfd8983171df55b4efb6c2ad36235f6ddab402473b66450b4d031a5e4ce7705266 SHA512 589cd68189d7a8b611127f6dbae4853659ce98c02d22242b6c8ab646dd04e657f912ddc8f11595f656ac14a1fc4528a941b8a05d52cdb1951ce91c89af0599c6 |
24 |
|
25 |
diff --git a/dev-python/libvirt-python/libvirt-python-5.4.0.ebuild b/dev-python/libvirt-python/libvirt-python-5.4.0.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..a020f327387 |
28 |
--- /dev/null |
29 |
+++ b/dev-python/libvirt-python/libvirt-python-5.4.0.ebuild |
30 |
@@ -0,0 +1,46 @@ |
31 |
+# Copyright 1999-2019 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=7 |
35 |
+ |
36 |
+PYTHON_COMPAT=( python{2_7,3_5,3_6,3_7} ) |
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 |
+} |