diff options
| author | Brahmajit Das <listout@listout.xyz> | 2025-12-01 17:07:35 +0530 |
|---|---|---|
| committer | Sam James <sam@gentoo.org> | 2025-12-04 11:59:52 +0000 |
| commit | 249ff4e32e3a533b20fe127ff11190285a7b0af2 (patch) | |
| tree | a63ccbf0a63a6339eb21f08f71a0a6cfd42bdd6b /dev-python | |
| parent | 88b4fc7a8d0c4ebe4e60853e0d9d463f244e5b89 (diff) | |
| download | gentoo-249ff4e32e3a533b20fe127ff11190285a7b0af2.tar.gz gentoo-249ff4e32e3a533b20fe127ff11190285a7b0af2.tar.bz2 gentoo-249ff4e32e3a533b20fe127ff11190285a7b0af2.zip | |
dev-python/libvirt-python: add 11.10.0
Signed-off-by: Brahmajit Das <listout@listout.xyz>
Part-of: https://github.com/gentoo/gentoo/pull/44848
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-python')
| -rw-r--r-- | dev-python/libvirt-python/Manifest | 2 | ||||
| -rw-r--r-- | dev-python/libvirt-python/libvirt-python-11.10.0.ebuild | 63 |
2 files changed, 65 insertions, 0 deletions
diff --git a/dev-python/libvirt-python/Manifest b/dev-python/libvirt-python/Manifest index 442aa30d589e..d705f59c01f4 100644 --- a/dev-python/libvirt-python/Manifest +++ b/dev-python/libvirt-python/Manifest @@ -1,5 +1,7 @@ DIST libvirt-python-11.6.0.tar.gz 242654 BLAKE2B 33150ead07e0329768ddec082b36e69a71235b5083004afdc0293a78f79b9df3605e5d8cb8bc4ec3a4523c8846fe201203d3e4ff0a0ceddaa23989b156199bb9 SHA512 06c09e8c62eafe11cb2419f8a13e040e9f4380591b235d1debdfc29e11b9f62535c1d8285e19bc190528dc3d987076bd39511c1c734b4bd590937d788977f05b DIST libvirt-python-11.6.0.tar.gz.asc 833 BLAKE2B 342066ba8d6f82f310908a532f507dcb6b47ea3df810b2d54e537cf7965d42df87fc1a4647fc3c581ce4cc07f69ffa8eecda1467d11fa15f0c9d53f15de7c97c SHA512 75d8c79cd4157c3e1787cdd3c0fbf2ea3265e48d65d7d0fce2a4741ac5199026d01773799e0cf7861d948a2515ebcc468d56b93cafa9d4cb23d004efba864a24 +DIST libvirt_python-11.10.0.tar.gz 243286 BLAKE2B 7dbc2e2ea0329e4523805d9ef6c95d96af7eb7d8d0ad1cc99d68b258ddcb27eb26dbbfefd10ecda1a093594b309ffbc821cc303a71e87a91f6a7802d7f5222a0 SHA512 aa0156face7766c8d2faa053ae8729059bce3041899e3f545e90683d70f2809c782eff15dc1bca42493dd79bc263523d21d3e671c7c3559f127e3002dc8aa24b +DIST libvirt_python-11.10.0.tar.gz.asc 833 BLAKE2B 664adc7d6bc30160ddd5e1fd1d79db742827169970de483cf9a3a5a0922dbe58c0a7e1b3102573e6555f817b851a4a7d8afdcf96d06000a94cf4b66a04843849 SHA512 c28d5ef9ec68d4a423684bddb4ec91f22f1951193f5519ae3931aba52d6d5b32273efaecbf44e1d0977569038d1bfa97200124dc10cd10d49e9eb914dd8b264c 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 diff --git a/dev-python/libvirt-python/libvirt-python-11.10.0.ebuild b/dev-python/libvirt-python/libvirt-python-11.10.0.ebuild new file mode 100644 index 000000000000..48f58863517d --- /dev/null +++ b/dev-python/libvirt-python/libvirt-python-11.10.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 +} |
