commit: 9aa3138ebd9841132e96b644df1ed85a4554259f Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> AuthorDate: Tue Jan 20 14:46:57 2026 +0000 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> CommitDate: Tue Jan 20 14:51:11 2026 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9aa3138e
dev-ruby/amq-protocol: add 2.5.1 Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> dev-ruby/amq-protocol/Manifest | 1 + dev-ruby/amq-protocol/amq-protocol-2.5.1.ebuild | 31 +++++++++++++++++++++++++ 2 files changed, 32 insertions(+) diff --git a/dev-ruby/amq-protocol/Manifest b/dev-ruby/amq-protocol/Manifest index b253eb37a49b..27f3ad0c8672 100644 --- a/dev-ruby/amq-protocol/Manifest +++ b/dev-ruby/amq-protocol/Manifest @@ -2,3 +2,4 @@ DIST amq-protocol-2.3.3.gem 46592 BLAKE2B 9da095241e4bb6da624f61269738307ddd6b06 DIST amq-protocol-2.3.4.gem 46592 BLAKE2B c8bd8ed13040d3b6e0ea0b27b27fe3dbdd8415da61b4c0f05ab87930b963ff93c5aaafb17f677c6a74c37b368c143b189bc0b01c2befa67fba551be0f69a8338 SHA512 08f1364ff0d21538c47f44f567670e54fb6eedf40b3627547a2580c105f6b54799078e8d839e04a100b79382d98aa0ce77b8dffaf50a2a33c32bf0b6356b0c9e DIST amq-protocol-2.4.0.gem 53248 BLAKE2B a5b2d5baebea4e0d76aa048b4949a7787b28478190d91ac8a316f66b81edac3b9f462846db0fbf01ae93db27b449b570807e04cd6b21e514beb833e6e4a84d10 SHA512 83f396513cfde378fc4c192ea51f59829dbca77429be2b831bb6c54bfea41ec28645421aec271f8fc0b83bcc4daa58f96c509c4e10308b8d854b598dd0c319c0 DIST amq-protocol-2.5.0.gem 53760 BLAKE2B bb59de78b90b1536af088d209cbbb8107b01c877604e0488b42e2a8275a061ac6c4582da2fcb603738b5fadf6a6825351b3d70e3e620619abb57b04bd2ceba09 SHA512 1989bcbad14dfa33b5bc8223954d1707bd448fce2c636f92fc19cce8004eac772d2df2b7ac4c386e627d039878ab433c6b6f727e467eaf2b1e27345c7434af21 +DIST amq-protocol-2.5.1.tar.gz 49866 BLAKE2B 34de38582ae1d2d8daa9b3b1f9255a4c29bf9c9fe8885a06aed3d7f5b83da1fcbacaef3f1d5d9b6ef6a767ce631ffde8c26e3d901516b4d23a34432d6f035248 SHA512 c102ae9e01029b9b3f05eb5e52a42886f6ac64335851a2b0002027d9b65c8a033c01515198b898edf697e45b7ca6dd68a48a56df4b224c572982d091dd42fe9e diff --git a/dev-ruby/amq-protocol/amq-protocol-2.5.1.ebuild b/dev-ruby/amq-protocol/amq-protocol-2.5.1.ebuild new file mode 100644 index 000000000000..afe0ac7ed495 --- /dev/null +++ b/dev-ruby/amq-protocol/amq-protocol-2.5.1.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby32 ruby33 ruby34 ruby40" + +RUBY_FAKEGEM_EXTRADOC="ChangeLog.md README.md" +RUBY_FAKEGEM_GEMSPEC="amq-protocol.gemspec" +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" +SRC_URI="https://github.com/ruby-amqp/amq-protocol/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +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 +}
