summaryrefslogtreecommitdiff
path: root/dev-ruby/elasticsearch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2025-01-17 06:41:55 +0000
committerV3n3RiX <venerix@koprulu.sector>2025-01-17 06:41:55 +0000
commit6d730aa8064fbab6cc54447b6ed0e60b99c13256 (patch)
tree8c303cb48dc49dd218b79708ca71904653c5f831 /dev-ruby/elasticsearch
parentcb2f73d10494730ba590096a1f24ebc6d0d61a9f (diff)
gentoo auto-resync : 17:01:2025 - 06:41:55
Diffstat (limited to 'dev-ruby/elasticsearch')
-rw-r--r--dev-ruby/elasticsearch/Manifest2
-rw-r--r--dev-ruby/elasticsearch/elasticsearch-8.17.1.ebuild55
2 files changed, 57 insertions, 0 deletions
diff --git a/dev-ruby/elasticsearch/Manifest b/dev-ruby/elasticsearch/Manifest
index d9edcfc3de13..65fb18def334 100644
--- a/dev-ruby/elasticsearch/Manifest
+++ b/dev-ruby/elasticsearch/Manifest
@@ -2,8 +2,10 @@ DIST elasticsearch-ruby-7.17.11.tar.gz 1033022 BLAKE2B 77fb6b37d447af88a6b093bf3
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
+DIST elasticsearch-ruby-8.17.1.tar.gz 1940369 BLAKE2B 95e7b79b6f95905ce221cda6bea928868507d8629f8122a1eb3181e4da3a652df0e35ed13823451d10fd3fc3e6e619c24856803afdef68ecb6340f843d4ac382 SHA512 49937635a2488a155a03dc86ac55ec27b3e1c98ed4445a0df038e9cc6ac51d524252ac8b923c1174f7d121a42d1f72d542c0460e360c055dacb467c916dff970
EBUILD elasticsearch-7.17.11.ebuild 1810 BLAKE2B b6f02f6380479a9e5306445bad91bfc5b3c59ad94d344b60ca2debf25cbabbc800b4fe2d6166cd0a760cb07c7bf3dcf9ae9a910f50ff81c3e994fb90642caaff SHA512 c09ba8c6dc8a458ab3d66d903f4c15d3cbc54d9caf2d23b8cfcf5179bccb267ea03daeb114943e11c8c5821846ee3366dd30f535bef67e4a70c9f06ea7768b68
EBUILD elasticsearch-8.15.0.ebuild 1340 BLAKE2B ca41e48345e7d66e34ac5962cce3c7013c1d8461d4a516638855aac841eae8af30667099a1184ee0de1d480c0609f12b9ba5f5bb6852bd03e0637466c9ca410b SHA512 a436243a3e67d41cd4539fbdd8e2e37ae862162b4add32761a9539ac7d1626e6588eb1b7e9dbefb3b9390ac40815ee7669b19194f36a8aad45ca11da9c90ba31
EBUILD elasticsearch-8.16.0.ebuild 1340 BLAKE2B ca41e48345e7d66e34ac5962cce3c7013c1d8461d4a516638855aac841eae8af30667099a1184ee0de1d480c0609f12b9ba5f5bb6852bd03e0637466c9ca410b SHA512 a436243a3e67d41cd4539fbdd8e2e37ae862162b4add32761a9539ac7d1626e6588eb1b7e9dbefb3b9390ac40815ee7669b19194f36a8aad45ca11da9c90ba31
EBUILD elasticsearch-8.17.0.ebuild 1340 BLAKE2B ca41e48345e7d66e34ac5962cce3c7013c1d8461d4a516638855aac841eae8af30667099a1184ee0de1d480c0609f12b9ba5f5bb6852bd03e0637466c9ca410b SHA512 a436243a3e67d41cd4539fbdd8e2e37ae862162b4add32761a9539ac7d1626e6588eb1b7e9dbefb3b9390ac40815ee7669b19194f36a8aad45ca11da9c90ba31
+EBUILD elasticsearch-8.17.1.ebuild 1340 BLAKE2B 055baa32eb88b0636b33a82b98ce22d706184842085bb4d46a4bba84908a8b337a5d9093c4c4971d11c3ff028e6e4c65ae788fbbb6ba253caadf5dc8fc7fd244 SHA512 a693766382c4c48d3be2c2aadf1369d6c55a8af135486429554accb535032bd4a1a4ab0c8318143ec6ea16ce1c2a5915287fa909f355bdeee771e4fffe593676
MISC metadata.xml 316 BLAKE2B 6dd63e5f6301f77e0a7eaa6cede387182abac37b0bd81ea6484e7a211318aadcdf8bb86f8b5b40abe82402a99c8ccaf9ca168921d085ddbb70319afd5e256db3 SHA512 28e3e5371dad297baa577034783afa219b4796d6dfbbcd24ad1e90c47f130dbaebdf0a9a76bf38a0b9e7df610d24cdc3a7b92f76bf1ff92b8ed88bcf861de881
diff --git a/dev-ruby/elasticsearch/elasticsearch-8.17.1.ebuild b/dev-ruby/elasticsearch/elasticsearch-8.17.1.ebuild
new file mode 100644
index 000000000000..de8538d090f6
--- /dev/null
+++ b/dev-ruby/elasticsearch/elasticsearch-8.17.1.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2025 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_RECIPE_TEST="rspec3"
+
+inherit ruby-fakegem
+
+MY_P=elasticsearch-ruby-${PV}
+DESCRIPTION="Ruby integrations for ES, elasticsearch 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/elasticsearch-api-${PV}
+ >=dev-ruby/elastic-transport-8.3:8
+"
+ruby_add_bdepend "
+ doc? ( dev-ruby/yard )
+ test? (
+ dev-ruby/ansi
+ dev-ruby/base64
+ dev-ruby/mocha:2
+ dev-ruby/pry
+ dev-ruby/shoulda-context
+ )
+"
+
+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 -e '/documentation/ s:^:#:' \
+ -i spec/spec_helper.rb || die
+
+ # Avoid spec requiring a running elasticsearch server
+ rm -f spec/integration/{characters_escaping,client_integration,validation_integration}_spec.rb || die
+ rm -f spec/integration/helpers/*_helper_spec.rb || die
+}