sys-apps/sed: Sync with Gentoo

It's from Gentoo commit 649663f64ecf8c578e88125841fcd1b2ca9f6bdc.

Signed-off-by: Flatcar Buildbot <buildbot@flatcar-linux.org>
This commit is contained in:
Flatcar Buildbot 2025-09-22 07:11:20 +00:00 committed by Krzesimir Nowak
parent bb0b4db9f5
commit 28fb46a95d
2 changed files with 6 additions and 1 deletions

View File

@ -5,6 +5,9 @@
<email>base-system@gentoo.org</email>
<name>Gentoo Base System</name>
</maintainer>
<use>
<flag name="test-full">Run expensive tests (mostly CPU intensive).</flag>
</use>
<upstream>
<remote-id type="savannah">sed</remote-id>
<remote-id type="cpe">cpe:/a:gnu:sed</remote-id>

View File

@ -14,7 +14,7 @@ SRC_URI+=" verify-sig? ( mirror://gnu/sed/${P}.tar.xz.sig )"
LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~arm64-macos"
IUSE="acl nls selinux static"
IUSE="acl nls selinux static test-full"
RDEPEND="
!static? (
@ -58,6 +58,8 @@ src_configure() {
}
src_test() {
local -x RUN_{VERY_,}EXPENSIVE_TESTS=$(usex test-full yes no)
# We don't want to automagically use Valgrind for tests.
sed -i -e 's:valgrind --error-exitcode=1:false:' init.cfg || die