commit:     9bc81decd42679287cd90f8d5b509f6b344a98e8
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 16 00:01:16 2026 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Jan 16 00:01:16 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9bc81dec

sys-apps/man-pages: port to verify-sig_uncompress_verify_unpack

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

 sys-apps/man-pages/man-pages-6.10.ebuild | 9 +++------
 sys-apps/man-pages/man-pages-9999.ebuild | 9 +++------
 2 files changed, 6 insertions(+), 12 deletions(-)

diff --git a/sys-apps/man-pages/man-pages-6.10.ebuild 
b/sys-apps/man-pages/man-pages-6.10.ebuild
index 3e45cc7f0408..218213e4d35f 100644
--- a/sys-apps/man-pages/man-pages-6.10.ebuild
+++ b/sys-apps/man-pages/man-pages-6.10.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
@@ -97,11 +97,8 @@ src_unpack() {
        fi
 
        if [[ ${PV} != *_rc* ]] && ! [[ ${MAN_PAGES_GENTOO_DIST} -eq 1 ]] && 
use verify-sig ; then
-               # Upstream sign the decompressed .tar
-               einfo "Unpacking ${P}.tar.xz ..."
-               verify-sig_verify_detached - "${DISTDIR}"/${P}.tar.sign \
-                       < <(xz -cd "${DISTDIR}"/${P}.tar.xz | tee >(tar -xf -))
-               assert "Unpack failed"
+               verify-sig_uncompress_verify_unpack "${DISTDIR}"/${P}.tar.xz \
+                       "${DISTDIR}"/${P}.tar.sign
 
                unpack man-pages-gentoo-${GENTOO_PATCH}.tar.bz2
        else

diff --git a/sys-apps/man-pages/man-pages-9999.ebuild 
b/sys-apps/man-pages/man-pages-9999.ebuild
index 386b9fcace6c..666fafdc5693 100644
--- a/sys-apps/man-pages/man-pages-9999.ebuild
+++ b/sys-apps/man-pages/man-pages-9999.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
@@ -97,11 +97,8 @@ src_unpack() {
        fi
 
        if [[ ${PV} != *_rc* ]] && ! [[ ${MAN_PAGES_GENTOO_DIST} -eq 1 ]] && 
use verify-sig ; then
-               # Upstream sign the decompressed .tar
-               einfo "Unpacking ${P}.tar.xz ..."
-               verify-sig_verify_detached - "${DISTDIR}"/${P}.tar.sign \
-                       < <(xz -cd "${DISTDIR}"/${P}.tar.xz | tee >(tar -xf -))
-               assert "Unpack failed"
+               verify-sig_uncompress_verify_unpack "${DISTDIR}"/${P}.tar.xz \
+                       "${DISTDIR}"/${P}.tar.sign
 
                unpack man-pages-gentoo-${GENTOO_PATCH}.tar.bz2
        else

Reply via email to