summaryrefslogtreecommitdiff
path: root/dev-ruby/elasticsearch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-05-07 00:00:56 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-05-07 00:00:56 +0100
commit7bcfea9c5e79a425a62a66bba477b9d3c0d7fdd0 (patch)
tree02bad8e4f1f060d4858a1a2ec3fc9404f0b7a197 /dev-ruby/elasticsearch
parent43c2a85d4e20318dd3d35872e348707900870067 (diff)
gentoo auto-resync : 07:05:2024 - 00:00:56
Diffstat (limited to 'dev-ruby/elasticsearch')
-rw-r--r--dev-ruby/elasticsearch/Manifest1
-rw-r--r--dev-ruby/elasticsearch/elasticsearch-8.13.0-r1.ebuild55
2 files changed, 56 insertions, 0 deletions
diff --git a/dev-ruby/elasticsearch/Manifest b/dev-ruby/elasticsearch/Manifest
index dcbde46a421e..5777f70d2ee2 100644
--- a/dev-ruby/elasticsearch/Manifest
+++ b/dev-ruby/elasticsearch/Manifest
@@ -12,6 +12,7 @@ EBUILD elasticsearch-7.17.8.ebuild 1314 BLAKE2B 01036ff0836057aee2531d66b0f3d3f5
EBUILD elasticsearch-7.17.9.ebuild 1314 BLAKE2B 01036ff0836057aee2531d66b0f3d3f5f5dbbd8c8945897611c44ae6476eda21bd3581bdec4d8f121f7932e0953dc7e4f3892687742200d5d8086c1dd3db813a SHA512 3a968142952fb8dc58303c9d0f19df27aa744adf1b9cfb61da84ddd62a8d39f06c3011ca8504f432eb9a2a5a6c5cd86f2538777b961aa733a8eb2c8d0d1f4ffb
EBUILD elasticsearch-8.10.0.ebuild 1307 BLAKE2B 2e2ecec1a9f91b4d75353c307e81b09a9abdb31cd27c4899830511bc1268b34c6a8458f2d80af5659611d795ccb16bdf5f8d6dcadd03b2ffe3eb2f9af0cd0657 SHA512 703a61e5af7d8f88994f2962c3856cbb89424f068b2fc6f29d5ecc97963d9dbfc62be7571478d2f788dca08fdb05582ef192d81ed880a345ed2189fb81635701
EBUILD elasticsearch-8.12.2.ebuild 1329 BLAKE2B 91e1c9ecdce5e0934516f87f1420dce3b3a053ed551756cdfc27c7569c1f3ec860540ec9449cf8c2f1abab42cff90d03c6113aaa639291c88ce841862ae9dcdd SHA512 773039940b47f3a0880ccea4606be5217f173ea4e800aefc6a829c36473ecdb47b9e51d9a5d23b3dd45e8c3bd5261939a11d5648e46408e4d6344f6d44582fd5
+EBUILD elasticsearch-8.13.0-r1.ebuild 1335 BLAKE2B a33266a847db4274e42b4a637adb41a0659e1da8fa1db1323504ed8e2eb20baa63caf7fb152c71fbb459f47cfacf6564b62b7c2410b15c77101e45e2fc24a1af SHA512 b519c6eb7b8dde22969a544eef8e8efdc94bf227fb5b98953290c72353a5a6ed59edb460bea61d3bc185af5b9a9761b81be5e76822a1d6c6d660ddb6796dd0f8
EBUILD elasticsearch-8.13.0.ebuild 1329 BLAKE2B 91e1c9ecdce5e0934516f87f1420dce3b3a053ed551756cdfc27c7569c1f3ec860540ec9449cf8c2f1abab42cff90d03c6113aaa639291c88ce841862ae9dcdd SHA512 773039940b47f3a0880ccea4606be5217f173ea4e800aefc6a829c36473ecdb47b9e51d9a5d23b3dd45e8c3bd5261939a11d5648e46408e4d6344f6d44582fd5
EBUILD elasticsearch-8.9.0.ebuild 1314 BLAKE2B 6fc6df751ca4ccf52571b4ebf4425a96693ed4a2fba07025ca3820d19656858cdfa935308ccfabe25c0be030133eb8bb47ee3128214ea8e1eab7c27b3eae45e1 SHA512 3fef666c33182e5dd8acfc980b2687a2c40c3fdfffcd7961f77c92a715dc92c747e34e250a878c5a465de590348f6b0d3d956842974834c6dd9d8dc350c0ba99
MISC metadata.xml 316 BLAKE2B 6dd63e5f6301f77e0a7eaa6cede387182abac37b0bd81ea6484e7a211318aadcdf8bb86f8b5b40abe82402a99c8ccaf9ca168921d085ddbb70319afd5e256db3 SHA512 28e3e5371dad297baa577034783afa219b4796d6dfbbcd24ad1e90c47f130dbaebdf0a9a76bf38a0b9e7df610d24cdc3a7b92f76bf1ff92b8ed88bcf861de881
diff --git a/dev-ruby/elasticsearch/elasticsearch-8.13.0-r1.ebuild b/dev-ruby/elasticsearch/elasticsearch-8.13.0-r1.ebuild
new file mode 100644
index 000000000000..6732c33df89c
--- /dev/null
+++ b/dev-ruby/elasticsearch/elasticsearch-8.13.0-r1.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_RUBY="ruby31 ruby32"
+
+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:1.0
+ 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
+}