Сравнение mocha-2.0.2 с mocha-2.0.4
/usr/portage/dev-ruby/mocha/mocha-2.0.4.ebuild 2023-10-09 14:52:30.444368374 +0300 | ||
---|---|---|
2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
3 | 3 | |
4 | 4 |
EAPI=8 |
5 |
USE_RUBY="ruby27 ruby30 ruby31 ruby32" |
|
6 | 5 | |
6 |
USE_RUBY="ruby30 ruby31 ruby32" |
|
7 | 7 |
RUBY_FAKEGEM_TASK_TEST="test:units test:acceptance" |
8 | ||
9 | 8 |
RUBY_FAKEGEM_EXTRADOC="README.md RELEASE.md" |
10 | ||
11 | 9 |
RUBY_FAKEGEM_GEMSPEC="mocha.gemspec" |
12 | 10 | |
13 | 11 |
inherit ruby-fakegem |
... | ... | |
19 | 17 |
LICENSE="MIT" |
20 | 18 |
SLOT="$(ver_cut 1)" |
21 | 19 |
KEYWORDS="amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv ~s390 sparc x86" |
22 |
IUSE="" |
|
23 | 20 | |
24 | 21 |
ruby_add_rdepend ">=dev-ruby/ruby2_keywords-0.0.5" |
25 | 22 | |
26 | 23 |
ruby_add_bdepend " |
27 | 24 |
test? ( >=dev-ruby/test-unit-2.5.1-r1 dev-ruby/introspection )" |
28 | 25 | |
29 |
PATCHES=( |
|
30 |
"${FILESDIR}"/${PN}-1.16.0-ruby32.patch |
|
31 |
) |
|
32 | ||
33 | 26 |
all_ruby_prepare() { |
34 | 27 |
sed -i -e '/[Bb]undler/ s:^:#:' -e '1iload "lib/mocha/version.rb"' Rakefile || die |
35 | 28 |