dev-ruby/marcel: add ruby26
authorHans de Graaff <graaff@gentoo.org>
Mon, 6 May 2019 05:45:16 +0000 (07:45 +0200)
committerHans de Graaff <graaff@gentoo.org>
Mon, 6 May 2019 05:53:42 +0000 (07:53 +0200)
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Package-Manager: Portage-2.3.62, Repoman-2.3.11

dev-ruby/marcel/marcel-0.3.3-r1.ebuild

index 74d267954bc51953a4a2f6fdbb559051babb8077..40fae2ec8e91d1411c31a7183a9081a9764652f8 100644 (file)
@@ -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
 }