Сравнение capistrano-2.15.5-r3 с capistrano-3.17.3

/usr/portage/dev-ruby/capistrano/capistrano-3.17.3.ebuild 2023-10-09 14:52:30.424368374 +0300
1
# Copyright 1999-2022 Gentoo Authors
1
# Copyright 1999-2023 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4
EAPI=7
5
USE_RUBY="ruby27 ruby30 ruby31"
4
EAPI=8
6 5

  
7
RUBY_FAKEGEM_TASK_DOC=""
8
RUBY_FAKEGEM_EXTRADOC="CHANGELOG README.md"
6
USE_RUBY="ruby30 ruby31 ruby32"
9 7

  
10
RUBY_FAKEGEM_BINWRAP=""
8
RUBY_FAKEGEM_RECIPE_TEST="rspec3"
9

  
10
RUBY_FAKEGEM_RECIPE_DOC="none"
11
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
11 12

  
12 13
inherit ruby-fakegem
13 14

  
......
15 16
HOMEPAGE="https://capistranorb.com/"
16 17

  
17 18
LICENSE="MIT"
18
SLOT="2"
19
KEYWORDS="amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-solaris"
19
SLOT="3"
20
KEYWORDS="amd64 ~ppc ~ppc64 ~x86"
20 21
IUSE=""
21 22

  
22 23
ruby_add_rdepend "
23
	>=dev-ruby/net-ssh-2.0.14:*
24
	>=dev-ruby/net-sftp-2.0.2
25
	>=dev-ruby/net-scp-1.0.2
26
	>=dev-ruby/net-ssh-gateway-1.1.0:*
27
	>=dev-ruby/highline-1.2.7"
24
	>=dev-ruby/airbrussh-1.0.0
25
	>=dev-ruby/sshkit-1.9:0
26
	>=dev-ruby/rake-10.0.0
27
	dev-ruby/i18n:*"
28 28
ruby_add_bdepend "
29
	test? (	dev-ruby/mocha:0.14 )"
30

  
31
PATCHES=( "${FILESDIR}/${P}-sudo-cleanup.patch" )
29
	test? (	dev-ruby/mocha )"
32 30

  
33 31
all_ruby_prepare() {
34
	rm Gemfile || die
35
	sed -i -e '/[Bb]undler/d' Rakefile test/utils.rb || die
36
	sed -i -e '/pry/ s:^:#:' -e '4igem "mocha", "~>0.14.0"' test/utils.rb || die
37

  
38
	# Avoid copy strategy tests since these fail in some cases due to
39
	# complicated (aka unknown) interactions with other parts of the
40
	# test suite.
41
	rm test/deploy/strategy/copy_test.rb || die
42
}
43

  
44
all_ruby_install() {
45
	all_fakegem_install
32
	# Avoid specs that depend on capistrano already being installed
33
	rm -f spec/lib/capistrano/doctor/gems_doctor_spec.rb || die
46 34

  
47
	ruby_fakegem_binwrapper cap /usr/bin/cap-2 'gem "capistrano", "~>2.0"'
35
	# Avoid specs that require a TTY
36
	sed -i -e '/asking for a variable/,/^  end/ s:^:#:' spec/integration/dsl_spec.rb || die
37
	rm -f spec/lib/capistrano/configuration/question_spec.rb spec/lib/capistrano/doctor/output_helpers_spec.rb || die
48 38
}
Спасибо!