summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2021-07-14 08:01:55 +0200
committerHans de Graaff <graaff@gentoo.org>2021-07-14 08:26:10 +0200
commitcef99cbae6d6ac85d3c29173e7573b5f567b80b7 (patch)
treeafbfd4fc06eecbf7ef089887e225310d3bdca8af /dev-util/cucumber-gherkin
parentx11-terms/kitty: add missing dep for 0.21.2 (diff)
downloadgentoo-cef99cbae6d6ac85d3c29173e7573b5f567b80b7.tar.gz
gentoo-cef99cbae6d6ac85d3c29173e7573b5f567b80b7.tar.bz2
gentoo-cef99cbae6d6ac85d3c29173e7573b5f567b80b7.zip
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 <graaff@gentoo.org>
Diffstat (limited to 'dev-util/cucumber-gherkin')
-rw-r--r--dev-util/cucumber-gherkin/cucumber-gherkin-18.1.1.ebuild5
1 files changed, 5 insertions, 0 deletions
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
+}