From ea0297d525f719d0c62ba96beb8b537fe10c22ac Mon Sep 17 00:00:00 2001 From: Hans de Graaff Date: Thu, 21 May 2020 08:18:46 +0200 Subject: [PATCH] dev-ruby/letter_opener: avoid dependency on browser Closes: https://bugs.gentoo.org/723812 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Hans de Graaff --- dev-ruby/letter_opener/letter_opener-1.7.0.ebuild | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/dev-ruby/letter_opener/letter_opener-1.7.0.ebuild b/dev-ruby/letter_opener/letter_opener-1.7.0.ebuild index c305ef3c816a..bb732fe8c164 100644 --- a/dev-ruby/letter_opener/letter_opener-1.7.0.ebuild +++ b/dev-ruby/letter_opener/letter_opener-1.7.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -27,4 +27,7 @@ ruby_add_rdepend ">=dev-ruby/launchy-2.2:0" all_ruby_prepare() { sed -i -e "/[Bb]undler/d" Rakefile spec/spec_helper.rb || die sed -i -e '4irequire "letter_opener"' spec/spec_helper.rb || die + + # Avoid tests that require some kind of browser + sed -i -e '/opens email/askip "requires installed browser"' spec/letter_opener/delivery_method_spec.rb || die } -- 2.26.2