diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-09-01 12:01:16 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-09-01 12:01:16 +0100 |
commit | 4d37b8aa4c6b04fa417e8f87f276f7e08a411ee0 (patch) | |
tree | a53cac2dfa1e2a70dea6c0d6d6e1d7ff3bde743d /dev-ruby/elasticsearch-api | |
parent | 5b7f6475da27c05b30659a00ecb49636aca2bece (diff) |
gentoo auto-resync : 01:09:2024 - 12:01:15
Diffstat (limited to 'dev-ruby/elasticsearch-api')
-rw-r--r-- | dev-ruby/elasticsearch-api/Manifest | 2 | ||||
-rw-r--r-- | dev-ruby/elasticsearch-api/elasticsearch-api-8.15.0.ebuild | 65 |
2 files changed, 67 insertions, 0 deletions
diff --git a/dev-ruby/elasticsearch-api/Manifest b/dev-ruby/elasticsearch-api/Manifest index 7466caf21784..384d8cc6f300 100644 --- a/dev-ruby/elasticsearch-api/Manifest +++ b/dev-ruby/elasticsearch-api/Manifest @@ -3,9 +3,11 @@ DIST elasticsearch-ruby-7.17.11.tar.gz 1033022 BLAKE2B 77fb6b37d447af88a6b093bf3 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.14.0.tar.gz 1918771 BLAKE2B 1824edd7ae6ade20b58cb56dfa01b9e9d5d833918cddbba49f7f0d258eff6a19c55f112d7dd70f9457274b457851b59a208db3b1e69c1f12867951b960333c99 SHA512 36fb8fb18e410df7f2c4c46e2ffaed0ea591879ad4e753d178513281be5de78bd7ee1cda5cbbf02313cd255ad85e010f92bc5690f16f2ab91fd38bb0d17f8dbc +DIST elasticsearch-ruby-8.15.0.tar.gz 1935690 BLAKE2B 380eebdb9fdcce1600051d9078d8af90789fa4f0b91266fe2297092aa32eed96dabe591fad69f8f4a37f56f15dbbe32a79d07c25693cc83907ba52eb10a77c32 SHA512 011f01914e457959f9737a65cc1fc09e0c31f70c4c4976a14b2506a2b66f4ffbaadc8fb643db10ec90b70a7cc0012c7752aecd598a76a9281cf12586e27fb08a 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.12.2.ebuild 1654 BLAKE2B 6f41192c8a5e56dbbf550716787b7946e51132bddfb3fffe782d285186ea01ce146b1eeb5cd6c35bcf0c3342f4e5a2ef44b5ed2fb0b80cd2c8addde61773b418 SHA512 eea922f4a7cd5f5b8bc08f0529d6b0b0c94b90e11d0f4c981560550650ad74f6310a9f5fe033400c9a45f4237f7ae17792c0111436eabf5580a018606c40a43b EBUILD elasticsearch-api-8.13.0.ebuild 1654 BLAKE2B 6f41192c8a5e56dbbf550716787b7946e51132bddfb3fffe782d285186ea01ce146b1eeb5cd6c35bcf0c3342f4e5a2ef44b5ed2fb0b80cd2c8addde61773b418 SHA512 eea922f4a7cd5f5b8bc08f0529d6b0b0c94b90e11d0f4c981560550650ad74f6310a9f5fe033400c9a45f4237f7ae17792c0111436eabf5580a018606c40a43b EBUILD elasticsearch-api-8.14.0.ebuild 1654 BLAKE2B 6f41192c8a5e56dbbf550716787b7946e51132bddfb3fffe782d285186ea01ce146b1eeb5cd6c35bcf0c3342f4e5a2ef44b5ed2fb0b80cd2c8addde61773b418 SHA512 eea922f4a7cd5f5b8bc08f0529d6b0b0c94b90e11d0f4c981560550650ad74f6310a9f5fe033400c9a45f4237f7ae17792c0111436eabf5580a018606c40a43b +EBUILD elasticsearch-api-8.15.0.ebuild 1659 BLAKE2B cb836aa9a99a657aeda03d59f21666503274e6faa311579bb9e0f36f66286b2b305219d2e126005274c77d5652e921c186455748c9861341a1c48fee48cb7736 SHA512 deb41ee5ed3b5acc33aea8df7974be3c98f89eaf0fa712cf6df63ac1395779740145b1c8b5c651c15b12269fcb30ea30b185581aa8a3d9992fb83ac40e2a8043 MISC metadata.xml 316 BLAKE2B 6dd63e5f6301f77e0a7eaa6cede387182abac37b0bd81ea6484e7a211318aadcdf8bb86f8b5b40abe82402a99c8ccaf9ca168921d085ddbb70319afd5e256db3 SHA512 28e3e5371dad297baa577034783afa219b4796d6dfbbcd24ad1e90c47f130dbaebdf0a9a76bf38a0b9e7df610d24cdc3a7b92f76bf1ff92b8ed88bcf861de881 diff --git a/dev-ruby/elasticsearch-api/elasticsearch-api-8.15.0.ebuild b/dev-ruby/elasticsearch-api/elasticsearch-api-8.15.0.ebuild new file mode 100644 index 000000000000..1d03ce30f109 --- /dev/null +++ b/dev-ruby/elasticsearch-api/elasticsearch-api-8.15.0.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2024 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_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="test" + +ruby_add_rdepend " + dev-ruby/multi_json +" +ruby_add_bdepend " + doc? ( dev-ruby/yard ) + test? ( + dev-ruby/ansi + dev-ruby/elasticsearch + dev-ruby/elastic-transport + dev-ruby/mocha:2 + dev-ruby/patron + 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 '/add_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:^:#:' \ + -e '/ansi/arequire "patron"' \ + -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 + + # Create tmp directory required for tests + mkdir -p ../tmp/rest-api-spec/api || die +} |