diff options
Diffstat (limited to 'dev-python/libvirt-python')
-rw-r--r-- | dev-python/libvirt-python/Manifest | 3 | ||||
-rw-r--r-- | dev-python/libvirt-python/libvirt-python-10.0.0.ebuild | 63 |
2 files changed, 66 insertions, 0 deletions
diff --git a/dev-python/libvirt-python/Manifest b/dev-python/libvirt-python/Manifest index da123b1ecd38..fb3737e97218 100644 --- a/dev-python/libvirt-python/Manifest +++ b/dev-python/libvirt-python/Manifest @@ -1,3 +1,5 @@ +DIST libvirt-python-10.0.0.tar.gz 246385 BLAKE2B 0d3411d5d138fe57c6a5b73423479939182a4b9fde29c74ea832db3664db7da392bb15f0381c3ead949c36554cfdbf322441380293ffb016377dc9d4a6b57756 SHA512 4c3f51b2669ad7dc571f05ddeb75bb375640d27f77c1511e6682d8c7a77074210c48ea6c2e125ce8b04a1512df8a6a41e6a2d291e853dcaff84da213c89a6097 +DIST libvirt-python-10.0.0.tar.gz.asc 833 BLAKE2B f90f76364c84dff7f7346ea06a630b7085f9c6c7c9bf671cc152287f2123a4f8d1fd8734c3a2771468a8e4748fb7e8628738403b45e688dc36d3972999ff24bf SHA512 fd6048d6a8f73145e7e0512e55a86740a923c671b75aa505cb58291e9809d9927400eabf636db94d9e7093b3eb2c11df0e36d8de24ba9944ae05a8885201ebab DIST libvirt-python-9.3.0.tar.gz 244181 BLAKE2B 1f472233ea336bf7196f83c41606817c6422b08ba76bb07a39510018498cc378a3e31626155e9953881ac4718ca642df6878e9a2b6bfe74116052819fabf63c6 SHA512 5fe04eb6fbccb20f90637d5bb74887b0676743761838c91f6c7f08f8aff39ea8e1d8cdc50c4c244918c2100efb00c6bb380ac44b4d403a08863c8c99ecdbe937 DIST libvirt-python-9.3.0.tar.gz.asc 833 BLAKE2B bb3f47ce3dea2fca251a956c170f98406485f3b738e068d6b3dab59c5f440aba7127683f484278866d5b39f53cd18a5dbb9697e701515c6d93141b3e7ecae18b SHA512 0123bc657ec2680ea998e70c62f2dba0f5960239faa43158e4897e4e3e287a0fdb29daa409bf98514b271477410308c959a0ab1e4e90fa82f409cd4f858201fe DIST libvirt-python-9.4.0.tar.gz 244574 BLAKE2B cdba846dc9e1c5023a0d8fe22da9f539f8b2946512eed6f74ff9c3516335c580d72d50609bab100a0f50289295cf8402e0d7c695a5afbe1ed989f89f758ee2ee SHA512 899d88009b54b1c6e225f609bf121d7b7ea7558fc8562a01b6b46d828c4882c01b3b129263f68354b5576727e2626d63ba12e6ff33bca2bad14ace75942d6069 @@ -10,6 +12,7 @@ DIST libvirt-python-9.8.0.tar.gz 246277 BLAKE2B c333909d1f4fd32f9e05d42e468b3808 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 DIST libvirt-python-9.9.0.tar.gz.asc 833 BLAKE2B bf7c3861f4a9d47478e7e9afcb21b8b8537f0baf525af462aebd849fc24510bcc575d851e06d8903d7480163b42520a4e4c88b7e01af90e7b759ea028839440f SHA512 bc509c67cd9d019f40994b415d7648d4e408a47758bf12a42653f315fd6e16d89568d59698922f73fbb11a858674d370222e41c7d1bba04e38a5665ddb1da853 +EBUILD libvirt-python-10.0.0.ebuild 1458 BLAKE2B 2064e8915fdbbdf21ae3988653daf77f978ed86450ff72a609213bbfcefdfdeb8e604c4d41dbf88122856aebea657fc64901eb7a808c965c2aba8aeb9431ef1f SHA512 d5982669cf55f7e7b28a37c0a679119e88afc1357a6b5f00832254881d0b46f772bb974659e4b9df12f135cbcd82ea8e3e6870e8ec4b4164a718563e90b720d9 EBUILD libvirt-python-9.3.0.ebuild 1454 BLAKE2B 2462ab8e926d6bf4623dce63dee905584fe5bf1b3718a95724a58477b25e3bbaa188220257033a980b4ba18c99586de37c31284ddae19063803339e03dc5bde2 SHA512 6b38f2d60392cf211c50224999a4be1e8dfebed7e6fb67bbfa7cfc985f9ec8881804de2f51fcb4e3808b08f1e731193c38900458681096cded7c6c573eb84518 EBUILD libvirt-python-9.4.0.ebuild 1454 BLAKE2B 2462ab8e926d6bf4623dce63dee905584fe5bf1b3718a95724a58477b25e3bbaa188220257033a980b4ba18c99586de37c31284ddae19063803339e03dc5bde2 SHA512 6b38f2d60392cf211c50224999a4be1e8dfebed7e6fb67bbfa7cfc985f9ec8881804de2f51fcb4e3808b08f1e731193c38900458681096cded7c6c573eb84518 EBUILD libvirt-python-9.5.0.ebuild 1459 BLAKE2B dfd6f665021f037636551b3b92f4b5edcefda1eca4c1507194fa72383d45d2c72545e1609006a7b17cbcfd9fe63411a0906679f324cfc1c6520af5ac79c0842e SHA512 807eddab32cccd40041a1fb18d671d3cb078704110500c804143210513bd84a35199ccd35caf61c09d600e146ef72e6f0b940f94343a58cd702b37f3828c4bee diff --git a/dev-python/libvirt-python/libvirt-python-10.0.0.ebuild b/dev-python/libvirt-python/libvirt-python-10.0.0.ebuild new file mode 100644 index 000000000000..83f8a3a26364 --- /dev/null +++ b/dev-python/libvirt-python/libvirt-python-10.0.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..12} ) +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 +} |