Diff gettext-setup-0.34-r2 with a gettext-setup-1.1.0

/usr/portage/dev-ruby/gettext-setup/gettext-setup-1.1.0.ebuild 2023-10-09 14:52:30.436368374 +0300
1
# Copyright 1999-2022 Gentoo Authors
1
# Copyright 1999-2023 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4
EAPI=7
5
USE_RUBY="ruby26 ruby27 ruby30 ruby31"
4
EAPI=8
5
USE_RUBY="ruby30 ruby31 ruby32"
6 6

  
7 7
RUBY_FAKEGEM_RECIPE_TEST="rspec3"
8 8

  
......
18 18
RUBY_S="${PN}-gem-${PV}"
19 19

  
20 20
LICENSE="Apache-2.0"
21
SLOT="0"
21
SLOT="$(ver_cut 1)"
22 22
KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 x86"
23 23
IUSE=""
24 24

  
......
26 26
DEPEND+=" test? ( dev-vcs/git )"
27 27

  
28 28
ruby_add_rdepend "
29
	>=dev-ruby/fast_gettext-1.1.0:0
30
	>=dev-ruby/ruby-gettext-3.0.2
29
	>=dev-ruby/fast_gettext-2.1:2
30
	>=dev-ruby/ruby-gettext-3.4
31 31
	dev-ruby/locale
32 32
"
33 33

  
34 34
all_ruby_prepare() {
35
	sed -i -e 's/1.1.0/1.1/' \
36
		-e "/'gettext'/ s/, '< 3.3.0'//" \
37
		-e "s/spec.version.*$/spec.version = '${PV}'/" ${RUBY_FAKEGEM_GEMSPEC} || die
35
	sed -e "s/spec.version.*$/spec.version = '${PV}'/" \
36
		-i ${RUBY_FAKEGEM_GEMSPEC} || die
38 37

  
39 38
	sed -i -e '/simplecov/,/^end/ s:^:#: ; 1irequire "date"' spec/spec_helper.rb || die
40 39

  
Thank you!