diff options
author | Hans de Graaff <graaff@gentoo.org> | 2022-12-30 16:24:40 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2022-12-30 16:25:24 +0100 |
commit | c95a45493bdfa755439ea1610e102897bc13a420 (patch) | |
tree | 801119f5f0886bf2274690d72f737cd2b62ace25 /dev-ruby | |
parent | www-apps/prowlarr: drop 0.4.9.2083, 0.4.10.2111, 0.4.11.2143 (diff) | |
download | gentoo-c95a45493bdfa755439ea1610e102897bc13a420.tar.gz gentoo-c95a45493bdfa755439ea1610e102897bc13a420.tar.bz2 gentoo-c95a45493bdfa755439ea1610e102897bc13a420.zip |
dev-ruby/ruby-feedparser: fix tests
Closes: https://bugs.gentoo.org/888757
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby')
-rw-r--r-- | dev-ruby/ruby-feedparser/ruby-feedparser-0.10.0.ebuild | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/dev-ruby/ruby-feedparser/ruby-feedparser-0.10.0.ebuild b/dev-ruby/ruby-feedparser/ruby-feedparser-0.10.0.ebuild index 8b34225bd149..7a0c43081796 100644 --- a/dev-ruby/ruby-feedparser/ruby-feedparser-0.10.0.ebuild +++ b/dev-ruby/ruby-feedparser/ruby-feedparser-0.10.0.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=8 -USE_RUBY="ruby26 ruby27 ruby30 ruby31" +USE_RUBY="ruby27 ruby30 ruby31" RUBY_FAKEGEM_EXTRADOC="README" @@ -24,7 +24,7 @@ IUSE="" ruby_add_rdepend "dev-ruby/magic" ruby_add_bdepend "dev-ruby/magic - test? ( dev-ruby/mocha )" + test? ( dev-ruby/mocha:1.0 )" all_ruby_prepare() { # Extract gemspec source from Rakefile @@ -32,6 +32,7 @@ all_ruby_prepare() { sed -i -e 's/PKG_NAME/"'${PN}'"/' \ -e 's/PKG_VERSION/"'${PV}'"/' \ -e '/s.files/d' ${RUBY_FAKEGEM_GEMSPEC} || die + sed -i -e '2igem "mocha", "<2"' test/tc_sgml_parser.rb || die } each_ruby_prepare() { |