diff options
| author | Crucible <crucible@localhost> | 2026-09-22 22:22:36 -0500 |
|---|---|---|
| committer | Crucible <crucible@localhost> | 2026-09-22 22:22:36 -0500 |
| commit | 979af70cb83395cab2f32ea1124be68ebaced6b6 (patch) | |
| tree | 18b16739f860a2a652c26c5499fad05922119e31 /dev-python/libvirt-python | |
| parent | 954147f7add6ada356dec519e829e0a2437da5af (diff) | |
| download | srcux-979af70cb83395cab2f32ea1124be68ebaced6b6.tar.gz srcux-979af70cb83395cab2f32ea1124be68ebaced6b6.tar.xz srcux-979af70cb83395cab2f32ea1124be68ebaced6b6.zip | |
Publish baldeagleos-repo candidate 0000000338-20260922-221634
Diffstat (limited to 'dev-python/libvirt-python')
| -rw-r--r-- | dev-python/libvirt-python/Manifest | 2 | ||||
| -rw-r--r-- | dev-python/libvirt-python/libvirt-python-12.7.0.ebuild | 64 |
2 files changed, 66 insertions, 0 deletions
diff --git a/dev-python/libvirt-python/Manifest b/dev-python/libvirt-python/Manifest index ce0ec5d02d4d..8f0b4794da6a 100644 --- a/dev-python/libvirt-python/Manifest +++ b/dev-python/libvirt-python/Manifest @@ -8,3 +8,5 @@ DIST libvirt_python-12.2.0.tar.gz 244689 BLAKE2B b8591860f6cefd160535f70b17afdf1 DIST libvirt_python-12.2.0.tar.gz.asc 833 BLAKE2B 2a6365eab211414f15b55f4769fa3f7789522700266be4fc8fe852ba02c701a9f58c2b72cd3210447572c6c0e526b71405f4a19c2e5cd0f71e66445c32647776 SHA512 73edd0a887e1f5bc91f8d27c0e800d750a6005e01c726f9ff72b667a7bc6527607d98a18a5b66194d4bd35fc5b06481c34f6003c5c2c7cb882c6a9bd11765d4a DIST libvirt_python-12.6.0.tar.gz 252693 BLAKE2B 17d0760d5f56b17ec6bd738e6a4f25d57ce411edb4db2fe3f5e0ff2fae670583973d8ab6b0eb1fe7acbcb2d781e6a628ded62e08ea2ff85695204ce144f3058c SHA512 e43a3ee2c46fdcb82c65239639e38683067fb0492c0dc26e5435138435d612277f3ab08b7e73a933b07ad9e2f411feb82e84690e82f906cfcfc9f3aa7b5f3c42 DIST libvirt_python-12.6.0.tar.gz.asc 833 BLAKE2B edf2e70a0af3ba13e2a31bad7036350ee5e0a411a87a02a15ff77e05c2d7bb451f90c343691cc3f56d2b555e83975476e1042455ffb96bae7f515c8db805ac25 SHA512 884cab9736a723b16232e6b7062cde573180c75616b080edad96ace1f0ae62a4fbca0e2dd09e3e460403f667cd0a7e942e2594b742c071a437546a7d79983a4f +DIST libvirt_python-12.7.0.tar.gz 256560 BLAKE2B 3c03ced41b09869e1e6b5fbb9c5b7919e83e3eb3f0197dec66926e6f727fb9936ac4c872197f29800fd39768260f41f60b37df3f3d9cdbc44049fc7801d4edce SHA512 35c837491141bf8a856711991840ef7526cab26375175042d9f1326aa0217886ec6c3f3334ae60be96564b5258dd78f1504a0a841cb4c77e5bd9c813beee7a77 +DIST libvirt_python-12.7.0.tar.gz.asc 833 BLAKE2B e6bcc03a410c3f4b9b5346cbe4df7d36f6359cad2893263186c91beb8c7d2611f7811a5d6eb7149cdd2f1f81849b727d227dddfe6d09aa151386a0f04d60e1a8 SHA512 50778d6dea1dddc786cc755305f78b70ba0c8c708703f44b4e3d53ffe6294d3a7308b2d1153a505ad16596d96a951780500adc78feef03aa7462e28767a6b476 diff --git a/dev-python/libvirt-python/libvirt-python-12.7.0.ebuild b/dev-python/libvirt-python/libvirt-python-12.7.0.ebuild new file mode 100644 index 000000000000..e7c2af787d5a --- /dev/null +++ b/dev-python/libvirt-python/libvirt-python-12.7.0.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2026 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_{13..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-20260831 ) +" + +VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/libvirt.asc + +EPYTEST_PLUGINS=() +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 +} |
