mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 06:48:18 -07:00
app-text/highlight: fix USE=verify-sig w/ tests
The tests tarball is fished out of VCS so isn't signed. Only try to verify the source tarball. Closes: https://bugs.gentoo.org/930364 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -53,6 +53,15 @@ myhlopts=(
|
||||
examples_dir="${EPREFIX}/usr/share/doc/${PF}/extras"
|
||||
)
|
||||
|
||||
src_unpack() {
|
||||
if use verify-sig ; then
|
||||
# Needed because the testsuite tarball is unsigned
|
||||
verify-sig_verify_detached "${DISTDIR}"/${P}.tar.bz2{,.asc}
|
||||
fi
|
||||
|
||||
default
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
@@ -61,6 +61,16 @@ myhlopts=(
|
||||
examples_dir="${EPREFIX}/usr/share/doc/${PF}/extras"
|
||||
)
|
||||
|
||||
|
||||
src_unpack() {
|
||||
if use verify-sig ; then
|
||||
# Needed because the testsuite tarball is unsigned
|
||||
verify-sig_verify_detached "${DISTDIR}"/${P}.tar.bz2{,.asc}
|
||||
fi
|
||||
|
||||
default
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
|
||||
Reference in New Issue
Block a user