Diff mimemagic-0.3.10-r1 with a mimemagic-0.4.3-r1
/usr/portage/dev-ruby/mimemagic/mimemagic-0.4.3-r1.ebuild 2023-10-09 14:52:30.444368374 +0300 | ||
---|---|---|
1 | 1 |
# Copyright 1999-2023 Gentoo Authors |
2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
3 | 3 | |
4 |
EAPI=8 |
|
5 |
USE_RUBY="ruby26 ruby27 ruby30 ruby31 ruby32" |
|
4 |
EAPI=7 |
|
5 |
USE_RUBY="ruby27 ruby30 ruby31 ruby32" |
|
6 | 6 | |
7 | 7 |
RUBY_FAKEGEM_EXTRADOC="README.md" |
8 | 8 | |
... | ... | |
15 | 15 |
SRC_URI="https://github.com/mimemagicrb/mimemagic/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
16 | 16 | |
17 | 17 |
LICENSE="MIT" |
18 |
SLOT="0" |
|
18 |
SLOT="$(ver_cut 1-2)" |
|
19 | 19 |
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" |
20 | 20 |
IUSE="" |
21 | 21 | |
... | ... | |
35 | 35 |
sed -i -e 's/git ls-files/find * -print/' ${RUBY_FAKEGEM_GEMSPEC} || die |
36 | 36 |
} |
37 | 37 | |
38 |
each_ruby_test() { |
|
39 |
${RUBY} -Ilib:.:test -e 'Dir["test/**/*_test.rb"].each {|f| require f}' || die |
|
40 |
} |
|
41 | ||
38 | 42 |
each_ruby_install() { |
39 | 43 |
each_fakegem_install |
40 | 44 |
ruby_fakegem_extensions_installed |