diff options
author | Hans de Graaff <graaff@gentoo.org> | 2020-05-21 08:18:46 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2020-05-23 07:27:54 +0200 |
commit | ea0297d525f719d0c62ba96beb8b537fe10c22ac (patch) | |
tree | f97f8fd17e27f9b4f86398680e9816dce53f2aea /dev-ruby/letter_opener | |
parent | dev-ruby/fakeweb: avoid network tests (diff) | |
download | gentoo-ea0297d525f719d0c62ba96beb8b537fe10c22ac.tar.gz gentoo-ea0297d525f719d0c62ba96beb8b537fe10c22ac.tar.bz2 gentoo-ea0297d525f719d0c62ba96beb8b537fe10c22ac.zip |
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 <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/letter_opener')
-rw-r--r-- | dev-ruby/letter_opener/letter_opener-1.7.0.ebuild | 5 |
1 files changed, 4 insertions, 1 deletions
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 } |