summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Davies <jpds@protonmail.com>2021-05-11 18:27:04 +0100
committerMatthias Maier <tamiko@gentoo.org>2021-05-16 23:53:49 -0500
commit643ddbd73b9f139f02f0e32a3967c6244eb396d8 (patch)
tree93cbf961e8c89c0570e023167af109f4ed54c0ea /dev-python/libvirt-python
parentapp-emulation/libvirt: Sync live ebuild. (diff)
downloadgentoo-643ddbd73b9f139f02f0e32a3967c6244eb396d8.tar.gz
gentoo-643ddbd73b9f139f02f0e32a3967c6244eb396d8.tar.bz2
gentoo-643ddbd73b9f139f02f0e32a3967c6244eb396d8.zip
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>
Diffstat (limited to 'dev-python/libvirt-python')
-rw-r--r--dev-python/libvirt-python/libvirt-python-9999.ebuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/dev-python/libvirt-python/libvirt-python-9999.ebuild b/dev-python/libvirt-python/libvirt-python-9999.ebuild
index cb778ad7f1cb..eb8b2abcbc09 100644
--- a/dev-python/libvirt-python/libvirt-python-9999.ebuild
+++ b/dev-python/libvirt-python/libvirt-python-9999.ebuild
@@ -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