commit: 50b5ef985fbf6d73e8b8d5743901d73d75da4e5e Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> AuthorDate: Fri Apr 22 07:53:04 2022 +0000 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> CommitDate: Sat Apr 23 05:14:52 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=50b5ef98
dev-ruby/excon: avoid dependency on eventmachine for tests The test servers using eventmachine were using the eselected ruby version rather than the version being tested, hiding their dependency on eventmachine. All tests and specs using eventmachine are now ignored. Closes: https://bugs.gentoo.org/838946 Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> dev-ruby/excon/excon-0.92.2.ebuild | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/dev-ruby/excon/excon-0.92.2.ebuild b/dev-ruby/excon/excon-0.92.2.ebuild index 0333f8aa7a9c..2f63356225e4 100644 --- a/dev-ruby/excon/excon-0.92.2.ebuild +++ b/dev-ruby/excon/excon-0.92.2.ebuild @@ -36,4 +36,10 @@ all_ruby_prepare() { # test that need network rm -f spec/excon/test/server_spec.rb || die + + # tests that depend on eventmachine which is broken and no longer maintained + rm -f tests/{bad,error,pipeline,response,request}_tests.rb \ + tests/{batch-requests,complete_responses}.rb \ + tests/middlewares/{decompress,mock}_tests.rb || die + rm -f spec/requests/eof_requests_spec.rb spec/excon/error_spec.rb || die }
