commit:     f5c7001d1209651a7ef73a11df655d0c4f95763c
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 19 05:29:55 2026 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Jan 19 05:29:55 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f5c7001d

app-editors/nano: wire up verify-sig

Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-editors/nano/Manifest        |  1 +
 app-editors/nano/nano-8.7.ebuild | 13 ++++++++++---
 2 files changed, 11 insertions(+), 3 deletions(-)

diff --git a/app-editors/nano/Manifest b/app-editors/nano/Manifest
index 949c926f1817..f4655fa1ae6e 100644
--- a/app-editors/nano/Manifest
+++ b/app-editors/nano/Manifest
@@ -1,2 +1,3 @@
 DIST nano-8.6.tar.xz 1707688 BLAKE2B 
f7e17085d237ec3512b21bb732c2ebcf71a96991344acd0efc3592a650be856aed3ad958df59e27f332f750ac5e46ba7ed06b23093c8b68c4bf0a94aeecd2af0
 SHA512 
f783c59d2fb47e121c63779c4ce8c6d5e90c31184ca28449c6c9270933d02e19ee60d29b6c9a1122fe59de1132d56d9e402cc63fc88f847cea2b4af6302524ea
 DIST nano-8.7.tar.xz 1710220 BLAKE2B 
4a7a67f854969960c96d1e3b2c7184f9d9c9fb305a14ff9764a39a8103ca5f5878f9e344b0dc522e27643f93e57582881ea8e664ac9c6eaa99c3b2d9632febdc
 SHA512 
0aac5b1708b05a882cba57f718154e42a6cd8a57f1e1c13c76598fe85645c49703f0c17d2e650da90348eb60c2bdbe349925415b6511c27e5b1bea77d107ab37
+DIST nano-8.7.tar.xz.asc 833 BLAKE2B 
c5c12598bfa787ddcfcf48a0b6685f98f2577771d64eb7bec16e68767cfcbb928334bd4c729e7dd4fc919a49bf6a7f5ba145e0cb16b9af5b3c15d63c19b76ab6
 SHA512 
b525ae9bdd69eae326c364ffd76a03592f4012132fdbff061ec804741857f6cb7428ffa4ebb65ab584a3eb1ce310bf9865d4ad2f73b11d2b156b55bd2ade23c1

diff --git a/app-editors/nano/nano-8.7.ebuild b/app-editors/nano/nano-8.7.ebuild
index ab2720ef44ce..dca1b2ae6e17 100644
--- a/app-editors/nano/nano-8.7.ebuild
+++ b/app-editors/nano/nano-8.7.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2025 Gentoo Authors
+# Copyright 1999-2026 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -8,7 +8,13 @@ if [[ ${PV} == 9999 ]] ; then
        inherit autotools git-r3
 else
        MY_P="${PN}-${PV/_}"
-       SRC_URI="https://www.nano-editor.org/dist/v${PV:0:1}/${MY_P}.tar.xz";
+       VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/bennoschulenberg.asc
+       inherit verify-sig
+
+       SRC_URI="
+               https://www.nano-editor.org/dist/v${PV:0:1}/${MY_P}.tar.xz
+               verify-sig? ( 
https://www.nano-editor.org/dist/v${PV:0:1}/${MY_P}.tar.xz.asc )
+       "
        KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 ~sparc x86 ~arm64-macos ~x64-macos ~x64-solaris"
 fi
 
@@ -26,8 +32,9 @@ RDEPEND="
 "
 DEPEND="${RDEPEND}"
 BDEPEND="
-       nls? ( sys-devel/gettext )
        virtual/pkgconfig
+       nls? ( sys-devel/gettext )
+       verify-sig? ( sec-keys/openpgp-keys-bennoschulenberg )
 "
 
 REQUIRED_USE="

Reply via email to