From 0aad4cd3e3fe3db90904ffc51b35e4ff160b53c5 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 10 Jun 2024 00:08:04 +0100 Subject: gentoo auto-resync : 10:06:2024 - 00:08:04 --- dev-ruby/elasticsearch-api/Manifest | 2 + .../elasticsearch-api-7.17.11.ebuild | 58 ++++++++++++++++++++++ 2 files changed, 60 insertions(+) create mode 100644 dev-ruby/elasticsearch-api/elasticsearch-api-7.17.11.ebuild (limited to 'dev-ruby/elasticsearch-api') diff --git a/dev-ruby/elasticsearch-api/Manifest b/dev-ruby/elasticsearch-api/Manifest index aa1d859ecadd..c73f716d91f8 100644 --- a/dev-ruby/elasticsearch-api/Manifest +++ b/dev-ruby/elasticsearch-api/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-api-6.8.3.ebuild 1557 BLAKE2B 29e7d70a0d03e958527651d8f3823c3b42373b9da4b8a68708e829422f729cecbbe45c7f6c7a4fbbcd737707afd261053043d6d9540f24187c84fb03897ce656 SHA512 cae3539fbe06244d7e35db372125d250839a8f530837a0026daa0858a9655dd2daa8815918e4da1a916618a56709916ec3201ba66e346f39a16a7c9fa2444aec EBUILD elasticsearch-api-7.17.10.ebuild 1496 BLAKE2B 48de4f3b3872f16489c6ed04c19c155f77c23719b0930176f64930efc0f489488c5dc3acb4bcdf8ad33ca9278e6e630a7858c0cf090ea273f55414b146d0137a SHA512 e74acbb8d1d8906dd54a049cd40f1819eea2756c029d05edae1f329e4d62d849e5f5e908092658a366a8b9e950611930cb6ea3b1b28cc88138f5423c24790e01 +EBUILD elasticsearch-api-7.17.11.ebuild 1504 BLAKE2B 328459a98632384f6ed5952904e3c092eff4b136aa9a4be6d12b1337473d0e69a3e7559f6a9f87eafdeeef5273c44818423191e0485850ca7c8c107f58ac2592 SHA512 61cab6a7652a2f93e3da6abc2de1e8bfc13632f2a7a0b6a864de3bf2752cd79266954698ea9e2b022b0e648a67ca4f6ae74ba58c5817e5915dd47a2db63549ca EBUILD elasticsearch-api-8.10.0.ebuild 1564 BLAKE2B ccad571cf7e63e9dbcff6d319a0404efadc9aa4649434d46416a11d83200ae8d5a1bd6feb16c81b66b71358842255309cf5664d9fc4335de8c7052ef0ff97a9b SHA512 805e873172052f176387b1a0363e8a8756a992593ad53682f6b79079c5695824a0323d3aaf4f2ddb02452dbd182ba86c5366ac19538d4e584cb01c8b045d94c9 EBUILD elasticsearch-api-8.12.2.ebuild 1654 BLAKE2B 6f41192c8a5e56dbbf550716787b7946e51132bddfb3fffe782d285186ea01ce146b1eeb5cd6c35bcf0c3342f4e5a2ef44b5ed2fb0b80cd2c8addde61773b418 SHA512 eea922f4a7cd5f5b8bc08f0529d6b0b0c94b90e11d0f4c981560550650ad74f6310a9f5fe033400c9a45f4237f7ae17792c0111436eabf5580a018606c40a43b EBUILD elasticsearch-api-8.13.0.ebuild 1654 BLAKE2B 6f41192c8a5e56dbbf550716787b7946e51132bddfb3fffe782d285186ea01ce146b1eeb5cd6c35bcf0c3342f4e5a2ef44b5ed2fb0b80cd2c8addde61773b418 SHA512 eea922f4a7cd5f5b8bc08f0529d6b0b0c94b90e11d0f4c981560550650ad74f6310a9f5fe033400c9a45f4237f7ae17792c0111436eabf5580a018606c40a43b diff --git a/dev-ruby/elasticsearch-api/elasticsearch-api-7.17.11.ebuild b/dev-ruby/elasticsearch-api/elasticsearch-api-7.17.11.ebuild new file mode 100644 index 000000000000..db4d2460fbf6 --- /dev/null +++ b/dev-ruby/elasticsearch-api/elasticsearch-api-7.17.11.ebuild @@ -0,0 +1,58 @@ +# 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_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="doc test" + +ruby_add_rdepend " + dev-ruby/multi_json +" +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 + ) +" + +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 '/config.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:^:#:' \ + -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 +} -- cgit v1.2.3