Diff aruba-0.6.2-r3 with a aruba-2.1.0

/usr/portage/dev-util/aruba/aruba-2.1.0.ebuild 2023-10-09 14:52:30.936368387 +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"
5
USE_RUBY="ruby30 ruby31 ruby32"
6 6

  
7
RUBY_FAKEGEM_TASK_DOC=""
8 7
RUBY_FAKEGEM_RECIPE_TEST="cucumber"
9
RUBY_FAKEGEM_EXTRADOC="History.md README.md"
8
RUBY_FAKEGEM_RECIPE_DOC="none"
9
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
10
RUBY_FAKEGEM_BINDIR="exe"
10 11

  
11 12
RUBY_FAKEGEM_GEMSPEC="aruba.gemspec"
12 13

  
......
14 15

  
15 16
DESCRIPTION="Cucumber steps for driving out command line applications"
16 17
HOMEPAGE="https://github.com/cucumber/aruba"
18
SRC_URI="https://github.com/cucumber/aruba/archive/v${PV}.tar.gz -> ${P}.tar.gz"
17 19
LICENSE="MIT"
18 20

  
19
KEYWORDS="amd64 arm arm64 ~hppa ppc ppc64 ~s390 sparc x86"
20
SLOT="0"
21
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
22
SLOT="$(ver_cut 1)"
21 23
IUSE=""
22 24

  
23 25
DEPEND="${DEPEND} test? ( sys-devel/bc )"
24 26
RDEPEND="${RDEPEND}"
25 27

  
26 28
ruby_add_rdepend "
27
	>=dev-ruby/childprocess-0.3.6
28
	>=dev-ruby/rspec-expectations-2.7:*
29
	>=dev-util/cucumber-1.1.1"
29
	=dev-ruby/bundler-2*
30
	>=dev-ruby/childprocess-2.0 <dev-ruby/childprocess-5
31
	>=dev-ruby/contracts-0.16.0 <dev-ruby/contracts-0.18
32
	>=dev-ruby/rspec-expectations-3.4:3
33
	dev-ruby/thor:1
34
	>=dev-util/cucumber-2.4 <dev-util/cucumber-9
35
	!<dev-util/aruba-1.1.2-r1"
36

  
37
ruby_add_bdepend "test? ( dev-ruby/pry dev-ruby/rspec:3 )"
30 38

  
31 39
all_ruby_prepare() {
32 40
	# Remove bundler-related code.
33
	sed -i -e '/[Bb]undler/d' Rakefile || die
34
	rm Gemfile || die
41
	sed -i -e '/[Bb]undler/d' Rakefile spec/spec_helper.rb || die
42
	#rm Gemfile || die
43

  
44
	sed -i -e '/simplecov/I s:^:#:' \
45
		-e '/Before/,/^end/ s:^:#:' \
46
		spec/spec_helper.rb features/support/env.rb || die
47
	rm -f features/support/simplecov_setup.rb || die
48

  
49
	sed -e 's:_relative ": "./:' \
50
		-e 's/git ls-files -z/find * -print0/' \
51
		-e '/\(pry-doc\|rake-manifest\|rubocop\|yard-junk\)/ s:^:#:' \
52
		-e '/simplecov/ s/22/23/' \
53
		-i ${RUBY_FAKEGEM_GEMSPEC} || die
54

  
55
	# Avoid features with minor output differences
56
	sed -i -e '/Use .aruba. with .Minitest./i\  @wip' features/01_getting_started_with_aruba/supported_testing_frameworks.feature || die
57
	sed -i -e '/Create files for Minitest/i\  @wip' features/06_use_aruba_cli/initialize_project_with_aruba.feature || die
58
	rm -f features/03_testing_frameworks/cucumber/steps/command/wait_for_output_of_command.feature || die
35 59

  
36
	# Remove references to git ls-files.
37
	sed -i -e '/git ls-files/d' aruba.gemspec || die
60
	# Avoid feature that requires aruba to be installed already
61
	rm -r features/03_testing_frameworks/cucumber/disable_bundler.feature || die
62
}
38 63

  
39
	sed -i -e "s/~@wip/'not @wip'/" cucumber.yml || die
40
	sed -i -e 's/~@in-process/not @in-process/' features/support/custom_main.rb || die
64
each_ruby_test() {
65
	RSPEC_VERSION=3 ruby-ng_rspec
66
	RUBYLIB="$(pwd)/lib" ruby-ng_cucumber --tags "not @wip"
41 67
}
Thank you!