summaryrefslogtreecommitdiff
path: root/dev-python/libvirt-python
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-01-22 20:28:19 +0000
committerV3n3RiX <venerix@redcorelinux.org>2021-01-22 20:28:19 +0000
commitabaa75b10f899ada8dd05b23cc03205064394bc6 (patch)
treeeca3dd248b73b92013cba00a0fcc1edf2696e19a /dev-python/libvirt-python
parent24fd814c326e282c4321965c31f341dad77e270d (diff)
gentoo resync : 22.01.2021
Diffstat (limited to 'dev-python/libvirt-python')
-rw-r--r--dev-python/libvirt-python/Manifest4
-rw-r--r--dev-python/libvirt-python/libvirt-python-7.0.0.ebuild48
-rw-r--r--dev-python/libvirt-python/libvirt-python-9999.ebuild21
3 files changed, 62 insertions, 11 deletions
diff --git a/dev-python/libvirt-python/Manifest b/dev-python/libvirt-python/Manifest
index 5724c89fdaff..2c083d77170a 100644
--- a/dev-python/libvirt-python/Manifest
+++ b/dev-python/libvirt-python/Manifest
@@ -1,8 +1,10 @@
DIST libvirt-python-6.10.0.tar.gz 212567 BLAKE2B 0ba583646c16c8e298a4cde789dca9c0f4920a3ac7e241134e251e5d0fc426a37c297870571acc673de2ce14c3de5bb7069316805581ce33cc044090930dd599 SHA512 bc9d65fa82cf021c0929c8f2760a31de606d52c860d15d1961438fd763131f05fa3f4e12f0030b45ad12c3ae40d84b21167091ae810376487b7aae11c2e3ab2b
DIST libvirt-python-6.8.0.tar.gz 210034 BLAKE2B 667c2713bf9c0936f444c5b621f5af4e5273deda31496bc01c8834286a0ec0eb1c056006549cc5d129ef597264f8582acee62db3a2fd375daa4ebbceacb8fcc1 SHA512 6d2f82fafd414047cff16f0ad655fefd69c8c0da04be07d27da44e3ab17dd03e4e4ff102be1c30948c361268f57ea312978f9198fd128bfb54a3c1a07150e6af
DIST libvirt-python-6.9.0.tar.gz 210366 BLAKE2B 384d8ce4d6c91f7185484e3ad35572a3245712c59f416d0f117ce7936d1e6234458c3454a8d773ee287de4d529eae7229e3dd67111df7955369cd36b028be1cc SHA512 d15a80de5418586f769101525464efc88154c9038f59c805030a60b4b711f11f15531f4e1fd01575e1646397342fefa38fca9371e8146157b61f607b3c286fe1
+DIST libvirt-python-7.0.0.tar.gz 214945 BLAKE2B 9ab616fa6336a284dbb1dcebf0be6a06d9ca0c41e83ca403cb335c61ff217e1e9f0343fc915e20e16f3e59adc5c7b1c51e493143c45cd50f48f627ebe2e9c211 SHA512 c56bc53da06a81d330389f684df204d0ae8edb28127eccd81ac551342a0965341d20832f6e2b044e02e9217320349f6f5cb36098c5cc46508a4026fb1e59c4ac
EBUILD libvirt-python-6.10.0.ebuild 996 BLAKE2B d69bcd8d363de78b125f2dc20d521451b21435016d6ee433e981aa79e9c35801927234dfe720640af8aead5793284625399aede929a581a2e5d5baa5065203dd SHA512 30fae0e3cf62d452fa855231b79122f393a6e47f4a1e0161f14cee8679345b4ccf9ac0e39efca968a1c724be181a9170c4cc31d0a2db8f77d4e48da6bfe38e48
EBUILD libvirt-python-6.8.0.ebuild 994 BLAKE2B 59cb3b545706226b8fb90dd7e76d4bca7893cd8b6593a0f51578f4ad92185eca39c26eea80797fd2b20428a3629db8db3a94b735cc1c5b70cf99f3db7bfae598 SHA512 12540c4bee991e3e097d02700aab5105cf4bd23a69eaf34700c38b3217f11d12a69cd6e0401642a7d1564ee8e3f89bb6b7e23d542c00a4d89e54d58945826e1e
EBUILD libvirt-python-6.9.0.ebuild 996 BLAKE2B d69bcd8d363de78b125f2dc20d521451b21435016d6ee433e981aa79e9c35801927234dfe720640af8aead5793284625399aede929a581a2e5d5baa5065203dd SHA512 30fae0e3cf62d452fa855231b79122f393a6e47f4a1e0161f14cee8679345b4ccf9ac0e39efca968a1c724be181a9170c4cc31d0a2db8f77d4e48da6bfe38e48
-EBUILD libvirt-python-9999.ebuild 1000 BLAKE2B 77f19380e25a04c3e5fed8dbbc439a75afea067281b4bdc47e99776a02592749e80067d23f72ea6b6ae368a739c306da07a4b56b0824914e8cd167e1175b3ad8 SHA512 566e17cca7b587b120cdd42c9a193fab9676d52e3b285227bf08b95331e106a27c28bcf58ef7d79a1032f6e85f01cfbb41cfd6058f634170cf37cecd40774478
+EBUILD libvirt-python-7.0.0.ebuild 994 BLAKE2B 90d2e376d09a0d1e222e98e1f408abe8d8b5c9d502aa487ebe0b67470cd2bfa8193ed58f5682ee2f2bca3107a77d9ac8b0977587e4eb9f41e3a23c1cb00be03e SHA512 092e94e7441e52f70c972c57403d3072eaee6dc40f9b4f3e00915849d34248c0c313e53ebf648ea8a2f6c7879ac14d7f784b69e70292a8dc459f155db293448c
+EBUILD libvirt-python-9999.ebuild 994 BLAKE2B 90d2e376d09a0d1e222e98e1f408abe8d8b5c9d502aa487ebe0b67470cd2bfa8193ed58f5682ee2f2bca3107a77d9ac8b0977587e4eb9f41e3a23c1cb00be03e SHA512 092e94e7441e52f70c972c57403d3072eaee6dc40f9b4f3e00915849d34248c0c313e53ebf648ea8a2f6c7879ac14d7f784b69e70292a8dc459f155db293448c
MISC metadata.xml 518 BLAKE2B ac9993d622790a5cec52f737de0494b7ac6a5a6e17e66ccad8e4862257ba8926d688fa4b6e68cd96ea5a4f2d35825204219fd79bc5917d05a6f39787f80bc1df SHA512 243b815c70c65046d672bc2b4a05d67f61c6e70dc6677ef7e8b76783979d801793f8d864a33ed9c64072c4fa30786d4455c82c82fa37933dac0b0efac2264083
diff --git a/dev-python/libvirt-python/libvirt-python-7.0.0.ebuild b/dev-python/libvirt-python/libvirt-python-7.0.0.ebuild
new file mode 100644
index 000000000000..cb778ad7f1cb
--- /dev/null
+++ b/dev-python/libvirt-python/libvirt-python-7.0.0.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7..9} )
+
+DISTUTILS_USE_SETUPTOOLS=no
+
+MY_P="${P/_rc/-rc}"
+
+inherit distutils-r1
+
+if [[ ${PV} = *9999* ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://libvirt.org/git/libvirt-python.git"
+ RDEPEND="app-emulation/libvirt:=[-python(-)]"
+else
+ SRC_URI="https://libvirt.org/sources/python/${MY_P}.tar.gz"
+ KEYWORDS="~amd64 ~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}]
+ dev-python/nose[${PYTHON_USEDEP}]
+ )
+"
+
+distutils_enable_tests setup.py
+
+python_install_all() {
+ if use examples; then
+ dodoc -r examples
+ docompress -x /usr/share/doc/${PF}/examples
+ fi
+ distutils-r1_python_install_all
+}
diff --git a/dev-python/libvirt-python/libvirt-python-9999.ebuild b/dev-python/libvirt-python/libvirt-python-9999.ebuild
index a8d6ae5dc1b6..cb778ad7f1cb 100644
--- a/dev-python/libvirt-python/libvirt-python-9999.ebuild
+++ b/dev-python/libvirt-python/libvirt-python-9999.ebuild
@@ -1,19 +1,19 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{7..9} )
+DISTUTILS_USE_SETUPTOOLS=no
+
MY_P="${P/_rc/-rc}"
inherit distutils-r1
if [[ ${PV} = *9999* ]]; then
inherit git-r3
- EGIT_REPO_URI="https://gitlab.com/libvirt/libvirt-python.git"
- SRC_URI=""
- KEYWORDS=""
+ EGIT_REPO_URI="https://libvirt.org/git/libvirt-python.git"
RDEPEND="app-emulation/libvirt:=[-python(-)]"
else
SRC_URI="https://libvirt.org/sources/python/${MY_P}.tar.gz"
@@ -29,14 +29,15 @@ SLOT="0"
IUSE="examples test"
RESTRICT="!test? ( test )"
-DEPEND="${RDEPEND}
+BDEPEND="
virtual/pkgconfig
- test? ( dev-python/lxml[${PYTHON_USEDEP}]
- dev-python/nose[${PYTHON_USEDEP}] )"
+ test? (
+ dev-python/lxml[${PYTHON_USEDEP}]
+ dev-python/nose[${PYTHON_USEDEP}]
+ )
+"
-python_test() {
- esetup.py test
-}
+distutils_enable_tests setup.py
python_install_all() {
if use examples; then