Diff liquid-4.0.3-r1 with a liquid-5.4.0

/usr/portage/dev-ruby/liquid/liquid-5.4.0.ebuild 2023-10-09 14:52:30.440368374 +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="ruby27 ruby30 ruby31 ruby32"
6 6

  
7 7
RUBY_FAKEGEM_TASK_DOC=""
8 8
RUBY_FAKEGEM_EXTRADOC="History.md README.md"
9

  
9 10
RUBY_FAKEGEM_GEMSPEC="liquid.gemspec"
10 11

  
11 12
inherit ruby-fakegem
......
15 16
HOMEPAGE="https://shopify.github.io/liquid/"
16 17

  
17 18
LICENSE="MIT"
18
SLOT="4"
19
SLOT="$(ver_cut 1)"
19 20
KEYWORDS="~amd64 ~arm64"
20 21
IUSE=""
21 22

  
22
PATCHES=( "${FILESDIR}/${P}-ruby30.patch" )
23

  
24
ruby_add_bdepend "test? ( dev-ruby/minitest
25
	dev-ruby/spy )"
23
ruby_add_bdepend "test? ( dev-ruby/minitest )"
26 24

  
27 25
all_ruby_prepare() {
28 26
	# liquid-c is not packaged
29
	sed -i -e '/LIQUID-C/ s:^:#:' Rakefile || die
27
	sed -i -e '/LIQUID_C/ s:^:#:' Rakefile || die
30 28

  
31 29
	# Avoid test requiring unpackaged stackprof
32
	sed -i -e '/assert_no_object_allocations/askip "unpackaged stackprof"' test/unit/context_unit_test.rb || die
33

  
34
	# Avoid tests using taint since this is no longer supported in ruby 2.7+
35
	sed -i -e '/test.*tainted_attr/askip "taint is no longer supported"' test/integration/drop_test.rb || die
30
	sed -i -e '/assert_no_object_allocations/askip "unpackaged stackprof"' test/integration/context_test.rb || die
36 31
}
Thank you!