commit:     0a9e2218593caea9fdf972675dc57f1aa14bf934
Author:     Michal Privoznik <michal.privoznik <AT> gmail <DOT> com>
AuthorDate: Tue Aug 13 07:45:19 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Aug 25 18:58:50 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a9e2218

dev-python/libvirt-python: Add 10.6.0

Signed-off-by: Michal Privoznik <michal.privoznik <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-python/libvirt-python/Manifest                 |  2 +
 .../libvirt-python/libvirt-python-10.6.0.ebuild    | 63 ++++++++++++++++++++++
 2 files changed, 65 insertions(+)

diff --git a/dev-python/libvirt-python/Manifest 
b/dev-python/libvirt-python/Manifest
index 8e28cc93f790..6193749c7ef7 100644
--- a/dev-python/libvirt-python/Manifest
+++ b/dev-python/libvirt-python/Manifest
@@ -8,6 +8,8 @@ DIST libvirt-python-10.3.0.tar.gz 238840 BLAKE2B 
35f4b15609550f9f255ee046fda4df2
 DIST libvirt-python-10.3.0.tar.gz.asc 833 BLAKE2B 
75f38beedc069543f634f0b880e439a6dbc4aea6eec29bbc229a5169f09aa55c5207a3f445f5e70da2b4cb94e7397bdd937f7d5088f7cd7b4f57d3d57e6196c1
 SHA512 
adeb63e8ecbdbac498d0971bea837f6a8ef5fa673bbade52a623e2f7a70600c443b87ca32cfe9c61c33f9f785eb1215815bf12fbd3cc4d9d4f60a3b898bb3cfb
 DIST libvirt-python-10.5.0.tar.gz 240191 BLAKE2B 
d4f801f89f1db1b84c565d53b048b9ae8b61127d6c99e0d463fd7cd7d666cc108e4157cdd483e33d3716db14e29ebdcbea82b4196b9c9bd6e9092233a54a267e
 SHA512 
1114405f52c9bfcfd733a26d7d2a51439fca6012313c22f40c4b488f55690d2564a26ab9376c285245e9899ef68fa136bb943ebb3702aa679874d0b98f3cebd7
 DIST libvirt-python-10.5.0.tar.gz.asc 833 BLAKE2B 
88bacd298472f540b9a099a2c8600964df4460ec31b7b614441c98801b40c4fb72d168fd12862fcf286650aa87532a6c2f5dccfca40658e48855201434943693
 SHA512 
06eebf7f869a67b0bd9d64bbcf8df5ed339c2650525464bc579ffc53a9f84a146fbd83027bbbf30bab7b3d46de360a3a73941f752a4f000194a1d806be9ea837
+DIST libvirt-python-10.6.0.tar.gz 240216 BLAKE2B 
e1300bdf124132bbb2c17649974633fc28e27044bec20aea0c563e793b3f4e83197292d3820f6f8a39b5d47165c455f40321c333976b86119a0b9504ffffe7af
 SHA512 
01e49babbcef5b2a12cb773e0b5e36b15d9b27890192f29ebf4cd0189e5a6383d5c51e1eda542c2724ff402cd2cffa5ee7448cf133efc1af9ba924745969da04
+DIST libvirt-python-10.6.0.tar.gz.asc 833 BLAKE2B 
58d263a211c68e2a3c811ac9952977fd05a42f9f8b910746fae35c69925a8a5783a9c0796390875a8b8036c315404a08ae826fe2306c8d63a8479f883f96760a
 SHA512 
b9d42be07925345e9183180301013f43169b0d00c1e97f78742b23fd7d97977e0437471b122518702e8fa59fd30674f6b8d5bf03cda6de746018afa5c1ef75cd
 DIST libvirt-python-9.8.0.tar.gz 246277 BLAKE2B 
c333909d1f4fd32f9e05d42e468b3808971360bb8aaf35934ec25f8155f0231b2ff3bfd90944a50cf13e09cec3cf35fdf41fb5869b1683c1cd36b4767f2b3dd1
 SHA512 
c9871ca2fa9d18ae42c4aa76e9a7ba9f0a026061b058072c862c8fe402c2d2325189687e1490718360a9b8f6c13d8ae2adfbe54f79a367fb6be9fbde381f4901
 DIST libvirt-python-9.8.0.tar.gz.asc 833 BLAKE2B 
78e6556031c325674d26322d0a6a4dfc391dd050223bd6d939d30328fc7bb1a2f8671aae95eb3a37b916311e6f4c44a4c1929093844347e06dffa23480793e34
 SHA512 
b999d442f8e22d91ccf9988f53603159406b3aacd3469fd613ed24afd67722206eb2b319a1518bc7aa8cc12684f84685de885bd40c9ba7d9a94ef16cf03f6065
 DIST libvirt-python-9.9.0.tar.gz 246357 BLAKE2B 
d2e6bc9f8ae3c722ffa18772e40965e7ef1acfb36a863d764ac39c694f687a078b6433cb780a27696f63c698c3e63d203ae1609b48ee31ea5cd95a21a3947666
 SHA512 
5a09b23b843080f2e55a7b00dc225e0bf23c9c23cac42ce4ffaff725020303745185482c2cc781d519020f50a335d4fa72a7a618bb2c1d0eb0845781d1b22ab7

diff --git a/dev-python/libvirt-python/libvirt-python-10.6.0.ebuild 
b/dev-python/libvirt-python/libvirt-python-10.6.0.ebuild
new file mode 100644
index 000000000000..9b1751db4dfd
--- /dev/null
+++ b/dev-python/libvirt-python/libvirt-python-10.6.0.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2024 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://libvirt.org/sources/python/${MY_P}.tar.gz
+               verify-sig? ( 
https://libvirt.org/sources/python/${MY_P}.tar.gz.asc )"
+       KEYWORDS="~amd64 ~arm ~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 )
+"
+
+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
+}

Reply via email to