Diff mime-types-1.25.1 with a mime-types-2.99.2

/usr/portage/dev-ruby/mime-types/mime-types-2.99.2.ebuild 2019-10-11 19:11:00.000000000 +0300
1
# Copyright 1999-2018 Gentoo Foundation
1
# Copyright 1999-2019 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4 4
EAPI=5
5 5

  
6
USE_RUBY="ruby22 ruby23 ruby24 ruby25"
6
USE_RUBY="ruby23 ruby24 ruby25 ruby26"
7 7

  
8 8
RUBY_FAKEGEM_RECIPE_DOC="rdoc"
9
RUBY_FAKEGEM_EXTRADOC="History.rdoc README.rdoc"
9
RUBY_FAKEGEM_EXTRADOC="History.rdoc History-Types.rdoc README.rdoc"
10

  
11
RUBY_FAKEGEM_EXTRAINSTALL="data"
10 12

  
11 13
inherit ruby-fakegem
12 14

  
13 15
DESCRIPTION="Provides a mailcap-like MIME Content-Type lookup for Ruby"
14
HOMEPAGE="https://github.com/halostatue/mime-types/"
16
HOMEPAGE="https://github.com/mime-types/ruby-mime-types"
15 17

  
16 18
LICENSE="MIT Artistic GPL-2"
17
SLOT="0"
18
KEYWORDS="~alpha amd64 ~arm hppa ~ia64 ppc ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
19
SLOT="2"
20
KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
19 21
IUSE=""
20 22

  
21 23
ruby_add_bdepend "test? ( dev-ruby/minitest:5 )"
22 24

  
23 25
all_ruby_prepare() {
24
	# Handle minitest ourselves to avoid bundler dependency.
25
	sed -i -e '2igem "minitest", "~> 5.0"; require "minitest/autorun"' test/test_*.rb || die
26
	# Avoid unneeded dependency on minitest-focus.
27
	sed -i -e '/focus/ s:^:#:' \
28
		-e 's:fivemat/::' \
29
		test/minitest_helper.rb || die
26 30
}
27 31

  
28 32
each_ruby_test() {
Thank you!