dev-util/cucumber: relax nokogiri dependency
authorHans de Graaff <graaff@gentoo.org>
Sat, 4 May 2019 07:01:23 +0000 (09:01 +0200)
committerHans de Graaff <graaff@gentoo.org>
Sat, 4 May 2019 07:47:19 +0000 (09:47 +0200)
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Package-Manager: Portage-2.3.62, Repoman-2.3.11

dev-util/cucumber/cucumber-3.1.2.ebuild

index 04eb7d54a672b8e2f0a5a2ac8e41d7ed5f9b41f1..c06757990ded6d2ce1d595df7ae81684d3af6ff1 100644 (file)
@@ -49,7 +49,9 @@ ruby_add_rdepend "
 all_ruby_prepare() {
        # Remove development dependencies from the gemspec that we don't
        # need or can't satisfy.
-       sed -i -e '/\(coveralls\|spork\|simplecov\|bcat\|kramdown\|yard\|capybara\|octokit\|rack-test\|ramaze\|rubocop\|sinatra\|webrat\|mime-types\|rubyzip\)/d' ${RUBY_FAKEGEM_GEMSPEC} || die
+       sed -e '/\(coveralls\|spork\|simplecov\|bcat\|kramdown\|yard\|capybara\|octokit\|rack-test\|ramaze\|rubocop\|sinatra\|webrat\|mime-types\|rubyzip\)/d' \
+               -e '/nokogiri/ s/1.8.1/1.8/' \
+               -i ${RUBY_FAKEGEM_GEMSPEC} || die
 
        # Avoid dependency on unpackaged cucumber-pro
        sed -i -e '/cucumber-pro/ s:^:#:' Gemfile || die