summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-ruby/amq-protocol/Manifest1
-rw-r--r--dev-ruby/amq-protocol/amq-protocol-2.3.4.ebuild29
2 files changed, 30 insertions, 0 deletions
diff --git a/dev-ruby/amq-protocol/Manifest b/dev-ruby/amq-protocol/Manifest
index 19339bae3b76..24926de5201b 100644
--- a/dev-ruby/amq-protocol/Manifest
+++ b/dev-ruby/amq-protocol/Manifest
@@ -1 +1,2 @@
DIST amq-protocol-2.3.3.gem 46592 BLAKE2B 9da095241e4bb6da624f61269738307ddd6b0620e50507d82e2adc743d1f31cee1383d27019edbc9ab3cd9a7593c7e82703a92fdf882f1c4f65a490987b63304 SHA512 4c8377f65c35d58331c836d2b46548d928048f8e0c7a50438eaf48db4ede1a5610d90aaf45a2bff4992f82ef81381d254ecdfcd7b705e1a3d5d9badf45e441f1
+DIST amq-protocol-2.3.4.gem 46592 BLAKE2B c8bd8ed13040d3b6e0ea0b27b27fe3dbdd8415da61b4c0f05ab87930b963ff93c5aaafb17f677c6a74c37b368c143b189bc0b01c2befa67fba551be0f69a8338 SHA512 08f1364ff0d21538c47f44f567670e54fb6eedf40b3627547a2580c105f6b54799078e8d839e04a100b79382d98aa0ce77b8dffaf50a2a33c32bf0b6356b0c9e
diff --git a/dev-ruby/amq-protocol/amq-protocol-2.3.4.ebuild b/dev-ruby/amq-protocol/amq-protocol-2.3.4.ebuild
new file mode 100644
index 000000000000..2640f3d1fb5c
--- /dev/null
+++ b/dev-ruby/amq-protocol/amq-protocol-2.3.4.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="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 '/\(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
+}