1 |
commit: e8eb38e277b1232476051e28ad94e88250178237 |
2 |
Author: Jonathan Davies <jpds <AT> protonmail <DOT> com> |
3 |
AuthorDate: Fri Sep 10 13:56:55 2021 +0000 |
4 |
Commit: Matthias Maier <tamiko <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Sep 10 15:31:49 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e8eb38e2 |
7 |
|
8 |
dev-python/libvirt-python: Version updated to 7.7.0. |
9 |
|
10 |
Signed-off-by: Jonathan Davies <jpds <AT> protonmail.com> |
11 |
Signed-off-by: Matthias Maier <tamiko <AT> gentoo.org> |
12 |
|
13 |
dev-python/libvirt-python/Manifest | 2 + |
14 |
.../libvirt-python/libvirt-python-7.7.0.ebuild | 51 ++++++++++++++++++++++ |
15 |
2 files changed, 53 insertions(+) |
16 |
|
17 |
diff --git a/dev-python/libvirt-python/Manifest b/dev-python/libvirt-python/Manifest |
18 |
index cb302613961..94a25909bda 100644 |
19 |
--- a/dev-python/libvirt-python/Manifest |
20 |
+++ b/dev-python/libvirt-python/Manifest |
21 |
@@ -10,3 +10,5 @@ DIST libvirt-python-7.4.0.tar.gz 217038 BLAKE2B a8cec1ab8652b2579daea23b746d01c5 |
22 |
DIST libvirt-python-7.4.0.tar.gz.asc 833 BLAKE2B c092743b62ed256267c129d253332322ffd1ee46b054938eb99404db81379cb8c6422e045f1855076f6420ce08e4482ab77db71e2ef6d38bc35136e95858684c SHA512 bca8a981517782e204f51eba465cf101aa0bcbf60e0e26a655c5fa2faaf1585b17988e627bd26b98bef2b95536ae852590773806365cff94860845acf2534d54 |
23 |
DIST libvirt-python-7.5.0.tar.gz 217284 BLAKE2B 65bae31bc484da061e116c5fe0da68df07ec42160db852c9fb83a5c6f91762d762638fec918ea6164400622178e4cacc416ff343fd2df1bd94a62f1b1a6b93a7 SHA512 ae111e4b7db5662af5315642232e2308ebc349bf80a3f9fd372b0fa0ebcde8e25690368187c86d425faef397550caad3366e7b6a3e6a0c4b56fa58df5e8bc276 |
24 |
DIST libvirt-python-7.5.0.tar.gz.asc 833 BLAKE2B a6963fe069985a3c4f24007f45dc04b26517dff38ff5f14b00816a65651d83ca5e68cc6e168a318240152da5e20d75176ece9108e50f1e1d3d074dc5d4942f5e SHA512 029ada81b25445df8107651b11299a9ad259c6f990ad5d1aad617e65af49493fe824989fd9ade2703c927c59f1a15ea50c4af2d90ddf3da41aabeccdd399730f |
25 |
+DIST libvirt-python-7.7.0.tar.gz 217406 BLAKE2B 4e3e887f9778ca817028d9147913618dcbdc83d05ce01b05b80661bb4cc823de6dc0e9d9b0837bf344774e5a8cdbaec7d4a7e55ce902b2867159795b85800cdc SHA512 07aa75a19dc94f3bde49b1af50fa73a6c920059b3b9ca943354c59f174d756aa5d1dca1394844dc3197b6a22c440028d347480a17858bc18fe1b5b19cf7d797f |
26 |
+DIST libvirt-python-7.7.0.tar.gz.asc 833 BLAKE2B 159f5b5ec60d3b7966f3f99c185eddb8d2d03480b203473ae47e6139b21f8a4ee8bb8ba28ccacb88ad42c7b47d45862ccb48c90151203fb4e2295f355984e538 SHA512 b58579e648b82ec51de5f15e30dee39f7c42edf47ade4ad6f580bef21191f649b03eb05906bf31baa19afb6fadb57662c5326edb53b056a7235308d9c3bd551d |
27 |
|
28 |
diff --git a/dev-python/libvirt-python/libvirt-python-7.7.0.ebuild b/dev-python/libvirt-python/libvirt-python-7.7.0.ebuild |
29 |
new file mode 100644 |
30 |
index 00000000000..16ff1e5b125 |
31 |
--- /dev/null |
32 |
+++ b/dev-python/libvirt-python/libvirt-python-7.7.0.ebuild |
33 |
@@ -0,0 +1,51 @@ |
34 |
+# Copyright 1999-2021 Gentoo Authors |
35 |
+# Distributed under the terms of the GNU General Public License v2 |
36 |
+ |
37 |
+EAPI=7 |
38 |
+ |
39 |
+PYTHON_COMPAT=( python3_{7..9} ) |
40 |
+ |
41 |
+DISTUTILS_USE_SETUPTOOLS=no |
42 |
+ |
43 |
+MY_P="${P/_rc/-rc}" |
44 |
+ |
45 |
+inherit distutils-r1 verify-sig |
46 |
+ |
47 |
+if [[ ${PV} = *9999* ]]; then |
48 |
+ inherit git-r3 |
49 |
+ EGIT_REPO_URI="https://libvirt.org/git/libvirt-python.git" |
50 |
+ RDEPEND="app-emulation/libvirt:=[-python(-)]" |
51 |
+else |
52 |
+ SRC_URI="https://libvirt.org/sources/python/${MY_P}.tar.gz |
53 |
+ verify-sig? ( https://libvirt.org/sources/python/${MY_P}.tar.gz.asc )" |
54 |
+ KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" |
55 |
+ RDEPEND="app-emulation/libvirt:0/${PV}" |
56 |
+fi |
57 |
+S="${WORKDIR}/${P%_rc*}" |
58 |
+ |
59 |
+DESCRIPTION="libvirt Python bindings" |
60 |
+HOMEPAGE="https://www.libvirt.org" |
61 |
+LICENSE="LGPL-2" |
62 |
+SLOT="0" |
63 |
+VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/libvirt.org.asc |
64 |
+IUSE="examples test" |
65 |
+RESTRICT="!test? ( test )" |
66 |
+ |
67 |
+BDEPEND=" |
68 |
+ virtual/pkgconfig |
69 |
+ test? ( |
70 |
+ dev-python/lxml[${PYTHON_USEDEP}] |
71 |
+ dev-python/pytest[${PYTHON_USEDEP}] |
72 |
+ ) |
73 |
+ verify-sig? ( app-crypt/openpgp-keys-libvirt ) |
74 |
+" |
75 |
+ |
76 |
+distutils_enable_tests setup.py |
77 |
+ |
78 |
+python_install_all() { |
79 |
+ if use examples; then |
80 |
+ dodoc -r examples |
81 |
+ docompress -x /usr/share/doc/${PF}/examples |
82 |
+ fi |
83 |
+ distutils-r1_python_install_all |
84 |
+} |