commit: 9809ab46256f1e350745ba22066196048c58ab03 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> AuthorDate: Wed Dec 31 06:32:49 2025 +0000 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> CommitDate: Wed Dec 31 06:34:47 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9809ab46
dev-ruby/amq-protocol: add 2.4.0 Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> dev-ruby/amq-protocol/Manifest | 1 + dev-ruby/amq-protocol/amq-protocol-2.4.0.ebuild | 30 +++++++++++++++++++++++++ 2 files changed, 31 insertions(+) diff --git a/dev-ruby/amq-protocol/Manifest b/dev-ruby/amq-protocol/Manifest index 24926de5201b..2da7abada1df 100644 --- a/dev-ruby/amq-protocol/Manifest +++ b/dev-ruby/amq-protocol/Manifest @@ -1,2 +1,3 @@ DIST amq-protocol-2.3.3.gem 46592 BLAKE2B 9da095241e4bb6da624f61269738307ddd6b0620e50507d82e2adc743d1f31cee1383d27019edbc9ab3cd9a7593c7e82703a92fdf882f1c4f65a490987b63304 SHA512 4c8377f65c35d58331c836d2b46548d928048f8e0c7a50438eaf48db4ede1a5610d90aaf45a2bff4992f82ef81381d254ecdfcd7b705e1a3d5d9badf45e441f1 DIST amq-protocol-2.3.4.gem 46592 BLAKE2B c8bd8ed13040d3b6e0ea0b27b27fe3dbdd8415da61b4c0f05ab87930b963ff93c5aaafb17f677c6a74c37b368c143b189bc0b01c2befa67fba551be0f69a8338 SHA512 08f1364ff0d21538c47f44f567670e54fb6eedf40b3627547a2580c105f6b54799078e8d839e04a100b79382d98aa0ce77b8dffaf50a2a33c32bf0b6356b0c9e +DIST amq-protocol-2.4.0.gem 53248 BLAKE2B a5b2d5baebea4e0d76aa048b4949a7787b28478190d91ac8a316f66b81edac3b9f462846db0fbf01ae93db27b449b570807e04cd6b21e514beb833e6e4a84d10 SHA512 83f396513cfde378fc4c192ea51f59829dbca77429be2b831bb6c54bfea41ec28645421aec271f8fc0b83bcc4daa58f96c509c4e10308b8d854b598dd0c319c0 diff --git a/dev-ruby/amq-protocol/amq-protocol-2.4.0.ebuild b/dev-ruby/amq-protocol/amq-protocol-2.4.0.ebuild new file mode 100644 index 000000000000..212a7fa94f17 --- /dev/null +++ b/dev-ruby/amq-protocol/amq-protocol-2.4.0.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby32 ruby33 ruby34" + +RUBY_FAKEGEM_EXTRADOC="ChangeLog.md README.md" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +inherit ruby-fakegem + +DESCRIPTION="An AMQP 0.9.1 serialization library for Ruby" +HOMEPAGE="https://github.com/ruby-amqp/amq-protocol" + +LICENSE="MIT" +SLOT="2" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +ruby_add_bdepend "test? ( dev-ruby/bundler dev-ruby/rspec-its )" + +all_ruby_prepare() { + sed -i -e '/\(gem.*benchmark\|simplecov\|effin_utf8\|byebug\)/ s:^:#:' Gemfile || die + sed -i -e '/effin_utf8/ s:^:#:' spec/spec_helper.rb || die + + # Avoid spec where host is either nil or "" depending on ruby version + sed -i -e '/falls back to default nil host/ s/it/xit/' spec/amq/uri_parsing_spec.rb || die +}
