From e4a2fe00748cb0edbf8c92f68ed8a7c733f2ea96 Mon Sep 17 00:00:00 2001 From: Alfred Wingate Date: Tue, 28 Jul 2026 03:21:23 +0300 Subject: [PATCH] dev-ruby/simple-rss: skip test that may fail under a network sandbox Signed-off-by: Alfred Wingate Part-of: https://codeberg.org/gentoo/gentoo/pulls/1553 Signed-off-by: Sam James --- dev-ruby/simple-rss/simple-rss-2.1.0.ebuild | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/dev-ruby/simple-rss/simple-rss-2.1.0.ebuild b/dev-ruby/simple-rss/simple-rss-2.1.0.ebuild index 55fe8e0bdfd98..0dca9f11f03f9 100644 --- a/dev-ruby/simple-rss/simple-rss-2.1.0.ebuild +++ b/dev-ruby/simple-rss/simple-rss-2.1.0.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 @@ -32,4 +32,8 @@ all_ruby_prepare() { sed -i -e '/@\(media_rss\|rss20_utf8\)/ s:^:#:' \ -e '/test_rss_utf8/aomit "missing data"' \ test/base/base_test.rb || die + + # Network sandbox + sed -e '/def test_fetch_raises_on_invalid_host/,/^ end/ s:^:#:' \ + -i test/base/fetch_test.rb || die }