From cef99cbae6d6ac85d3c29173e7573b5f567b80b7 Mon Sep 17 00:00:00 2001 From: Hans de Graaff Date: Wed, 14 Jul 2021 08:01:55 +0200 Subject: dev-util/cucumber-gherkin: fix tests Ensure the correct cucumber-messages slot is used. Closes: https://bugs.gentoo.org/802018 Package-Manager: Portage-3.0.20, Repoman-3.0.2 Signed-off-by: Hans de Graaff --- dev-util/cucumber-gherkin/cucumber-gherkin-18.1.1.ebuild | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'dev-util') diff --git a/dev-util/cucumber-gherkin/cucumber-gherkin-18.1.1.ebuild b/dev-util/cucumber-gherkin/cucumber-gherkin-18.1.1.ebuild index 81370318e012..d4c99398b0f7 100644 --- a/dev-util/cucumber-gherkin/cucumber-gherkin-18.1.1.ebuild +++ b/dev-util/cucumber-gherkin/cucumber-gherkin-18.1.1.ebuild @@ -27,3 +27,8 @@ SLOT="$(ver_cut 1)" IUSE="" ruby_add_rdepend ">=dev-util/cucumber-messages-15.0.0:15" + +all_ruby_prepare() { + sed -i -e '1igem "cucumber-messages", "~> 15.0"' spec/gherkin/*_spec.rb spec/gherkin/*/*_spec.rb || die + sed -i -e '5igem "cucumber-messages", "~> 15.0"' bin/gherkin || die +} -- cgit v1.2.3-65-gdbad