From 94bd5f983f9e242974528d9c46ff816a722197b0 Mon Sep 17 00:00:00 2001 From: Hans de Graaff Date: Mon, 6 May 2019 07:45:16 +0200 Subject: [PATCH] dev-ruby/marcel: add ruby26 Signed-off-by: Hans de Graaff Package-Manager: Portage-2.3.62, Repoman-2.3.11 --- dev-ruby/marcel/marcel-0.3.3-r1.ebuild | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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 } -- 2.26.2