commit:     69bdb766ca65c196b052983c72889fc1a50104e1
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Sep  1 21:27:29 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Sep  1 21:49:12 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=69bdb766

dev-python/libvirt-python: add 8.7.0

Closes: https://github.com/gentoo/gentoo/pull/26898
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-python/libvirt-python/Manifest                 |  2 +
 .../libvirt-python/libvirt-python-8.7.0.ebuild     | 56 ++++++++++++++++++++++
 2 files changed, 58 insertions(+)

diff --git a/dev-python/libvirt-python/Manifest 
b/dev-python/libvirt-python/Manifest
index 95cd7e51cc42..25fa524e0841 100644
--- a/dev-python/libvirt-python/Manifest
+++ b/dev-python/libvirt-python/Manifest
@@ -14,3 +14,5 @@ DIST libvirt-python-8.4.0.tar.gz 231985 BLAKE2B 
64d37074e04cdb02332987dc46e6dd7b
 DIST libvirt-python-8.4.0.tar.gz.asc 833 BLAKE2B 
fa6f5e10ca3e06c017e9988e676dd2beca2bcb88f4d55d7a1740d42b4ea56ff0cdb4fd7698392ce1eead7a81fafcc1475eb6270329f56e191a4a4551120e982b
 SHA512 
855869856ff41338c4ed1b707db4a0ace97a60e51d19183a0c1f904695b8a367249ae6266a45d79449443325cc85485db89dc73b09ac318c206cc03ab36ef179
 DIST libvirt-python-8.5.0.tar.gz 235414 BLAKE2B 
616c8415f94a6c53b9bcd6ff7433993a3d40eb49ff13eaf81eee52c52806fb1d281216e8bd591deeee6058e2cb5161310d0ae1217467cd1f0525c00d7252214d
 SHA512 
0e922301243200229c01659e57b4abad69a85931ea3ffcb70b117f313971d266d036dc6c1dbe42d48380d5ad9ed72326603101eb33d6a68dd6b7253a6e197aff
 DIST libvirt-python-8.5.0.tar.gz.asc 833 BLAKE2B 
5b3c37ee02d6a5cefcc81945b9f4c67f19d297f03ad16e2666e87c3ea54ac609d774d3bb90a47e4098914460fd0928f66641f52185fe367cad9794636a809836
 SHA512 
4fae1d23f7ef2fccb38dee397173f3571b64969672cbe297e3622b9a0194e4a434329de543e886a4a20a9e1e0e3f1fec10a08d924ec0e728b9e29a44877c7e24
+DIST libvirt-python-8.7.0.tar.gz 236343 BLAKE2B 
563cd1a18f06c0210465905267c46b3e5c598a9dcb208f468660d40988a4f6d80e61feed3702d830d465769eebb2c4d6604ef9449700923795c0485c36e38680
 SHA512 
f7883964875657a11c6756e31fda59eadba8394b71dda04df366aac85b163f3ffb379054bace38922d10d0b8972d1e1210d1513498cfd5cd8f0b76d6985ee945
+DIST libvirt-python-8.7.0.tar.gz.asc 833 BLAKE2B 
5386780d75114c21105d012fd0ec2fd22fdd979dd6cdaea59f578eff4c0616e377da52d8aec05f337b837fda663ce8afb6d670e960ee65146679cd8c9a60b12b
 SHA512 
499324c7cb520edbd1778a16434de43be062545255abb271832a636ff1ce9f4ba87e90226a181e081d084fccd6c190acc15763fecfc89e80093845589c12f535

diff --git a/dev-python/libvirt-python/libvirt-python-8.7.0.ebuild 
b/dev-python/libvirt-python/libvirt-python-8.7.0.ebuild
new file mode 100644
index 000000000000..59818c6c51d9
--- /dev/null
+++ b/dev-python/libvirt-python/libvirt-python-8.7.0.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# Packages which get releases together:
+# app-emacs/nxml-libvirt-schemas
+# dev-python/libvirt-python
+# dev-perl/Sys-Virt
+# app-emulation/libvirt
+# Please bump them together!
+
+PYTHON_COMPAT=( python3_{8..11} )
+DISTUTILS_USE_PEP517=setuptools
+MY_P="${P/_rc/-rc}"
+VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/libvirt.org.asc
+inherit distutils-r1 verify-sig
+
+if [[ ${PV} == *9999* ]]; then
+       inherit git-r3
+       EGIT_REPO_URI="https://gitlab.com/libvirt/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"
+IUSE="examples test"
+RESTRICT="!test? ( test )"
+
+BDEPEND="
+       virtual/pkgconfig
+       test? (
+               dev-python/lxml[${PYTHON_USEDEP}]
+       )
+       verify-sig? ( sec-keys/openpgp-keys-libvirt )
+"
+
+distutils_enable_tests pytest
+
+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