Сравнение haml-5.2.2 с haml-6.1.1-r1

/usr/portage/dev-ruby/haml/haml-6.1.1-r1.ebuild 2023-10-09 14:52:30.436368374 +0300
3 3

  
4 4
EAPI=8
5 5

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

  
8
RUBY_FAKEGEM_TASK_TEST="MT_NO_PLUGINS=true RUBYLIB=lib test"
9
RUBY_FAKEGEM_TASK_DOC="-Ilib doc"
8
RUBY_FAKEGEM_BINWRAP=""
9
RUBY_FAKEGEM_EXTENSIONS=(ext/haml/extconf.rb)
10
RUBY_FAKEGEM_EXTENSION_LIBDIR="lib/haml"
10 11

  
11 12
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md FAQ.md README.md REFERENCE.md"
12
RUBY_FAKEGEM_DOCDIR="doc"
13 13

  
14 14
RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
15 15

  
......
21 21

  
22 22
LICENSE="MIT"
23 23
SLOT="$(ver_cut 1)"
24
KEYWORDS="amd64 arm arm64 ~hppa ppc ppc64 ~riscv x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
24
KEYWORDS="~amd64 ~arm arm64 ~hppa ppc ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
25 25

  
26 26
IUSE="doc test"
27 27

  
28
ruby_add_rdepend ">=dev-ruby/temple-0.8.0 dev-ruby/tilt:*"
28
ruby_add_rdepend ">=dev-ruby/temple-0.8.2 dev-ruby/thor dev-ruby/tilt:*"
29 29

  
30 30
ruby_add_bdepend "
31 31
	test? (
32
		dev-ruby/minitest:5
32
		dev-ruby/minitest:5.15
33 33
		dev-ruby/nokogiri
34 34
		>=dev-ruby/railties-6.0
35 35
		>=dev-ruby/activemodel-6.0
36 36
		>=dev-ruby/actionpack-6.0
37
		dev-ruby/unindent
37 38
	)
38 39
	doc? (
39 40
		dev-ruby/yard
40
		>=dev-ruby/maruku-0.7.2-r1
41 41
	)"
42 42

  
43 43
all_ruby_prepare() {
44 44
	sed -i -e 's/git ls-files -z/find * -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die
45 45

  
46 46
	sed -i -e '/bundler/ s:^:#: ; /Bundler/,/end/ s:^:#:' Rakefile || die
47
	sed -i -e '/bundler/I s:^:#:' \
47
	# minitest hack just to match rails/activesupport
48
	sed -i \
49
		-e "/require 'minitest\/autorun'/igem 'minitest', '< 5.16'" \
50
		-e '/bundler/I s:^:#:' \
48 51
		-e '/simplecov/I s:^:#:' \
49 52
		test/test_helper.rb || die
50
	# Remove test that fails when RedCloth is available
51
	sed -i -e "/should raise error when a Tilt filters dependencies are unavailable for extension/,/^  end/ s/^/#/"\
52
		test/filters_test.rb || die
53
	# Remove tests that fails when RedCloth is available
54
	rm -f test/haml/filters/markdown_test.rb || die
55
}
56

  
57
each_ruby_test() {
58
	${RUBY} -Ilib:test:. -rtest_helper -e 'Dir["test/haml/**/*_test.rb"].each { require _1 }' || die
53 59
}
Спасибо!