commit:     e392ba76b9b35167ef2308df07da00c7a897a2c9
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Fri Nov 15 13:28:27 2024 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Fri Nov 15 13:29:21 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e392ba76

dev-ruby/ffaker: avoid test requiring network access

Closes: https://bugs.gentoo.org/943548
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>

 dev-ruby/ffaker/ffaker-2.23.0.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/dev-ruby/ffaker/ffaker-2.23.0.ebuild 
b/dev-ruby/ffaker/ffaker-2.23.0.ebuild
index 2146ea0edec8..0a6455d89487 100644
--- a/dev-ruby/ffaker/ffaker-2.23.0.ebuild
+++ b/dev-ruby/ffaker/ffaker-2.23.0.ebuild
@@ -23,5 +23,6 @@ all_ruby_prepare() {
        # Avoid dependency on rubocop
        sed -e '/rubocop/I s:^:#:' -i Rakefile || die
 
-       sed -i -e '/test_image_file/aomit "network"' test/test_image.rb || die
+       sed -e 
'/test_\(image_file\|file_output_with_keyword_arguments\|file_output_with_positional_arguments\|file_with_size_as_positional_argument\)/aomit
 "requires network"' \
+               -i test/test_image.rb || die
 }

Reply via email to