Diff elasticsearch-6.8.3 with a elasticsearch-7.17.7-r1

/usr/portage/dev-ruby/elasticsearch/elasticsearch-7.17.7-r1.ebuild 2023-10-09 14:52:30.432368374 +0300
1 1
# Copyright 1999-2023 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4
EAPI=7
4
EAPI=8
5 5

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

  
8
RUBY_FAKEGEM_BINWRAP=""
7 9
RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
8
RUBY_FAKEGEM_TASK_DOC=doc
10
RUBY_FAKEGEM_RECIPE_TEST="rspec3"
9 11

  
10 12
inherit ruby-fakegem
11 13

  
......
34 36
	)
35 37
"
36 38

  
37
# Tests need additional modules (at least 'turn') packaged. Then someone
38
# should look into running them and so on.
39
RESTRICT="test"
40

  
41 39
RUBY_S=${MY_P}/${PN}
42 40

  
43 41
all_ruby_prepare() {
44 42
	# fix to work without git
45
	sed -i -e 's/git ls-files/find -type f/' *.gemspec || die
43
	sed -i -e 's/git ls-files/find * -type f/' *.gemspec || die
46 44

  
47 45
	# remove useless dependencies from Rakefile
48 46
	sed -e '/bundler/d' \
49 47
		-e '/require.*cane/,/end/d' \
50 48
		-i Rakefile || die
49

  
50
	sed -e '/documentation/ s:^:#:' \
51
		-i spec/spec_helper.rb || die
52

  
53
	# Avoid spec requiring a running elasticsearch server
54
	rm -f spec/integration/{characters_escaping,client_integration,validation_integration}_spec.rb || die
51 55
}
Thank you!