Diff elasticsearch-api-6.8.3 with a elasticsearch-api-7.17.7
/usr/portage/dev-ruby/elasticsearch-api/elasticsearch-api-7.17.7.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 | 7 |
RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" |
8 | 8 |
RUBY_FAKEGEM_TASK_DOC=doc |
9 | 9 | |
... | ... | |
17 | 17 |
SRC_URI="https://github.com/elastic/elasticsearch-ruby/archive/v${PV}.tar.gz -> ${MY_P}.tar.gz" |
18 | 18 | |
19 | 19 |
LICENSE="Apache-2.0" |
20 |
SLOT="$(ver_cut 1-3)" |
|
20 |
SLOT="$(ver_cut 1)" |
|
21 | 21 |
KEYWORDS="~amd64" |
22 | 22 |
IUSE="" |
23 | 23 | |
... | ... | |
40 | 40 | |
41 | 41 |
all_ruby_prepare() { |
42 | 42 |
# fix to work without git |
43 |
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 |
|
44 | 44 | |
45 | 45 |
# remove useless dependencies from Rakefile |
46 | 46 |
sed -e '/bundler/d' \ |
... | ... | |
50 | 50 |
sed -i -e '/config.formatter/ s/documentation/progress/' spec/spec_helper.rb || die |
51 | 51 | |
52 | 52 |
# Avoid tests that require unpackaged jbuilder and jsonify |
53 |
sed -e '/\(pry-nav\|jbuilder\|jsonify\)/ s:^:#:' \ |
|
53 |
sed -e '/\(pry-\|jbuilder\|jsonify\)/ s:^:#:' \ |
|
54 | 54 |
-e '/RspecJunitFormatter/ s:^:#:' \ |
55 | 55 |
-e '/ansi/arequire "patron"' \ |
56 | 56 |
-i spec/spec_helper.rb || die |