commit:     9fe4b27ca096d9fddedfa9351f4ddfdd5bc521e5
Author:     Jonathan Davies <jpds <AT> protonmail <DOT> com>
AuthorDate: Thu Apr  1 13:27:59 2021 +0000
Commit:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Sun Apr  4 17:39:19 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9fe4b27c

dev-python/libvirt-python: Version updated to 7.2.0.

Closes: https://github.com/gentoo/gentoo/pull/20217
Signed-off-by: Jonathan Davies <jpds <AT> protonmail.com>
Signed-off-by: Matthias Maier <tamiko <AT> gentoo.org>

 dev-python/libvirt-python/Manifest                 |  2 +
 .../libvirt-python/libvirt-python-7.2.0.ebuild     | 51 ++++++++++++++++++++++
 2 files changed, 53 insertions(+)

diff --git a/dev-python/libvirt-python/Manifest 
b/dev-python/libvirt-python/Manifest
index 39c0f4ff882..cec176e9274 100644
--- a/dev-python/libvirt-python/Manifest
+++ b/dev-python/libvirt-python/Manifest
@@ -4,3 +4,5 @@ DIST libvirt-python-7.0.0.tar.gz 214945 BLAKE2B 
9ab616fa6336a284dbb1dcebf0be6a06
 DIST libvirt-python-7.0.0.tar.gz.asc 833 BLAKE2B 
54102c29a46900dc5439ca5b96d17d0f3923fb1cb5fa74ef7671a49645c5e5d7f43b608099f542410ca38d675a384e2ad3fdfd7494bda6e66b889ec3d9f04e9e
 SHA512 
4ca5cf4e3687e3cbdb3bf9991076ef4d0427db4b7eb27738d4463c5645d684581dd20377339e6bdac66e790f10709df9f483dd9f360a1b978776fe5d3e2dcc64
 DIST libvirt-python-7.1.0.tar.gz 215468 BLAKE2B 
5734f686760d118bc326c68d93714db31b65d0d2f8495c8fb7788aa59658680cc07b8c522e5854bafc6a75989cee4b7c817ec0f54ae5ebcb76ed74418fa1c0f0
 SHA512 
9c4adf0107b2b6d8ac3f84f4a201733b851b5c518e498b4bb8fe3531ec8923b2a96e5593ee0fe309b9501884a83e77a6a0347a6714293febf907c9a4dc742cd4
 DIST libvirt-python-7.1.0.tar.gz.asc 833 BLAKE2B 
be4101dcff4f95e36929dc70657a527e7b0b30fe9556c8d42f240459f86f7ba71980cf483f4d828d63cf94ce3c4521e7303d72f6df5e6c4c2a6de1b160970073
 SHA512 
db0213bb95d77c690ef8726ae559cae7970d31e633104993e715dd4e34e2f3c52bdcf7303e90419055d571d21417ac6375d78463143e20e94bf4aaf666684174
+DIST libvirt-python-7.2.0.tar.gz 215380 BLAKE2B 
e9c55a193c571b8fdf3f7f2545ae82470ff74e74e4f2fb58dda6278bc484eb26ae84f2991bc34adc6030973e7d53d364576247e1f8ab836edea06a5da0f8575e
 SHA512 
6df5be4d98884751e4a098b54ec1d8827268993b6df5769c1a687420dd5889c629ca0bd286f5a0c22a9c81974fa02565b36628f8026c697ae414137f0c1d8441
+DIST libvirt-python-7.2.0.tar.gz.asc 833 BLAKE2B 
3f93f4841da3d86c6a0ba073b70c44e3732eb0ca91fd80a7089c1731851173d163101428d07f82f688478a7967e71bd66b49cd70673157428d2c4802a5df3bae
 SHA512 
fe4f7bf6a9ea6e008ed73fac588785281582dd5eaa738e5ca05b88534659096af137408e1222f791d5a13190358fcf5d30eaa8d8a24791e3b5a15622516fe05f

diff --git a/dev-python/libvirt-python/libvirt-python-7.2.0.ebuild 
b/dev-python/libvirt-python/libvirt-python-7.2.0.ebuild
new file mode 100644
index 00000000000..eb8b2abcbc0
--- /dev/null
+++ b/dev-python/libvirt-python/libvirt-python-7.2.0.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7..9} )
+
+DISTUTILS_USE_SETUPTOOLS=no
+
+MY_P="${P/_rc/-rc}"
+
+inherit distutils-r1 verify-sig
+
+if [[ ${PV} = *9999* ]]; then
+       inherit git-r3
+       EGIT_REPO_URI="https://libvirt.org/git/libvirt-python.git";
+       RDEPEND="app-emulation/libvirt:=[-python(-)]"
+else
+       SRC_URI="https://libvirt.org/sources/python/${MY_P}.tar.gz
+               verify-sig? ( 
https://libvirt.org/sources/python/${MY_P}.tar.gz.asc )"
+       KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
+       RDEPEND="app-emulation/libvirt:0/${PV}"
+fi
+S="${WORKDIR}/${P%_rc*}"
+
+DESCRIPTION="libvirt Python bindings"
+HOMEPAGE="https://www.libvirt.org";
+LICENSE="LGPL-2"
+SLOT="0"
+VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/libvirt.org.asc
+IUSE="examples test"
+RESTRICT="!test? ( test )"
+
+BDEPEND="
+       virtual/pkgconfig
+       test? (
+               dev-python/lxml[${PYTHON_USEDEP}]
+               dev-python/nose[${PYTHON_USEDEP}]
+       )
+       verify-sig? ( app-crypt/openpgp-keys-libvirt )
+"
+
+distutils_enable_tests setup.py
+
+python_install_all() {
+       if use examples; then
+               dodoc -r examples
+               docompress -x /usr/share/doc/${PF}/examples
+       fi
+       distutils-r1_python_install_all
+}

Reply via email to