diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-06-10 00:08:04 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-06-10 00:08:04 +0100 |
commit | 0aad4cd3e3fe3db90904ffc51b35e4ff160b53c5 (patch) | |
tree | a522875f946841ad0790b8170c9201bb145e09bc /dev-ruby/elasticsearch | |
parent | 4fe228ee9aa3b9b825d54ace549a5517e153e8bd (diff) |
gentoo auto-resync : 10:06:2024 - 00:08:04
Diffstat (limited to 'dev-ruby/elasticsearch')
-rw-r--r-- | dev-ruby/elasticsearch/Manifest | 2 | ||||
-rw-r--r-- | dev-ruby/elasticsearch/elasticsearch-7.17.11.ebuild | 64 |
2 files changed, 66 insertions, 0 deletions
diff --git a/dev-ruby/elasticsearch/Manifest b/dev-ruby/elasticsearch/Manifest index 03071ab5c1f1..953890b35948 100644 --- a/dev-ruby/elasticsearch/Manifest +++ b/dev-ruby/elasticsearch/Manifest @@ -1,11 +1,13 @@ DIST elasticsearch-ruby-6.8.3.tar.gz 345447 BLAKE2B 6f10b4345d098b36c5b4d8e90e8745b10313de0df1f5bd9285e72f891a871bff8569318d5bd15ab5cca0ada722042affb6bd20ddb68117eb689eadc0c2a16706 SHA512 3001760ff49bf72ba9ac5e11f3338e320c828bfb245d45535325f422e438b693d1ae7a4f73ab766386a76282eca435849c670f3ad98e9431b80b402e97268f83 DIST elasticsearch-ruby-7.17.10.tar.gz 1032424 BLAKE2B 72ef81b295c656ad319997c89bb065e17e7cda331572758642b028126ff82606b05fd9ba71cf56728428d5f438af69dc3d74f3a1e9733bf5c4869989b03890f0 SHA512 5921595d9f35f5610c999c8f686621212095786d1c2caffd133b315d2ae20154016160950af2bd6f0959a390b1615dbce3da2e43ff2aadbfd1be1b675455f17d +DIST elasticsearch-ruby-7.17.11.tar.gz 1033022 BLAKE2B 77fb6b37d447af88a6b093bf3f08eadc6824e5499d5949a07d59e824d92e48b5dffa5bc3777ba70b25f87d67683ddcb817d03cb0947d8890f4618e1b48661000 SHA512 43e3c5d685855e26433674f4b0822caf10c829131dc3a947ab13598dd39de5baa1967d0fd3631b8c89b6f91fa7ff7422118b7c7e537803201f0cc752a3a50818 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.13.0.tar.gz 1918145 BLAKE2B ded410c9e77876dc61a942ab1de7945d28aa1c06cd7079f693119812128fdfd38c206d9644aadb79fb8c9b48e12d77fec6c313434cfb58510bc48fecc905106b SHA512 8babc5797802ae256b41a00927cd1688c2d3d90770d8a867a9b96a7a115f537f1ca301b2d6b73107995b23578abc755d7bf7dc03075520fa857dda22e6a2d32b 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.11.ebuild 1805 BLAKE2B eb4864a1ddac4467f0e16aa1095201c5406f6cbf32e4039f7b6e2a75cdccdc96fb75e8b16903f4f670e23724816d3b0b3d89e1f3d798199ae2c9dc61320ecb85 SHA512 89f338d4fef0d97b6989dad68c6a0952648cef56ceb03662ca58fcfc3072cd843ad3c4c985700fb9d10b9542e9fdadeaac81797037ca1ca483101e55bf2f716d 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 diff --git a/dev-ruby/elasticsearch/elasticsearch-7.17.11.ebuild b/dev-ruby/elasticsearch/elasticsearch-7.17.11.ebuild new file mode 100644 index 000000000000..d53f1669e0bf --- /dev/null +++ b/dev-ruby/elasticsearch/elasticsearch-7.17.11.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby31 ruby32" + +RUBY_FAKEGEM_BINWRAP="" +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="doc test" + +ruby_add_rdepend " + ~dev-ruby/elasticsearch-api-${PV} + ~dev-ruby/elasticsearch-transport-${PV} +" +ruby_add_bdepend " + doc? ( dev-ruby/yard ) + test? ( + dev-ruby/ansi + dev-ruby/elasticsearch-transport + dev-ruby/mocha:1.0 + dev-ruby/pry + dev-ruby/shoulda-context + dev-ruby/webmock + ) +" + +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:^:#:' \ + -e '3igem "elasticsearch-api", "~> 7.0"' \ + -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 + + # Use the Faraday default adapter instead of a random auto-detected and unpackaged one. + sed -e '/Elasticsearch::Client.new/ s/$/ adapter: :net_http/' \ + -i spec/unit/wrapper_gem_spec.rb || die + sed -e 's/Elasticsearch::Client.new /Elasticsearch::Client.new adapter: :net_http/' \ + -e '/Elasticsearch::Client.new(/ s/(/(adapter: :net_http, /' \ + -i spec/unit/elasticsearch_product_validation_spec.rb || die +} |