Сравнение mocha-1.16.1 с mocha-2.0.2
/usr/portage/dev-ruby/mocha/mocha-2.0.2.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="ruby31 ruby32" |
|
5 |
USE_RUBY="ruby27 ruby30 ruby31 ruby32" |
|
6 | 6 | |
7 | 7 |
RUBY_FAKEGEM_TASK_TEST="test:units test:acceptance" |
8 | 8 | |
9 | 9 |
RUBY_FAKEGEM_EXTRADOC="README.md RELEASE.md" |
10 | 10 | |
11 |
RUBY_FAKEGEM_EXTRAINSTALL="init.rb" |
|
12 | ||
13 | 11 |
RUBY_FAKEGEM_GEMSPEC="mocha.gemspec" |
14 | 12 | |
15 | 13 |
inherit ruby-fakegem |
... | ... | |
19 | 17 |
SRC_URI="https://github.com/freerange/mocha/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
20 | 18 | |
21 | 19 |
LICENSE="MIT" |
22 |
SLOT="1.0" |
|
23 |
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" |
|
20 |
SLOT="$(ver_cut 1)" |
|
21 |
KEYWORDS="amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv ~s390 sparc x86" |
|
24 | 22 |
IUSE="" |
25 | 23 | |
24 |
ruby_add_rdepend ">=dev-ruby/ruby2_keywords-0.0.5" |
|
25 | ||
26 | 26 |
ruby_add_bdepend " |
27 | 27 |
test? ( >=dev-ruby/test-unit-2.5.1-r1 dev-ruby/introspection )" |
28 | 28 | |
29 | 29 |
PATCHES=( |
30 |
"${FILESDIR}"/mocha-1.16.0-ruby32.patch |
|
30 |
"${FILESDIR}"/${PN}-1.16.0-ruby32.patch |
|
31 | 31 |
) |
32 | 32 | |
33 | 33 |
all_ruby_prepare() { |