Diff activesupport-6.1.7.6 with a activesupport-7.0.7

/usr/portage/dev-ruby/activesupport/activesupport-7.0.7.ebuild 2023-10-09 14:52:30.420368374 +0300
3 3

  
4 4
EAPI=8
5 5

  
6
USE_RUBY="ruby31 ruby32"
6
USE_RUBY="ruby30 ruby31 ruby32"
7 7

  
8 8
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
9 9

  
......
27 27
ruby_add_rdepend "
28 28
	>=dev-ruby/concurrent-ruby-1.0.2:1
29 29
	>=dev-ruby/i18n-1.6:1
30
	>=dev-ruby/minitest-5.1
31 30
	dev-ruby/tzinfo:2
32
	>=dev-ruby/zeitwerk-2.3:2
31
	>=dev-ruby/minitest-5.1
33 32
"
34 33

  
35 34
# memcache-client, nokogiri, builder, and redis are not strictly needed,
......
46 45
	<dev-ruby/minitest-5.16:*
47 46
	)"
48 47

  
49
PATCHES=(
50
	"${FILESDIR}"/${PN}-6.1.7.3-ruby-thread-noise.patch
51
	"${FILESDIR}"/${PN}-6.1.7.4-bytesplice.patch
52
	"${FILESDIR}"/${PN}-6.1.7.4-class_serial.patch
53
)
54

  
55 48
all_ruby_prepare() {
56 49
	# Set the secure permissions that tests expect.
57 50
	chmod 0755 "${HOME}" || die "Failed to fix permissions on home"
58 51

  
59 52
	# Remove items from the common Gemfile that we don't need for this
60 53
	# test run. This also requires handling some gemspecs.
61
	sed -i -e "/\(system_timer\|pg\|execjs\|jquery-rails\|mysql\|journey\|ruby-prof\|stackprof\|benchmark-ips\|turbolinks\|coffee-rails\|debugger\|sprockets-rails\|bcrypt\|uglifier\|minitest\|sprockets\|stackprof\|rack-cache\|sqlite\|websocket-client-simple\|\libxml-ruby\|bootsnap\|aws-sdk\|webmock\|capybara\|sass-rails\|selenium-webdriver\|webpacker\|webrick\|rack-test\|net-smtp\|net-imap\|net-pop\|digest\|matrix\)/ s:^:#:" \
62
		-e '/group :\(doc\|rubocop\|job\|cable\|storage\|ujs\|test\) do/,/^end/ s:^:#:' \
54
	sed -i -e "/\(system_timer\|pg\|execjs\|jquery-rails\|mysql\|journey\|ruby-prof\|stackprof\|benchmark-ips\|turbolinks\|coffee-rails\|debugger\|sprockets-rails\|bcrypt\|uglifier\|minitest\|sprockets\|stackprof\|rack-cache\|sqlite\|websocket-client-simple\|\libxml-ruby\|bootsnap\|aws-sdk\|webmock\|capybara\|sass-rails\|selenium-webdriver\|webpacker\|webrick\|propshaft\|rack-test\|terser\|cgi\|net-smtp\|net-imap\|net-pop\|digest\|matrix\)/ s:^:#:" \
55
		-e '/stimulus-rails/,/tailwindcss-rails/ s:^:#:' \
56
		-e '/group :\(doc\|rubocop\|job\|cable\|storage\|ujs\|test\|view\) do/,/^end/ s:^:#:' \
63 57
		-e 's/gemspec/gemspec path: "activesupport"/' \
64 58
		-e '5igem "builder"; gem "rack"' ../Gemfile || die
65 59
	rm ../Gemfile.lock || die
66
#	sed -i -e '1igem "tzinfo", "~> 1.1"' test/abstract_unit.rb || die
67 60

  
68
	# Avoid test that depends on timezone and test that fails on 32-bit arches
69
	sed -e '/test_implicit_coercion/,/^  end/ s:^:#:' \
70
		-e '/test_iso8601_output_and_reparsing/askip "Broken on 32-bit arches"' \
71
		-i test/core_ext/duration_test.rb || die
61
	# Avoid test that depends on timezone
62
	sed -i -e '/test_implicit_coercion/,/^  end/ s:^:#:' test/core_ext/duration_test.rb || die
72 63

  
73 64
	# Avoid tests that seem to trigger race conditions.
74 65
	rm -f test/evented_file_update_checker_test.rb || die
Thank you!