1 |
commit: 462866831de38c6b2a23fa3e9e3964edf7aa5b57 |
2 |
Author: Jonathan Davies <jpds <AT> protonmail <DOT> com> |
3 |
AuthorDate: Sun Sep 27 16:49:31 2020 +0000 |
4 |
Commit: Matthias Maier <tamiko <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Oct 1 23:46:49 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=46286683 |
7 |
|
8 |
dev-python/libvirt-python: Version updated to 6.7.0. |
9 |
|
10 |
Signed-off-by: Jonathan Davies <jpds <AT> protonmail.com> |
11 |
Signed-off-by: Matthias Maier <tamiko <AT> gentoo.org> |
12 |
Closes: https://github.com/gentoo/gentoo/pull/17686 |
13 |
Closes: https://github.com/gentoo/gentoo/pull/17686 |
14 |
Bug: https://github.com/gentoo/gentoo/pull/17686 |
15 |
Closes: https://github.com/gentoo/gentoo/pull/17686 |
16 |
|
17 |
dev-python/libvirt-python/Manifest | 1 + |
18 |
.../libvirt-python/libvirt-python-6.7.0.ebuild | 46 ++++++++++++++++++++++ |
19 |
2 files changed, 47 insertions(+) |
20 |
|
21 |
diff --git a/dev-python/libvirt-python/Manifest b/dev-python/libvirt-python/Manifest |
22 |
index d05534d8dbf..84a153a4715 100644 |
23 |
--- a/dev-python/libvirt-python/Manifest |
24 |
+++ b/dev-python/libvirt-python/Manifest |
25 |
@@ -1,2 +1,3 @@ |
26 |
DIST libvirt-python-6.2.0.tar.gz 196971 BLAKE2B e11c82bd98c62072c14992c485339337bcc3639bbd56154185834c145f76984ced9f09f7f05c302609ce6629a8d13db77debd6f3d85e8fdb00c818bbe51cc552 SHA512 91f6940f60670221c914ee7ffc8d89a74222bcacbbf1afd5f679479f1e1bcec563f297a8e8359d6f51a1eee29162e39e2a276f5277fcec551d50f112e304a947 |
27 |
DIST libvirt-python-6.5.0.tar.gz 198753 BLAKE2B 90951af538c664f5da20cfced6b81dc2b06d36e723b3c41a0b2763bf0d73d3036d7e84a2db57f20fa2bd1ede8fb01c45dad9e5097a9f6008579dae319f825898 SHA512 a69c75b615f674bbb89fdb3e5cfc3dddfde68adffd0599e9d03f1552bb765823dc003859fe713ac0a324835c61f909bd43518571ddde8f99c37bee2416f094eb |
28 |
+DIST libvirt-python-6.7.0.tar.gz 208597 BLAKE2B 335bd89133b688586a55193635b4b75dabe6dd4a741a450e49067ac8a9b9d9da54787b50c23bc6d5322a7fecbe513422f02450e09d541cb112ccfd499ce18101 SHA512 7d5a7f87abc01285c2030c9408838d4e1496d0d0316b9ab775749e49719fa66c20114aad2bd281d6783e2cb4d47ceac5ac60ac584e881288d0b0d9cc76d5b2cb |
29 |
|
30 |
diff --git a/dev-python/libvirt-python/libvirt-python-6.7.0.ebuild b/dev-python/libvirt-python/libvirt-python-6.7.0.ebuild |
31 |
new file mode 100644 |
32 |
index 00000000000..234224f5717 |
33 |
--- /dev/null |
34 |
+++ b/dev-python/libvirt-python/libvirt-python-6.7.0.ebuild |
35 |
@@ -0,0 +1,46 @@ |
36 |
+# Copyright 1999-2020 Gentoo Authors |
37 |
+# Distributed under the terms of the GNU General Public License v2 |
38 |
+ |
39 |
+EAPI=7 |
40 |
+ |
41 |
+PYTHON_COMPAT=( python3_{7..9} ) |
42 |
+ |
43 |
+DISTUTILS_USE_SETUPTOOLS=no |
44 |
+ |
45 |
+MY_P="${P/_rc/-rc}" |
46 |
+ |
47 |
+inherit distutils-r1 |
48 |
+ |
49 |
+if [[ ${PV} = *9999* ]]; then |
50 |
+ inherit git-r3 |
51 |
+ EGIT_REPO_URI="https://libvirt.org/git/libvirt-python.git" |
52 |
+ RDEPEND="app-emulation/libvirt:=[-python(-)]" |
53 |
+else |
54 |
+ SRC_URI="https://libvirt.org/sources/python/${MY_P}.tar.gz" |
55 |
+ KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" |
56 |
+ RDEPEND="app-emulation/libvirt:0/${PV}" |
57 |
+fi |
58 |
+S="${WORKDIR}/${P%_rc*}" |
59 |
+ |
60 |
+DESCRIPTION="libvirt Python bindings" |
61 |
+HOMEPAGE="https://www.libvirt.org" |
62 |
+LICENSE="LGPL-2" |
63 |
+SLOT="0" |
64 |
+IUSE="examples test" |
65 |
+RESTRICT="!test? ( test )" |
66 |
+ |
67 |
+DEPEND="virtual/pkgconfig" |
68 |
+BDEPEND="test? ( |
69 |
+ dev-python/lxml[${PYTHON_USEDEP}] |
70 |
+ dev-python/nose[${PYTHON_USEDEP}] |
71 |
+)" |
72 |
+ |
73 |
+distutils_enable_tests setup.py |
74 |
+ |
75 |
+python_install_all() { |
76 |
+ if use examples; then |
77 |
+ dodoc -r examples |
78 |
+ docompress -x /usr/share/doc/${PF}/examples |
79 |
+ fi |
80 |
+ distutils-r1_python_install_all |
81 |
+} |