commit: c6586516b3dbe98b80c96f0394107c3d5a2da40b Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> AuthorDate: Tue Feb 18 05:57:58 2025 +0000 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> CommitDate: Tue Feb 18 05:58:52 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c6586516
dev-ruby/amq-protocol: add 2.3.3 Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> dev-ruby/amq-protocol/Manifest | 1 + dev-ruby/amq-protocol/amq-protocol-2.3.3.ebuild | 29 +++++++++++++++++++++++++ 2 files changed, 30 insertions(+) diff --git a/dev-ruby/amq-protocol/Manifest b/dev-ruby/amq-protocol/Manifest index 56c3923de04b..52c9be1be826 100644 --- a/dev-ruby/amq-protocol/Manifest +++ b/dev-ruby/amq-protocol/Manifest @@ -1 +1,2 @@ DIST amq-protocol-2.3.2.gem 46080 BLAKE2B 22e9cf6bf96df7f85c65f0e25a0bedb38f6e75b6a5eff3f7574d1e4f2b733fb697c3cfa8db9227733847d96b256f4127b061a28e24f43114acdcd88b364bf08c SHA512 9e526920989e5fcf679e5ba7f3a2e77546ae9488590a2ef3a600f4df6cb96d3530472bbe15dd951a06ef7cdec2544353a21e4acccce494b5fd44c3ac06b70ef0 +DIST amq-protocol-2.3.3.gem 46592 BLAKE2B 9da095241e4bb6da624f61269738307ddd6b0620e50507d82e2adc743d1f31cee1383d27019edbc9ab3cd9a7593c7e82703a92fdf882f1c4f65a490987b63304 SHA512 4c8377f65c35d58331c836d2b46548d928048f8e0c7a50438eaf48db4ede1a5610d90aaf45a2bff4992f82ef81381d254ecdfcd7b705e1a3d5d9badf45e441f1 diff --git a/dev-ruby/amq-protocol/amq-protocol-2.3.3.ebuild b/dev-ruby/amq-protocol/amq-protocol-2.3.3.ebuild new file mode 100644 index 000000000000..13ae496abe42 --- /dev/null +++ b/dev-ruby/amq-protocol/amq-protocol-2.3.3.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby31 ruby32 ruby33" + +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 '/\(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 +}
