From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 968DA1581EE for ; Tue, 08 Apr 2025 09:46:46 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 79E41343108 for ; Tue, 08 Apr 2025 09:46:46 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id A90D71104B7; Tue, 08 Apr 2025 09:46:42 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id A1A301104B7 for ; Tue, 08 Apr 2025 09:46:42 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 595C4343073 for ; Tue, 08 Apr 2025 09:46:42 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id AE56F27F1 for ; Tue, 08 Apr 2025 09:46:40 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1744105560.7f42bd4b70ad9559ee89a6ce84b9664a141963bb.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/libvirt-python/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/libvirt-python/Manifest dev-python/libvirt-python/libvirt-python-11.2.0.ebuild X-VCS-Directories: dev-python/libvirt-python/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 7f42bd4b70ad9559ee89a6ce84b9664a141963bb X-VCS-Branch: master Date: Tue, 08 Apr 2025 09:46:40 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 6c4c006f-b265-4d1a-a5b7-274a12cc438f X-Archives-Hash: 5f7ad5df57372ca1579976ec02e4ad03 commit: 7f42bd4b70ad9559ee89a6ce84b9664a141963bb Author: Michal Privoznik gmail com> AuthorDate: Sat Apr 5 14:40:36 2025 +0000 Commit: Sam James gentoo org> CommitDate: Tue Apr 8 09:46:00 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f42bd4b dev-python/libvirt-python: Add 11.2.0 Signed-off-by: Michal Privoznik gmail.com> Signed-off-by: Sam James gentoo.org> dev-python/libvirt-python/Manifest | 2 + .../libvirt-python/libvirt-python-11.2.0.ebuild | 64 ++++++++++++++++++++++ 2 files changed, 66 insertions(+) diff --git a/dev-python/libvirt-python/Manifest b/dev-python/libvirt-python/Manifest index eacb5b8cc306..8820f01401ed 100644 --- a/dev-python/libvirt-python/Manifest +++ b/dev-python/libvirt-python/Manifest @@ -4,3 +4,5 @@ DIST libvirt-python-11.0.0.tar.gz 241103 BLAKE2B aa4ece183a98b25981fac6454725d74 DIST libvirt-python-11.0.0.tar.gz.asc 833 BLAKE2B 8d8e415cc0bca4bfcccc608f27d016002cb1ce05c37c9a6d96d475c61d8fea60d31010d8baac55ce6f96b50141ea2843e212e6bf54fb9d1b527e510a4f7132fd SHA512 2242071b14d0a0ba34e2e04f4553484dec9a1662cca379b1cf49ab9ca2f40d89f78ac2912ee9c6b1fabbc9aede53f4232e20003f6f1330e368ac6671cc9643be DIST libvirt-python-11.1.0.tar.gz 241110 BLAKE2B 921be6848d275184d90c3aa55a50f66daa39e56ae73008f09a4b8f86ecfdcb2afa4ca13f2a3f396056cd28949f2095d1b40b62b0f0018d6164bb7fae3a67ecdb SHA512 2183969fe3057722f3ab0412f331cefd5ae52f90e024207a36d94105826aacd3e9193889ef0bd6eb24921f0145c5d6256328431534f828c3607c92c10b6d46ba DIST libvirt-python-11.1.0.tar.gz.asc 833 BLAKE2B af5ead2015dc0fe7c56642625e9ceb4d4f460bf9ff24647794d9ee21ad8919029ac18b9298237a5abb1ff44e50ff9ff19d9bd57020106db106ccee294b848f27 SHA512 57d58031ccd654db103b0251655cc6e7dcf51adfd67bb457c2daee07c3681d9225f1c4c4da3e4cf7e433ec921c318a0e46314836194322d047c727db38b860cf +DIST libvirt-python-11.2.0.tar.gz 242152 BLAKE2B 8bf92854c73184e43b364d66f04e8b017d6ad6b40173915c10f7c0dd0b0fadd4b55ea8704155392f016b151b1f65fc7805313e8610569fe362bb4a28bfee8dbf SHA512 02019186fd086df8c57998f2a3e6496897e9de1a09b97aba983897480e50be58ac0599de0ed7cb62cabb9834913973dcf99f034397e48fac96d65c32b056059f +DIST libvirt-python-11.2.0.tar.gz.asc 833 BLAKE2B fa3231a0fbc525d039d0ccc9dee91e7630dc7b615481d0c7dae6636666a575305a6a7f9088cc70a9c756aa684141c6cda8ca479987c7f6dbaafb9df07072bdb8 SHA512 61c6b67be7b71fcf6ae6695e23e66eb9ff5531f63dfa6bfdee2db49f22c9e02d3169a3bab4d7731fb306796d03ea76384ae3e72dd970ab2bde690b604fcd6c35 diff --git a/dev-python/libvirt-python/libvirt-python-11.2.0.ebuild b/dev-python/libvirt-python/libvirt-python-11.2.0.ebuild new file mode 100644 index 000000000000..95dc7d2980ca --- /dev/null +++ b/dev-python/libvirt-python/libvirt-python-11.2.0.ebuild @@ -0,0 +1,64 @@ +# 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_{10..13} ) +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/_rc/-rc}" + 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}" +fi + +DESCRIPTION="libvirt Python bindings" +HOMEPAGE="https://www.libvirt.org" + +S="${WORKDIR}/${P%_rc*}" + +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 +}