1 |
commit: aa1b84466ba3fdb79ff98077960191913e0b8d55 |
2 |
Author: Piotr Karbowski <slashbeast <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Mar 3 23:01:13 2022 +0000 |
4 |
Commit: Piotr Karbowski <slashbeast <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Mar 3 23:01:13 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa1b8446 |
7 |
|
8 |
dev-python/libvirt-python: bump to 8.1.0 to match in-tree libvirt. |
9 |
|
10 |
Signed-off-by: Piotr Karbowski <slashbeast <AT> gentoo.org> |
11 |
|
12 |
dev-python/libvirt-python/Manifest | 2 + |
13 |
.../libvirt-python/libvirt-python-8.1.0.ebuild | 51 ++++++++++++++++++++++ |
14 |
2 files changed, 53 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/libvirt-python/Manifest b/dev-python/libvirt-python/Manifest |
17 |
index 262d7da8e2c5..186a267dce41 100644 |
18 |
--- a/dev-python/libvirt-python/Manifest |
19 |
+++ b/dev-python/libvirt-python/Manifest |
20 |
@@ -4,3 +4,5 @@ DIST libvirt-python-7.7.0.tar.gz 217406 BLAKE2B 4e3e887f9778ca817028d9147913618d |
21 |
DIST libvirt-python-7.7.0.tar.gz.asc 833 BLAKE2B 159f5b5ec60d3b7966f3f99c185eddb8d2d03480b203473ae47e6139b21f8a4ee8bb8ba28ccacb88ad42c7b47d45862ccb48c90151203fb4e2295f355984e538 SHA512 b58579e648b82ec51de5f15e30dee39f7c42edf47ade4ad6f580bef21191f649b03eb05906bf31baa19afb6fadb57662c5326edb53b056a7235308d9c3bd551d |
22 |
DIST libvirt-python-8.0.0.tar.gz 218832 BLAKE2B be86e423607f90fb9e93fdb3b1ea768eed078ef3a4a05c5ee258ad48f650aeb15314ce9c0c45b3e986a18b81ae69c705c6cbe02d429fd71eb9dd7b9118fe91a3 SHA512 9eb85ae3048274a239908b658c0dacf0588538b356fc59c388900bca7164612d7370f3dddd2eb4c81e88fff7671118517bf0f5fd4382c5a88102212349dff4ec |
23 |
DIST libvirt-python-8.0.0.tar.gz.asc 833 BLAKE2B 12aec1acbf41811d9aa33a99038e1987624a2964579ef8ec236ba63fa8507cbe47d17e654221753a8d53af7d44ec53c2daca54f3b2dce18d8aea3e6d1012beaa SHA512 d6652f5d694a2b12d595fd78eb8ebc4f03ee02d20ed06187edfca5611b4784469af1cfd8c3ba009b799e7adf500775ede9d9c53544b995a072dc599797460d16 |
24 |
+DIST libvirt-python-8.1.0.tar.gz 221567 BLAKE2B aaf296f60c991c2877a2bb4ed47f1f2c4f75dd16b6831f53baab23883030cf20675ea61f636f0483e0c9a2f362638c860dd68eeb23b5ad82f43c66cd5f91b825 SHA512 507742d7b6503fdab45dad0b1e3b320f49a5cb01c1e0077f777bf41d53d2e6be4df0671e379d9a69330623ae362b725c7511d44d2c48489b21a657cf17efbd93 |
25 |
+DIST libvirt-python-8.1.0.tar.gz.asc 833 BLAKE2B a4fb10816ee50c1979926db87fa85e838e6caf74d086b612f07fb37730003030c16ce9f538fa8765a705b9a51d398e0284410a53aed31ac3452af4a4e5aae30e SHA512 2ca4bf7393f60267e0d7d32dcc50219847a86dbde76e1a83a9723c07133ff90d930dde32f454631c474fd36ac3837ccf94629576ddfb93288dfdb2490ce20724 |
26 |
|
27 |
diff --git a/dev-python/libvirt-python/libvirt-python-8.1.0.ebuild b/dev-python/libvirt-python/libvirt-python-8.1.0.ebuild |
28 |
new file mode 100644 |
29 |
index 000000000000..b66a5a09c729 |
30 |
--- /dev/null |
31 |
+++ b/dev-python/libvirt-python/libvirt-python-8.1.0.ebuild |
32 |
@@ -0,0 +1,51 @@ |
33 |
+# Copyright 1999-2022 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=7 |
37 |
+ |
38 |
+PYTHON_COMPAT=( python3_{8..10} ) |
39 |
+ |
40 |
+DISTUTILS_USE_SETUPTOOLS=no |
41 |
+ |
42 |
+MY_P="${P/_rc/-rc}" |
43 |
+ |
44 |
+inherit distutils-r1 verify-sig |
45 |
+ |
46 |
+if [[ ${PV} = *9999* ]]; then |
47 |
+ inherit git-r3 |
48 |
+ EGIT_REPO_URI="https://libvirt.org/git/libvirt-python.git" |
49 |
+ RDEPEND="app-emulation/libvirt:=[-python(-)]" |
50 |
+else |
51 |
+ SRC_URI="https://libvirt.org/sources/python/${MY_P}.tar.gz |
52 |
+ verify-sig? ( https://libvirt.org/sources/python/${MY_P}.tar.gz.asc )" |
53 |
+ KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" |
54 |
+ RDEPEND="app-emulation/libvirt:0/${PV}" |
55 |
+fi |
56 |
+S="${WORKDIR}/${P%_rc*}" |
57 |
+ |
58 |
+DESCRIPTION="libvirt Python bindings" |
59 |
+HOMEPAGE="https://www.libvirt.org" |
60 |
+LICENSE="LGPL-2" |
61 |
+SLOT="0" |
62 |
+VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/libvirt.org.asc |
63 |
+IUSE="examples test" |
64 |
+RESTRICT="!test? ( test )" |
65 |
+ |
66 |
+BDEPEND=" |
67 |
+ virtual/pkgconfig |
68 |
+ test? ( |
69 |
+ dev-python/lxml[${PYTHON_USEDEP}] |
70 |
+ dev-python/pytest[${PYTHON_USEDEP}] |
71 |
+ ) |
72 |
+ verify-sig? ( sec-keys/openpgp-keys-libvirt ) |
73 |
+" |
74 |
+ |
75 |
+distutils_enable_tests setup.py |
76 |
+ |
77 |
+python_install_all() { |
78 |
+ if use examples; then |
79 |
+ dodoc -r examples |
80 |
+ docompress -x /usr/share/doc/${PF}/examples |
81 |
+ fi |
82 |
+ distutils-r1_python_install_all |
83 |
+} |