summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2023-08-17 14:45:33 -0400
committerIonen Wolkens <ionen@gentoo.org>2023-08-18 10:33:23 -0400
commit221b558b58731c2632130a170211b4c097103cd3 (patch)
treed742bd7151346aea93a301821e1c320f780a31b7 /www-client
parentsec-keys/openpgp-keys-qutebrowser: new package, add 20230816 (diff)
downloadgentoo-221b558b58731c2632130a170211b4c097103cd3.tar.gz
gentoo-221b558b58731c2632130a170211b4c097103cd3.tar.bz2
gentoo-221b558b58731c2632130a170211b4c097103cd3.zip
www-client/qutebrowser: verify-sig support
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'www-client')
-rw-r--r--www-client/qutebrowser/qutebrowser-9999.ebuild14
1 files changed, 12 insertions, 2 deletions
diff --git a/www-client/qutebrowser/qutebrowser-9999.ebuild b/www-client/qutebrowser/qutebrowser-9999.ebuild
index b9e02809fe3f..1176435dd59a 100644
--- a/www-client/qutebrowser/qutebrowser-9999.ebuild
+++ b/www-client/qutebrowser/qutebrowser-9999.ebuild
@@ -15,7 +15,12 @@ if [[ ${PV} == 9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/qutebrowser/qutebrowser.git"
else
- SRC_URI="https://github.com/qutebrowser/qutebrowser/releases/download/v${PV}/${P}.tar.gz"
+ inherit verify-sig
+ SRC_URI="
+ https://github.com/qutebrowser/qutebrowser/releases/download/v${PV}/${P}.tar.gz
+ verify-sig? ( https://github.com/qutebrowser/qutebrowser/releases/download/v${PV}/${P}.tar.gz.asc )
+ "
+ VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}/usr/share/openpgp-keys/qutebrowser.gpg"
KEYWORDS="~amd64 ~arm64 ~x86"
fi
@@ -70,7 +75,12 @@ BDEPEND="
)
')
"
-[[ ${PV} == 9999 ]] && BDEPEND+=" app-text/asciidoc"
+
+if [[ ${PV} == 9999 ]]; then
+ BDEPEND+=" app-text/asciidoc"
+else
+ BDEPEND+=" verify-sig? ( sec-keys/openpgp-keys-qutebrowser )"
+fi
distutils_enable_tests pytest