diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-12-23 06:31:00 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-12-23 06:31:00 +0000 |
commit | 338095605b6c9c82690f77f27a32490c9a57bdcb (patch) | |
tree | 72a4d7ec7ba10ea6da4d4f7d25b68915b12edde6 /dev-ruby/elasticsearch-api | |
parent | 5a2cecfc8661e1d3a762adf05cf8eb142cd41710 (diff) |
gentoo auto-resync : 23:12:2024 - 06:31:00
Diffstat (limited to 'dev-ruby/elasticsearch-api')
-rw-r--r-- | dev-ruby/elasticsearch-api/Manifest | 2 | ||||
-rw-r--r-- | dev-ruby/elasticsearch-api/elasticsearch-api-8.17.0.ebuild | 68 |
2 files changed, 70 insertions, 0 deletions
diff --git a/dev-ruby/elasticsearch-api/Manifest b/dev-ruby/elasticsearch-api/Manifest index eb3ca5af98cb..07b60b1707f6 100644 --- a/dev-ruby/elasticsearch-api/Manifest +++ b/dev-ruby/elasticsearch-api/Manifest @@ -1,7 +1,9 @@ DIST elasticsearch-ruby-7.17.11.tar.gz 1033022 BLAKE2B 77fb6b37d447af88a6b093bf3f08eadc6824e5499d5949a07d59e824d92e48b5dffa5bc3777ba70b25f87d67683ddcb817d03cb0947d8890f4618e1b48661000 SHA512 43e3c5d685855e26433674f4b0822caf10c829131dc3a947ab13598dd39de5baa1967d0fd3631b8c89b6f91fa7ff7422118b7c7e537803201f0cc752a3a50818 DIST elasticsearch-ruby-8.15.0.tar.gz 1935690 BLAKE2B 380eebdb9fdcce1600051d9078d8af90789fa4f0b91266fe2297092aa32eed96dabe591fad69f8f4a37f56f15dbbe32a79d07c25693cc83907ba52eb10a77c32 SHA512 011f01914e457959f9737a65cc1fc09e0c31f70c4c4976a14b2506a2b66f4ffbaadc8fb643db10ec90b70a7cc0012c7752aecd598a76a9281cf12586e27fb08a DIST elasticsearch-ruby-8.16.0.tar.gz 1938620 BLAKE2B 742180d14d6d003b498f2e5812239c6d83c39c5d8fb37dad1a113f017857fe2563932e05ca67774e1db428f264d57d43bd694b6bf784c374db0c560e31af2931 SHA512 78191a95577aa443a85c75476a6743cc31371958a3f30d1d95cbe9159893bdeb297a9010c1e41d7adcb53172f5f096e7666a8f1506a6b05fcbaa7559328589ab +DIST elasticsearch-ruby-8.17.0.tar.gz 1940073 BLAKE2B 25d141927f4adacb2f7d447a8f929859fd0081526e47355673d702445cdb01add122c303d1cea6bef0f4c5d9ac743c55fba98220303a9440218e99860bd619e8 SHA512 2968ed0648eeb9b0b0620d6778f9dd63cee0c20da433a5023b6c0eec8f9c906449cc5d5c8a0bad195815f6f85b93e70545dafc43c9ce2fdbf113be80524ee3ab EBUILD elasticsearch-api-7.17.11.ebuild 1589 BLAKE2B 97582f71e638479db7951367257c599ab941fe8523b94efb13e8202b2e5e0fa0e4e192545d9402bd567492a7c89b6268028dadaefc8163f71f0dd499e72efcf1 SHA512 721165b86b4f947b0e87ab6d3927369d0453b9a32cc1810e46b6d85c8254d56f90d720ff3179ffd133f4554a5d7b8c62dd5cef85855861b288f5fb8da691fd5b EBUILD elasticsearch-api-8.15.0.ebuild 1659 BLAKE2B cb836aa9a99a657aeda03d59f21666503274e6faa311579bb9e0f36f66286b2b305219d2e126005274c77d5652e921c186455748c9861341a1c48fee48cb7736 SHA512 deb41ee5ed3b5acc33aea8df7974be3c98f89eaf0fa712cf6df63ac1395779740145b1c8b5c651c15b12269fcb30ea30b185581aa8a3d9992fb83ac40e2a8043 EBUILD elasticsearch-api-8.16.0.ebuild 1719 BLAKE2B da8c6c10b57d42dde4720d69d2ea9c53b068c761fd182402cf85db1df4541dd2de517f3ed46c552df6bc7a36089a731476504043a1ad44bb64184cc2cb19f312 SHA512 4ed71e6eea75df19d0d441e7ade6484b588fdce3a03d44fbc3b2dcff75f7fd15f2a89fd9e4f404583f1dda734a86590e391c998bee09c567f9bba5db4802a864 +EBUILD elasticsearch-api-8.17.0.ebuild 1719 BLAKE2B da8c6c10b57d42dde4720d69d2ea9c53b068c761fd182402cf85db1df4541dd2de517f3ed46c552df6bc7a36089a731476504043a1ad44bb64184cc2cb19f312 SHA512 4ed71e6eea75df19d0d441e7ade6484b588fdce3a03d44fbc3b2dcff75f7fd15f2a89fd9e4f404583f1dda734a86590e391c998bee09c567f9bba5db4802a864 MISC metadata.xml 316 BLAKE2B 6dd63e5f6301f77e0a7eaa6cede387182abac37b0bd81ea6484e7a211318aadcdf8bb86f8b5b40abe82402a99c8ccaf9ca168921d085ddbb70319afd5e256db3 SHA512 28e3e5371dad297baa577034783afa219b4796d6dfbbcd24ad1e90c47f130dbaebdf0a9a76bf38a0b9e7df610d24cdc3a7b92f76bf1ff92b8ed88bcf861de881 diff --git a/dev-ruby/elasticsearch-api/elasticsearch-api-8.17.0.ebuild b/dev-ruby/elasticsearch-api/elasticsearch-api-8.17.0.ebuild new file mode 100644 index 000000000000..8860bb3afe64 --- /dev/null +++ b/dev-ruby/elasticsearch-api/elasticsearch-api-8.17.0.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby31 ruby32 ruby33" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" +RUBY_FAKEGEM_TASK_DOC=doc + +RUBY_FAKEGEM_TASK_TEST="NOTURN=true test" + +inherit ruby-fakegem + +MY_P=elasticsearch-ruby-${PV} +DESCRIPTION="Ruby integrations for ES, elasticsearch-api module" +HOMEPAGE="https://github.com/elastic/elasticsearch-ruby" +SRC_URI="https://github.com/elastic/elasticsearch-ruby/archive/v${PV}.tar.gz -> ${MY_P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="$(ver_cut 1)" +KEYWORDS="~amd64" +IUSE="test" + +ruby_add_rdepend " + dev-ruby/multi_json +" +ruby_add_bdepend " + doc? ( dev-ruby/yard ) + test? ( + dev-ruby/activesupport + dev-ruby/ansi + dev-ruby/elasticsearch + dev-ruby/elastic-transport + dev-ruby/mocha:2 + dev-ruby/patron + dev-ruby/pry + dev-ruby/rspec:3 + dev-ruby/shoulda-context + dev-ruby/yard + ) +" + +RUBY_S=${MY_P}/${PN} + +all_ruby_prepare() { + # fix to work without git + sed -i -e 's/git ls-files/find * -type f/' *.gemspec || die + + # remove useless dependencies from Rakefile + sed -e '/bundler/d' \ + -e '/require.*cane/,/end/d' \ + -i Rakefile || die + + sed -i -e '/add_formatter/ s/documentation/progress/' spec/spec_helper.rb || die + + # Avoid tests that require unpackaged jbuilder and jsonify + sed -e '/\(pry-\|jbuilder\|jsonify\)/ s:^:#:' \ + -e '/RspecJunitFormatter/ s:^:#:' \ + -e '/ansi/arequire "patron"' \ + -i spec/spec_helper.rb || die + rm -f spec/elasticsearch/api/actions/json_builders_spec.rb || die + + sed -i -e '/uses the escape_utils gem/askip "unmaintained gem"' spec/elasticsearch/api/utils_spec.rb || die + + # Create tmp directory required for tests + mkdir -p ../tmp/rest-api-spec/api || die +} |