mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-python/libvirt-python: Sync live ebuild.
Closes: https://github.com/gentoo/gentoo/pull/20774/ Signed-off-by: Jonathan Davies <jpds@protonmail.com> Signed-off-by: Matthias Maier <tamiko@gentoo.org>
This commit is contained in:
committed by
Matthias Maier
parent
88ffed546c
commit
643ddbd73b
@@ -9,14 +9,15 @@ DISTUTILS_USE_SETUPTOOLS=no
|
||||
|
||||
MY_P="${P/_rc/-rc}"
|
||||
|
||||
inherit distutils-r1
|
||||
inherit distutils-r1 verify-sig
|
||||
|
||||
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"
|
||||
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 ~arm64 ~ppc64 ~x86"
|
||||
RDEPEND="app-emulation/libvirt:0/${PV}"
|
||||
fi
|
||||
@@ -26,6 +27,7 @@ DESCRIPTION="libvirt Python bindings"
|
||||
HOMEPAGE="https://www.libvirt.org"
|
||||
LICENSE="LGPL-2"
|
||||
SLOT="0"
|
||||
VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/libvirt.org.asc
|
||||
IUSE="examples test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
@@ -35,6 +37,7 @@ BDEPEND="
|
||||
dev-python/lxml[${PYTHON_USEDEP}]
|
||||
dev-python/nose[${PYTHON_USEDEP}]
|
||||
)
|
||||
verify-sig? ( app-crypt/openpgp-keys-libvirt )
|
||||
"
|
||||
|
||||
distutils_enable_tests setup.py
|
||||
|
||||
Reference in New Issue
Block a user