Diff fast_gettext-1.8.0-r1 with a fast_gettext-2.2.0

/usr/portage/dev-ruby/fast_gettext/fast_gettext-2.2.0.ebuild 2023-10-09 14:52:30.432368374 +0300
3 3

  
4 4
EAPI=8
5 5

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

  
8 8
RUBY_FAKEGEM_TASK_DOC=""
9 9
RUBY_FAKEGEM_EXTRADOC="CHANGELOG Readme.md"
10
RUBY_FAKEGEM_GEMSPEC="fast_gettext.gemspec"
10

  
11 11
RUBY_FAKEGEM_RECIPE_TEST="rspec3"
12 12

  
13
RUBY_FAKEGEM_GEMSPEC="fast_gettext.gemspec"
14

  
13 15
inherit ruby-fakegem
14 16

  
15 17
DESCRIPTION="GetText but 3.5x faster, 560x less memory, clean namespace and threadsafe!"
......
17 19
SRC_URI="https://github.com/grosser/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
18 20

  
19 21
LICENSE="public-domain"
20
SLOT="0"
22
SLOT="2"
21 23
KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 x86"
22 24
IUSE=""
23 25

  
......
28 30

  
29 31
	# Remove jeweler and bump from Gemfile since they are not needed for tests.
30 32
	sed -i -e '/jeweler/d' -e '/bump/d' -e '/appraisal/d' Gemfile || die
33
	sed -i -e '/single/I s:^:#:' spec/spec_helper.rb || die
34
	sed -i -e '/SingleCov/ s:^:#:' spec/{*,*/*}/*spec.rb || die
31 35

  
32 36
	# Avoid unneeded dependency on git and development dependencies.
33 37
	sed -e '/git ls-files/ s:^:#:' \
34
		-e '/\(wwtd\|bump\|sqlite3\|activerecord\|i18n\)/ s:^:#:' \
38
		-e '/\(wwtd\|bump\|sqlite3\|activerecord\|i18n\|single_cov\|forking_test_runner\|rubocop\)/ s:^:#:' \
39
		-e 's:require_relative ":require "./:' \
35 40
		-i fast_gettext.gemspec || die
36 41

  
37 42
	# Avoid a test dependency on activerecord since this is now in the
......
39 44
	# rails keyworded.
40 45
	sed -i -e '/active_record/ s:^:#:' spec/spec_helper.rb || die
41 46
	rm -f spec/fast_gettext/translation_repository/db_spec.rb || die
42
	sed -i -e '/works with DB repository/,/^    end/ s:^:#:' spec/fast_gettext/storage_spec.rb || die
47
	rm -f spec/fast_gettext/storage_spec.rb || die
43 48
	sed -i -e '/with i18n loaded/,/^  end/ s:^:#:' spec/fast_gettext/vendor/string_spec.rb || die
44 49

  
45 50
	# Don't run a test that requires safe mode which we can't provide
Thank you!