From: Hans de Graaff Date: Mon, 6 May 2019 05:45:16 +0000 (+0200) Subject: dev-ruby/marcel: add ruby26 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=94bd5f983f9e242974528d9c46ff816a722197b0;p=gentoo.git dev-ruby/marcel: add ruby26 Signed-off-by: Hans de Graaff Package-Manager: Portage-2.3.62, Repoman-2.3.11 --- diff --git a/dev-ruby/marcel/marcel-0.3.3-r1.ebuild b/dev-ruby/marcel/marcel-0.3.3-r1.ebuild index 74d267954bc5..40fae2ec8e91 100644 --- a/dev-ruby/marcel/marcel-0.3.3-r1.ebuild +++ b/dev-ruby/marcel/marcel-0.3.3-r1.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=6 -USE_RUBY="ruby23 ruby24 ruby25" +USE_RUBY="ruby23 ruby24 ruby25 ruby26" RUBY_FAKEGEM_RECIPE_DOC="rdoc" RUBY_FAKEGEM_EXTRADOC="README.md" @@ -24,4 +24,9 @@ ruby_add_rdepend ">=dev-ruby/mimemagic-0.3.2:0" all_ruby_prepare() { sed -i -e '2irequire "pathname"' test/test_helper.rb || die + + # Account for changes in shared-mime-info 1.10 + mkdir test/fixtures/{magic,name}/font || die + mv test/fixtures/magic/application/x-font-ttf.ttf test/fixtures/magic/font/ttf.ttf || die + mv test/fixtures/name/application/x-font-ttf.ttf test/fixtures/name/font/ttf.ttf || die }