summaryrefslogtreecommitdiff
path: root/dev-ruby/elasticsearch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-03-17 06:49:08 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-03-17 06:49:08 +0000
commit2bf68d7062b64d9f815f3b8ce6942a66afe53b0d (patch)
treeac1e773aaa4d3575d18d178ae260cab963bbf64c /dev-ruby/elasticsearch
parentcd356b722fd8d162f02a5059fae1a66e00be52e3 (diff)
gentoo auto-resync : 17:03:2024 - 06:49:08
Diffstat (limited to 'dev-ruby/elasticsearch')
-rw-r--r--dev-ruby/elasticsearch/Manifest2
-rw-r--r--dev-ruby/elasticsearch/elasticsearch-8.12.2.ebuild55
2 files changed, 57 insertions, 0 deletions
diff --git a/dev-ruby/elasticsearch/Manifest b/dev-ruby/elasticsearch/Manifest
index 9b561dcace38..310d3b9a7333 100644
--- a/dev-ruby/elasticsearch/Manifest
+++ b/dev-ruby/elasticsearch/Manifest
@@ -3,11 +3,13 @@ DIST elasticsearch-ruby-7.17.10.tar.gz 1032424 BLAKE2B 72ef81b295c656ad319997c89
DIST elasticsearch-ruby-7.17.8.tar.gz 1017287 BLAKE2B d204c1992d5006b386dc0996bed852132ded6b9732a38699e804e1a5ee62387ef5374836cdb4e84c6232066139422b5d1e831143dbd682e86ec30df9077b1279 SHA512 71288f31e18ff13709962848091e8e0afb128d805be9c3060421bb46fa7bf120700330beb12241b4f7385e88d9f959921fce3721a1050f89c2464ab8dd355706
DIST elasticsearch-ruby-7.17.9.tar.gz 1030121 BLAKE2B 5acfc3f2ce9d39e9f02deed043aec90800968fef453d47802b6628598fc3c39875238d29e1c8927b88fb1e7a65960024e43874482da8a0920cca17a4beb2c0b4 SHA512 974dde6478345a22f27b4264219759a16878e29eb0aabaf6d57aa0d94d22712e35e55657ff5625a36e8643dcb12bac8aa4e6bb269ac011ca8fddcaae0083bcf0
DIST elasticsearch-ruby-8.10.0.tar.gz 1760605 BLAKE2B c9c1d1486ebf7254e67f648b2ac6aef3c5dd17abdafcd4be503c610f0531e904c03d05391157fdc1c0f88e534886b50f978eeac03248f5a580fc1a3da8cc1a85 SHA512 d079e244095349dbab7e0cd2a962ee0bd8f1122f4ffd254fce26dea28722e79aa7251fed66091f8bb5d3128be6bf22c0c9ad3c5acb34b60b67c1505aa0093181
+DIST elasticsearch-ruby-8.12.2.tar.gz 1908814 BLAKE2B f3caffe7336a63547ba0d44a3239fb6b71ed7fb46b1136114a87e7e5f69608d69b14d12f568b6e945db0917a6913a10407cf7cae3137605adaaac5fb7fd9439b SHA512 08fe791ee20cbe9f6ad9aee1b7d9c02813895add4bb0ff7b4e063051b42e62e037d71217521f6a9cb0076c51e8f7160bad52798741435164451806932488d17c
DIST elasticsearch-ruby-8.9.0.tar.gz 1755804 BLAKE2B aff81b211eca6ad551fa54d949e39815eba15b579601e7af48122dacbd78836a57475c31bab6326c874dff4c6991deecb9b859866e417302b54d87f250f2695f SHA512 33b2322e83cbe08229aea81662e2ff7bd46b05a9ab85ccd61efcc8e0ffc8779699d4235bda549221f0839bbf999fefb502e44144b2bd7d0ea102a2aa54a080b1
EBUILD elasticsearch-6.8.3.ebuild 1201 BLAKE2B e1a1855a1dcea1b164484f66e350396bafb7c37351c875197119828001256465c9da38da58ded2ce5f23a92ce0a835cf3bb844da00c22091a50f73203f6d7db0 SHA512 a1bc5273c7b370e428e005c76fe40f1bdaf6e5df2f9edfbaf2cb93c063629bf2438a83d0d1a4650f6e5fe30dc622ad501d92b343533230b898a2bbe2cacb2ff0
EBUILD elasticsearch-7.17.10.ebuild 1752 BLAKE2B 88f73fbab576c4f7b094dc759389a01580641a79321b0c5c391d6e0b6b506752c296ab166c3f0c98c41e22c278b7cc5df61e8abf0a7190e8c311cc3318e9fdc0 SHA512 7342fc9f437367f03ac3f80c6c45e4409c0e3140ca509b8e960ff0395f32f1565c1bd832266bb3b2c2b8acc2d4b4b4051849ca67629a4da8b3ec35eef4fd21a3
EBUILD elasticsearch-7.17.8.ebuild 1314 BLAKE2B 01036ff0836057aee2531d66b0f3d3f5f5dbbd8c8945897611c44ae6476eda21bd3581bdec4d8f121f7932e0953dc7e4f3892687742200d5d8086c1dd3db813a SHA512 3a968142952fb8dc58303c9d0f19df27aa744adf1b9cfb61da84ddd62a8d39f06c3011ca8504f432eb9a2a5a6c5cd86f2538777b961aa733a8eb2c8d0d1f4ffb
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.9.0.ebuild 1314 BLAKE2B 6fc6df751ca4ccf52571b4ebf4425a96693ed4a2fba07025ca3820d19656858cdfa935308ccfabe25c0be030133eb8bb47ee3128214ea8e1eab7c27b3eae45e1 SHA512 3fef666c33182e5dd8acfc980b2687a2c40c3fdfffcd7961f77c92a715dc92c747e34e250a878c5a465de590348f6b0d3d956842974834c6dd9d8dc350c0ba99
MISC metadata.xml 316 BLAKE2B 6dd63e5f6301f77e0a7eaa6cede387182abac37b0bd81ea6484e7a211318aadcdf8bb86f8b5b40abe82402a99c8ccaf9ca168921d085ddbb70319afd5e256db3 SHA512 28e3e5371dad297baa577034783afa219b4796d6dfbbcd24ad1e90c47f130dbaebdf0a9a76bf38a0b9e7df610d24cdc3a7b92f76bf1ff92b8ed88bcf861de881
diff --git a/dev-ruby/elasticsearch/elasticsearch-8.12.2.ebuild b/dev-ruby/elasticsearch/elasticsearch-8.12.2.ebuild
new file mode 100644
index 000000000000..346bd1ac2a4d
--- /dev/null
+++ b/dev-ruby/elasticsearch/elasticsearch-8.12.2.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
+"
+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
+}