summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2024-11-15 14:28:27 +0100
committerHans de Graaff <graaff@gentoo.org>2024-11-15 14:29:21 +0100
commite392ba76b9b35167ef2308df07da00c7a897a2c9 (patch)
tree4fbaffdf4f2e92e2a115ab4da74338df03750b43
parentdev-python/uv: Remove obsolete sed (diff)
downloadgentoo-e392ba76b9b35167ef2308df07da00c7a897a2c9.tar.gz
gentoo-e392ba76b9b35167ef2308df07da00c7a897a2c9.tar.bz2
gentoo-e392ba76b9b35167ef2308df07da00c7a897a2c9.zip
dev-ruby/ffaker: avoid test requiring network access
Closes: https://bugs.gentoo.org/943548 Signed-off-by: Hans de Graaff <graaff@gentoo.org>
-rw-r--r--dev-ruby/ffaker/ffaker-2.23.0.ebuild3
1 files changed, 2 insertions, 1 deletions
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
}