diff options
author | Ionen Wolkens <ionen@gentoo.org> | 2023-08-17 14:45:33 -0400 |
---|---|---|
committer | Ionen Wolkens <ionen@gentoo.org> | 2023-08-18 10:33:23 -0400 |
commit | 221b558b58731c2632130a170211b4c097103cd3 (patch) | |
tree | d742bd7151346aea93a301821e1c320f780a31b7 /www-client | |
parent | sec-keys/openpgp-keys-qutebrowser: new package, add 20230816 (diff) | |
download | gentoo-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.ebuild | 14 |
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 |