dev-ruby/letter_opener: avoid dependency on browser
authorHans de Graaff <graaff@gentoo.org>
Thu, 21 May 2020 06:18:46 +0000 (08:18 +0200)
committerHans de Graaff <graaff@gentoo.org>
Sat, 23 May 2020 05:27:54 +0000 (07:27 +0200)
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>
dev-ruby/letter_opener/letter_opener-1.7.0.ebuild

index c305ef3c816ace9999a4dd5a5dae82fbfb986303..bb732fe8c1643723dfb781e84a40f77f7179501d 100644 (file)
@@ -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
 }