summaryrefslogtreecommitdiff
path: root/dev-python/libvirt-python
diff options
context:
space:
mode:
authorBrahmajit Das <listout@listout.xyz>2025-11-29 18:36:10 +0530
committerSam James <sam@gentoo.org>2025-12-01 01:22:36 +0000
commitd92dac00c416c965f1bf5b15a399cac6b15dbf54 (patch)
tree6270f7d552a4e2803c0ef8f4a5a2ac4df89f40e5 /dev-python/libvirt-python
parent1c529a94409f9ff90f61923926681efe7c8430a4 (diff)
downloadgentoo-d92dac00c416c965f1bf5b15a399cac6b15dbf54.tar.gz
gentoo-d92dac00c416c965f1bf5b15a399cac6b15dbf54.tar.bz2
gentoo-d92dac00c416c965f1bf5b15a399cac6b15dbf54.zip
dev-python/libvirt-python: add 11.9.0
Signed-off-by: Brahmajit Das <listout@listout.xyz> Part-of: https://github.com/gentoo/gentoo/pull/44816 Closes: https://github.com/gentoo/gentoo/pull/44816 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-python/libvirt-python')
-rw-r--r--dev-python/libvirt-python/Manifest2
-rw-r--r--dev-python/libvirt-python/libvirt-python-11.9.0.ebuild63
2 files changed, 65 insertions, 0 deletions
diff --git a/dev-python/libvirt-python/Manifest b/dev-python/libvirt-python/Manifest
index be0fe4ada34b5..442aa30d589e2 100644
--- a/dev-python/libvirt-python/Manifest
+++ b/dev-python/libvirt-python/Manifest
@@ -2,3 +2,5 @@ DIST libvirt-python-11.6.0.tar.gz 242654 BLAKE2B 33150ead07e0329768ddec082b36e69
DIST libvirt-python-11.6.0.tar.gz.asc 833 BLAKE2B 342066ba8d6f82f310908a532f507dcb6b47ea3df810b2d54e537cf7965d42df87fc1a4647fc3c581ce4cc07f69ffa8eecda1467d11fa15f0c9d53f15de7c97c SHA512 75d8c79cd4157c3e1787cdd3c0fbf2ea3265e48d65d7d0fce2a4741ac5199026d01773799e0cf7861d948a2515ebcc468d56b93cafa9d4cb23d004efba864a24
DIST libvirt_python-11.8.0.tar.gz 242986 BLAKE2B df2262200aea58f4198cbe0e94639e000053d0e0451e5314227aff79971739b704442312c33f02e7c6e452fc66f2d26db13ee4c017109b7e69aeebb4d04997ad SHA512 8a82169d8b7c17d16150d8441900c4e1bac620c079d681a6c8e76d5b4924b65d7c13e3e04d776f23304ea594da7eb35f97d6e5915931397a14bb466b5f20ee3f
DIST libvirt_python-11.8.0.tar.gz.asc 833 BLAKE2B 7fbd65fc891a026568498d5d1118feb360054a3a1df647285622ef9ea0203fed510750b1e265b246bf9ab4cda695ded904f64f1a020cd8aff565e14ac9866c42 SHA512 0165d5fcd91f181e22bd27b663bb8492190572b67102f5695fd097fdfa4e6db70d8e93f3717e53cd3bb44ec80f6a1c4ccbc017485bce2bc3b53c65d447f27e92
+DIST libvirt_python-11.9.0.tar.gz 243243 BLAKE2B 774d867a07736c2db0cb928aac50257831e8effbd7c86c838c9caa29552763cfcaa3bd079667b5a2265e6bc73373245e5801310a02acecb621245f618aff072e SHA512 33e13d04f13f7afd81030e8ccf7339830de3b50f941f08060eec755fbb104910e9858e8f92921d7a6c7941544a228e83f4466e6ea189028ac107a44ad530999d
+DIST libvirt_python-11.9.0.tar.gz.asc 833 BLAKE2B 1c7a30f93ed595ac016ac730373e51b6236fe2cc3777175e9081e1c7ba65b55df3cab43dc9a0cc84d5e48ac85829ab7db84388e83652e2ea0c73e62291402e09 SHA512 2026778bd253d0911cac2cbb344d27e51d1bd44d9218b726b40e420d1f376d4909ba6dd6847d2f75a0d5b669c9c2f3ba3d05a0b256d8022ba40a82e94b2ac3e2
diff --git a/dev-python/libvirt-python/libvirt-python-11.9.0.ebuild b/dev-python/libvirt-python/libvirt-python-11.9.0.ebuild
new file mode 100644
index 0000000000000..48f58863517d7
--- /dev/null
+++ b/dev-python/libvirt-python/libvirt-python-11.9.0.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2025 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!
+
+DISTUTILS_EXT=1
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{11..14} )
+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:="
+else
+ MY_P="${P/-/_}"
+ SRC_URI="https://download.libvirt.org/python/${MY_P}.tar.gz
+ verify-sig? ( https://download.libvirt.org/python/${MY_P}.tar.gz.asc )"
+ KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+ RDEPEND="app-emulation/libvirt:0/${PV}"
+ S="${WORKDIR}/${MY_P}"
+fi
+
+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 )
+"
+
+VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/libvirt.org.asc
+
+distutils_enable_tests pytest
+
+python_compile() {
+ # setuptools is broken for C extensions, bug #907718
+ distutils-r1_python_compile -j1
+}
+
+python_install_all() {
+ if use examples; then
+ dodoc -r examples
+ docompress -x /usr/share/doc/${PF}/examples
+ fi
+
+ distutils-r1_python_install_all
+}