summaryrefslogtreecommitdiff
path: root/dev-ruby
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-07-19 03:05:46 -0500
committerroot <root@alpha.trunkmasters.com>2026-07-19 03:05:46 -0500
commit2b878031702361370da8f648ac080b3fe38f34d3 (patch)
treeb589026a2cdd86f9f0d7478fc94d4631076ef26c /dev-ruby
parent08bfa3f8ec685ab603d0c1995d79d00a1a0fbe1a (diff)
downloadbaldeagleos-repo-2b878031702361370da8f648ac080b3fe38f34d3.tar.gz
baldeagleos-repo-2b878031702361370da8f648ac080b3fe38f34d3.tar.xz
baldeagleos-repo-2b878031702361370da8f648ac080b3fe38f34d3.zip
Adding metadata
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/amq-client/amq-client-1.0.4-r1.ebuild4
-rw-r--r--dev-ruby/binding_of_caller/Manifest1
-rw-r--r--dev-ruby/binding_of_caller/binding_of_caller-2.0.0.ebuild31
-rw-r--r--dev-ruby/charlock_holmes/charlock_holmes-0.7.9.ebuild4
-rw-r--r--dev-ruby/duktape-rb/duktape-rb-2.7.0.0.ebuild4
-rw-r--r--dev-ruby/duktape-rb/files/duktape-rb-2.3.0.0_use-system-duktape.patch2
-rw-r--r--dev-ruby/evented-spec/evented-spec-0.9.0-r1.ebuild2
-rw-r--r--dev-ruby/html2haml/files/html2haml-2.3.0-fix-nokogiri-html-doctype-test.patch21
-rw-r--r--dev-ruby/html2haml/html2haml-2.3.0.ebuild8
-rw-r--r--dev-ruby/httpclient/httpclient-2.9.0.ebuild4
-rw-r--r--dev-ruby/jwt/Manifest5
-rw-r--r--dev-ruby/jwt/files/jwt-2.10.3-ruby40.patch39
-rw-r--r--dev-ruby/jwt/jwt-2.10.3.ebuild (renamed from dev-ruby/jwt/jwt-3.1.0.ebuild)17
-rw-r--r--dev-ruby/jwt/jwt-3.1.1.ebuild36
-rw-r--r--dev-ruby/jwt/jwt-3.2.0.ebuild (renamed from dev-ruby/jwt/jwt-3.0.0.ebuild)4
-rw-r--r--dev-ruby/libusb/libusb-0.7.2.ebuild12
-rw-r--r--dev-ruby/mecab-ruby/mecab-ruby-0.996-r2.ebuild9
-rw-r--r--dev-ruby/metasm/metasm-1.0.5-r3.ebuild (renamed from dev-ruby/metasm/metasm-1.0.5-r2.ebuild)10
-rw-r--r--dev-ruby/minitest-power_assert/files/minitest-power_assert-0.3.1-ruby34.patch47
-rw-r--r--dev-ruby/minitest-power_assert/minitest-power_assert-0.3.1-r1.ebuild8
-rw-r--r--dev-ruby/openfact/openfact-5.6.1.ebuild2
-rw-r--r--dev-ruby/rrdtool-bindings/rrdtool-bindings-1.9.0-r1.ebuild4
-rw-r--r--dev-ruby/ruby-progressbar/ruby-progressbar-1.13.0-r1.ebuild4
-rw-r--r--dev-ruby/ruby-romkan/ruby-romkan-0.4-r7.ebuild4
-rw-r--r--dev-ruby/simplecov/simplecov-0.22.0.ebuild4
25 files changed, 205 insertions, 81 deletions
diff --git a/dev-ruby/amq-client/amq-client-1.0.4-r1.ebuild b/dev-ruby/amq-client/amq-client-1.0.4-r1.ebuild
index e1dc912c71b8..8c6515f86255 100644
--- a/dev-ruby/amq-client/amq-client-1.0.4-r1.ebuild
+++ b/dev-ruby/amq-client/amq-client-1.0.4-r1.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-USE_RUBY="ruby30 ruby31 ruby32"
+USE_RUBY="ruby32 ruby33 ruby34 ruby40"
RUBY_FAKEGEM_TASK_DOC=""
RUBY_FAKEGEM_EXTRADOC="README.textile"
diff --git a/dev-ruby/binding_of_caller/Manifest b/dev-ruby/binding_of_caller/Manifest
index c259e0abaef9..8aea884a6f62 100644
--- a/dev-ruby/binding_of_caller/Manifest
+++ b/dev-ruby/binding_of_caller/Manifest
@@ -1 +1,2 @@
DIST binding_of_caller-1.0.1.tar.gz 7514 BLAKE2B 1a6786d4fa2a01f72bf5b38f8fced3950826488501fa15fb8b37188e345d6a93ce8a4598f7c4c0048ca05bfae8ff23daab8a0fb89da3140f83f20dbca60ae1f3 SHA512 ebdcb2e0e41efef38eec2aa814f4d875249e1fb4f4719238fae2c92533a37324fe64bc9edbebddf2d240f0c3dd213fddf1584cb9841e4fc946c6aecbe8543e34
+DIST binding_of_caller-2.0.0.tar.gz 7487 BLAKE2B ec4f6344b609883c148be62965df99c9fc649d84e7cada029da31ac7ae50498135367fc4efaaf915a90f50969f89fb6ba562d50610e7989ddefa2d7718fc0950 SHA512 37a5969f12a71b311e925ecd9725df95f9fc3c46232e536b999416f7bf7b14013193007f1811349eafd944640917c0196db05cc54d6287d6d493fa55169b06a1
diff --git a/dev-ruby/binding_of_caller/binding_of_caller-2.0.0.ebuild b/dev-ruby/binding_of_caller/binding_of_caller-2.0.0.ebuild
new file mode 100644
index 000000000000..1446bbf6d4ca
--- /dev/null
+++ b/dev-ruby/binding_of_caller/binding_of_caller-2.0.0.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="README.md"
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+
+RUBY_FAKEGEM_GEMSPEC="binding_of_caller.gemspec"
+
+RUBY_FAKEGEM_BINWRAP=""
+
+inherit ruby-fakegem
+
+DESCRIPTION="Retrieve the binding of a method's caller"
+HOMEPAGE="https://github.com/banister/binding_of_caller"
+SRC_URI="https://github.com/banister/binding_of_caller/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="test"
+
+ruby_add_rdepend ">=dev-ruby/debug_inspector-1.2.0"
+
+all_ruby_prepare() {
+ sed -i -e "s:_relative ': './:" -e 's/git ls-files -z/find * -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die
+ sed -i -e '/bundler/ s:^:#:' spec/spec_helper.rb || die
+}
diff --git a/dev-ruby/charlock_holmes/charlock_holmes-0.7.9.ebuild b/dev-ruby/charlock_holmes/charlock_holmes-0.7.9.ebuild
index a3dcfa3a3e13..a3fca7dfb686 100644
--- a/dev-ruby/charlock_holmes/charlock_holmes-0.7.9.ebuild
+++ b/dev-ruby/charlock_holmes/charlock_holmes-0.7.9.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2025 Gentoo Authors
+# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-USE_RUBY="ruby31 ruby32 ruby33 ruby34"
+USE_RUBY="ruby32 ruby33 ruby34 ruby40"
RUBY_FAKEGEM_EXTRADOC="README.md"
diff --git a/dev-ruby/duktape-rb/duktape-rb-2.7.0.0.ebuild b/dev-ruby/duktape-rb/duktape-rb-2.7.0.0.ebuild
index 4232b07c6107..f11c36fde015 100644
--- a/dev-ruby/duktape-rb/duktape-rb-2.7.0.0.ebuild
+++ b/dev-ruby/duktape-rb/duktape-rb-2.7.0.0.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-USE_RUBY="ruby31 ruby32 ruby33"
+USE_RUBY="ruby32 ruby33 ruby34 ruby40"
RUBY_FAKEGEM_GEMSPEC="duktape.gemspec"
RUBY_FAKEGEM_NAME="duktape"
diff --git a/dev-ruby/duktape-rb/files/duktape-rb-2.3.0.0_use-system-duktape.patch b/dev-ruby/duktape-rb/files/duktape-rb-2.3.0.0_use-system-duktape.patch
index 9f35293c9e81..b7defdf3cc16 100644
--- a/dev-ruby/duktape-rb/files/duktape-rb-2.3.0.0_use-system-duktape.patch
+++ b/dev-ruby/duktape-rb/files/duktape-rb-2.3.0.0_use-system-duktape.patch
@@ -45,7 +45,7 @@
+end
+
+def duktape_try_compile
-+ try_compile "int main() {return 0;}", "", {werror: true}
++ try_compile "int main() {return 0;}", "", werror: true
+end
+
+def add_cflags(flags)
diff --git a/dev-ruby/evented-spec/evented-spec-0.9.0-r1.ebuild b/dev-ruby/evented-spec/evented-spec-0.9.0-r1.ebuild
index b41b1454fb64..892613e58aa8 100644
--- a/dev-ruby/evented-spec/evented-spec-0.9.0-r1.ebuild
+++ b/dev-ruby/evented-spec/evented-spec-0.9.0-r1.ebuild
@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-USE_RUBY="ruby30 ruby31 ruby32 ruby33"
+USE_RUBY="ruby32 ruby33 ruby34 ruby40"
RUBY_FAKEGEM_TASK_DOC=""
RUBY_FAKEGEM_EXTRADOC="README.textile"
diff --git a/dev-ruby/html2haml/files/html2haml-2.3.0-fix-nokogiri-html-doctype-test.patch b/dev-ruby/html2haml/files/html2haml-2.3.0-fix-nokogiri-html-doctype-test.patch
new file mode 100644
index 000000000000..6e5e48093b02
--- /dev/null
+++ b/dev-ruby/html2haml/files/html2haml-2.3.0-fix-nokogiri-html-doctype-test.patch
@@ -0,0 +1,21 @@
+https://bugs.gentoo.org/978789
+https://salsa.debian.org/ruby-team/ruby-html2haml/-/raw/43ee4344adf16ea3888eb20afa7dcbcdbcfd74cd/debian/patches/fix-nokogiri-html-doctype-test.patch
+
+Description: update test for Nokogiri 1.18+ HTML parsing
+ Nokogiri no longer auto-inserts a default meta charset tag when parsing
+ HTML documents without a doctype.
+Bug: https://github.com/haml/html2haml/issues/97
+Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1120233
+Forwarded: not-needed
+Author: Simon Quigley <tsimonq2@debian.org>
+Last-Update: 2026-07-05
+--- a/test/html2haml_test.rb
++++ b/test/html2haml_test.rb
+@@ -406,7 +406,6 @@
+ !!!
+ %html
+ %head
+- %meta{:content => "text/html; charset=UTF-8", "http-equiv" => "Content-Type"}/
+ %title Hello
+ %body
+ %p Hello
diff --git a/dev-ruby/html2haml/html2haml-2.3.0.ebuild b/dev-ruby/html2haml/html2haml-2.3.0.ebuild
index f33e9cbff4d4..35d535386469 100644
--- a/dev-ruby/html2haml/html2haml-2.3.0.ebuild
+++ b/dev-ruby/html2haml/html2haml-2.3.0.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-USE_RUBY="ruby31 ruby32 ruby33"
+USE_RUBY="ruby32 ruby33 ruby34"
RUBY_FAKEGEM_EXTRADOC="README.md Changelog.markdown"
RUBY_FAKEGEM_RECIPE_DOC="yard"
@@ -25,6 +25,10 @@ ruby_add_rdepend ">=dev-ruby/nokogiri-1.6.0
ruby_add_bdepend "test? ( dev-ruby/minitest )"
+PATCHES=(
+ "${FILESDIR}"/html2haml-2.3.0-fix-nokogiri-html-doctype-test.patch # bug #978789
+)
+
all_ruby_prepare() {
sed -e "/bundler/d" \
-e 's/MiniTest::Unit::TestCase/Minitest::Test/' \
diff --git a/dev-ruby/httpclient/httpclient-2.9.0.ebuild b/dev-ruby/httpclient/httpclient-2.9.0.ebuild
index 5dbc2d9ee3e9..8b65e00122c9 100644
--- a/dev-ruby/httpclient/httpclient-2.9.0.ebuild
+++ b/dev-ruby/httpclient/httpclient-2.9.0.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2025 Gentoo Authors
+# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-USE_RUBY="ruby31 ruby32 ruby33 ruby34"
+USE_RUBY="ruby32 ruby33 ruby34 ruby40"
RUBY_FAKEGEM_TASK_TEST="-Ilib test"
RUBY_FAKEGEM_TASK_DOC="doc"
diff --git a/dev-ruby/jwt/Manifest b/dev-ruby/jwt/Manifest
index 524c89bc3a86..5ee111053c2f 100644
--- a/dev-ruby/jwt/Manifest
+++ b/dev-ruby/jwt/Manifest
@@ -1,5 +1,4 @@
DIST jwt-2.10.1.tar.gz 88211 BLAKE2B 765f166ef7bbde77c47e66e04778ab6ad0f2d66aaa2b79deb153117488c171cf655f5660d96a6f2aaa7887f699d1527eb6ff2ba93465533547f6a86259d66ae8 SHA512 f7ad9597d83c26af110f48217494f606362f33947f9ffeb1219c9c5b412b6ab5098a4ccb9198648b0bf5f9bcc79d3435ee339504411f3c32cd0c2b104fa2c73e
-DIST jwt-3.0.0.tar.gz 84987 BLAKE2B 18ee595e21c58a3f23f94469d707e7216e4a083b7f44ace3d9fff67484843b0cba0c209dc3b1d9f47622be6dafd2e3ae6694ff8e6b6dbae5800fdbee10c16924 SHA512 5769479aea0e7adbf92aee01220d657c89cf16e709e57d1ecefd81faa0fd5a0dc4e452ed6b3c742266021748787153307de20baeed365234471dcaf93b9118d5
-DIST jwt-3.1.0.tar.gz 87026 BLAKE2B 45547002de87558770c144e45a4d8b576237657cacf37dc699701e2e7bdba16b1add57212aa8b249b3157a85ef29024fc84f2e3cc97b387d0684785f2b6600c9 SHA512 e6fd3d4b4a07c959dbda8291b6f2ce5249809ef978392652b7874e93dee3f1511787f3f8d6b825602a47910d2c8684b1c8ac74d72c5a2c5a9bd9dc1b2e0c358e
-DIST jwt-3.1.1.tar.gz 87604 BLAKE2B 446df145ebf59494cb04080627faa4eb37b9eb558f95033b8981d2843b3c54d6b4ecb4ab58393672dd7dab09c065cb57ebe314d21209fc7a701a87e59ff4d78d SHA512 53d777081469779a30bdf56bc433331ba779033a06937de813adcf883184ed3afc41ef17b1b9e0e2195e170c6e4683fc19e3c2039339dc1d13fa2b0d43eb1566
+DIST jwt-2.10.3.tar.gz 88536 BLAKE2B bcf02ea750e146d4529ae274082862905a97dc68915eb78358e4dbb65144e0c6333e016ac02b778128cf55140eca26904db1e47cefb59dafd53ddb4869104b97 SHA512 7790a292faee005b382a16d97b395de46ad2f8bc01eb8b3e33b4a7dc13bf65edc019dbd848b8b2fa9179dac286fce9a36fae879a58a434c54134128a8682b865
DIST jwt-3.1.2.tar.gz 88322 BLAKE2B 1538b1dd0edddd968a0f7ac6ab4212cfc31f431031e7f8e7afbce75ea72fcc25cd89cae7322bc3e6c06addf0a9682c34acaa5e65a68e9eca94c3a70d053ca07d SHA512 29d78bc03b55f7683fbe1d6520de3547b5111c6e2d131198511cb110015355d05b32b58a123ab6f315b0c6ff77b82c1575afe1e72736dbeb764848ec18588aad
+DIST jwt-3.2.0.tar.gz 89031 BLAKE2B bd7462558fe38687ce70bb6714a36ad2cc22f2380d5b8aa5211f0fd1db0f817f720dcb827ea499ada3431a6d8095c2c4810b18ca9f025c68b59e3fae289b4b02 SHA512 3eaa4818a04d8a841c165e90b3d2cdb778c8e5b1088888b73fd2dda1b77564073ae99bce253c019f43f6cb146ec1ae5bc418ddf83ebd9c11c4ef04b489b6db28
diff --git a/dev-ruby/jwt/files/jwt-2.10.3-ruby40.patch b/dev-ruby/jwt/files/jwt-2.10.3-ruby40.patch
new file mode 100644
index 000000000000..b247ad82dcc6
--- /dev/null
+++ b/dev-ruby/jwt/files/jwt-2.10.3-ruby40.patch
@@ -0,0 +1,39 @@
+https://github.com/jwt/ruby-jwt/pull/706
+
+From 2c4d9bd89569f191d303b9ae1b7d94e0f67a2c3e Mon Sep 17 00:00:00 2001
+From: Joakim Antman <antmanj@gmail.com>
+Date: Thu, 13 Nov 2025 21:36:20 +0200
+Subject: [PATCH 1/4] Fix compatibility with openssl
+
+--- a/lib/jwt/jwk/rsa.rb
++++ b/lib/jwt/jwk/rsa.rb
+@@ -195,7 +195,7 @@ def validate_rsa_parameters!(rsa_parameters)
+
+ if ::JWT.openssl_3?
+ alias create_rsa_key create_rsa_key_using_der
+- elsif OpenSSL::PKey::RSA.new.respond_to?(:set_key)
++ elsif OpenSSL::PKey::RSA.method_defined?(:set_key)
+ alias create_rsa_key create_rsa_key_using_sets
+ else
+ alias create_rsa_key create_rsa_key_using_accessors
+--- a/spec/jwt/jwk/rsa_spec.rb
++++ b/spec/jwt/jwk/rsa_spec.rb
+@@ -262,7 +262,7 @@
+
+ describe '.create_rsa_key_using_sets' do
+ before do
+- skip 'OpenSSL without the RSA#set_key method not supported' unless OpenSSL::PKey::RSA.new.respond_to?(:set_key)
++ skip 'OpenSSL without the RSA#set_key method not supported' unless OpenSSL::PKey::RSA.method_defined?(:set_key)
+ skip 'OpenSSL 3.0 does not allow mutating objects anymore' if JWT.openssl_3?
+ end
+
+@@ -274,7 +274,7 @@
+
+ describe '.create_rsa_key_using_accessors' do
+ before do
+- skip 'OpenSSL if RSA#set_key is available there is no accessors anymore' if OpenSSL::PKey::RSA.new.respond_to?(:set_key)
++ skip 'OpenSSL if RSA#set_key is available there is no accessors anymore' if OpenSSL::PKey::RSA.method_defined?(:set_key)
+ end
+
+ subject(:rsa) { described_class.create_rsa_key_using_accessors(rsa_parameters) }
+
diff --git a/dev-ruby/jwt/jwt-3.1.0.ebuild b/dev-ruby/jwt/jwt-2.10.3.ebuild
index 9a4598c03dd6..66fa5688fedb 100644
--- a/dev-ruby/jwt/jwt-3.1.0.ebuild
+++ b/dev-ruby/jwt/jwt-2.10.3.ebuild
@@ -1,9 +1,8 @@
-# Copyright 1999-2025 Gentoo Authors
+# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-
-USE_RUBY="ruby32 ruby33 ruby34"
+USE_RUBY="ruby32 ruby33 ruby34 ruby40"
RUBY_FAKEGEM_RECIPE_TEST="rspec3"
@@ -17,15 +16,19 @@ HOMEPAGE="https://github.com/jwt/ruby-jwt"
SRC_URI="https://github.com/jwt/ruby-jwt/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
-SLOT="$(ver_cut 1)"
+SLOT="2"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
-IUSE="test"
+IUSE="eddsa test"
RUBY_S="ruby-jwt-${PV}"
-ruby_add_rdepend "dev-ruby/base64"
+ruby_add_rdepend "dev-ruby/base64 eddsa? ( dev-ruby/rbnacl )"
+
+ruby_add_bdepend "test? ( dev-ruby/rbnacl )"
-ruby_add_bdepend "test? ( dev-ruby/logger )"
+PATCHES=(
+ "${FILESDIR}"/jwt-2.10.3-ruby40.patch
+)
all_ruby_prepare() {
sed -i -e "/simplecov/ s:^:#:" \
diff --git a/dev-ruby/jwt/jwt-3.1.1.ebuild b/dev-ruby/jwt/jwt-3.1.1.ebuild
deleted file mode 100644
index 9a4598c03dd6..000000000000
--- a/dev-ruby/jwt/jwt-3.1.1.ebuild
+++ /dev/null
@@ -1,36 +0,0 @@
-# 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_RECIPE_TEST="rspec3"
-
-RUBY_FAKEGEM_BINWRAP=""
-RUBY_FAKEGEM_GEMSPEC="ruby-jwt.gemspec"
-
-inherit ruby-fakegem
-
-DESCRIPTION="A Ruby implementation of JSON Web Token draft 06"
-HOMEPAGE="https://github.com/jwt/ruby-jwt"
-SRC_URI="https://github.com/jwt/ruby-jwt/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="$(ver_cut 1)"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
-IUSE="test"
-
-RUBY_S="ruby-jwt-${PV}"
-
-ruby_add_rdepend "dev-ruby/base64"
-
-ruby_add_bdepend "test? ( dev-ruby/logger )"
-
-all_ruby_prepare() {
- sed -i -e "/simplecov/ s:^:#:" \
- -e '/^SimpleCov.start/,/^end/ s:^:#:' \
- spec/spec_helper.rb || die
-
- sed -i -e 's/git ls-files -z/find * -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die
-}
diff --git a/dev-ruby/jwt/jwt-3.0.0.ebuild b/dev-ruby/jwt/jwt-3.2.0.ebuild
index 9a4598c03dd6..f17e61533889 100644
--- a/dev-ruby/jwt/jwt-3.0.0.ebuild
+++ b/dev-ruby/jwt/jwt-3.2.0.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2025 Gentoo Authors
+# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-USE_RUBY="ruby32 ruby33 ruby34"
+USE_RUBY="ruby32 ruby33 ruby34 ruby40"
RUBY_FAKEGEM_RECIPE_TEST="rspec3"
diff --git a/dev-ruby/libusb/libusb-0.7.2.ebuild b/dev-ruby/libusb/libusb-0.7.2.ebuild
index f14719a8f8ba..a8d507215654 100644
--- a/dev-ruby/libusb/libusb-0.7.2.ebuild
+++ b/dev-ruby/libusb/libusb-0.7.2.ebuild
@@ -1,9 +1,9 @@
-# Copyright 2022-2024 Gentoo Authors
+# Copyright 2022-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-USE_RUBY="ruby31 ruby32"
+USE_RUBY="ruby32 ruby33 ruby34 ruby40"
RUBY_FAKEGEM_EXTRADOC="History.md README.md"
RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
@@ -28,13 +28,13 @@ all_ruby_prepare() {
-e 's/git ls-files --/find/' \
-e 's/git ls-files/find */' \
-i ${RUBY_FAKEGEM_GEMSPEC} || die
-
- # Avoid tests that try to open devices or depend on specific hardware
- rm -f test/test_libusb_{bos,bulk_stream_transfer,descriptors}.rb || die
}
each_ruby_test() {
- ${RUBY} -I.:lib -e "Dir['test/test_*.rb'].each{|f| require f}" || die
+ # https://github.com/larskanis/libusb/tree/master#testing-libusb-gem
+ # See ci task in the rakefile
+ ${RUBY} -I.:lib -e "Dir['test/test_libusb(_structs)?.rb'].each{|f| require f}" -- --verbose || die
+
}
each_ruby_install() {
diff --git a/dev-ruby/mecab-ruby/mecab-ruby-0.996-r2.ebuild b/dev-ruby/mecab-ruby/mecab-ruby-0.996-r2.ebuild
index 709ab6488ce2..ed485abfaee4 100644
--- a/dev-ruby/mecab-ruby/mecab-ruby-0.996-r2.ebuild
+++ b/dev-ruby/mecab-ruby/mecab-ruby-0.996-r2.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-USE_RUBY="ruby31 ruby32 ruby33 ruby34"
+USE_RUBY="ruby32 ruby33 ruby34 ruby40"
inherit ruby-ng
@@ -29,6 +29,11 @@ each_ruby_compile() {
emake V=1
}
+each_ruby_test() {
+ # Not a real test but rather a sample program. But it works as a quick smoke test
+ ${RUBY} -I.:lib test.rb || die
+}
+
each_ruby_install() {
emake DESTDIR="${D}" install
}
diff --git a/dev-ruby/metasm/metasm-1.0.5-r2.ebuild b/dev-ruby/metasm/metasm-1.0.5-r3.ebuild
index 84a5ce21b825..6c3aedce493d 100644
--- a/dev-ruby/metasm/metasm-1.0.5-r2.ebuild
+++ b/dev-ruby/metasm/metasm-1.0.5-r3.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2025 Gentoo Authors
+# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-USE_RUBY="ruby31 ruby32 ruby33 ruby34"
+USE_RUBY="ruby32 ruby33 ruby34 ruby40"
RUBY_FAKEGEM_RECIPE_DOC="none"
RUBY_FAKEGEM_EXTRADOC="BUGS README TODO"
@@ -18,6 +18,9 @@ LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~arm ~x86"
+# hackily created
+QA_PREBUILT="usr/lib*/ruby/gems/*/gems/${P}/${PN}/dynldr-*.so"
+
PATCHES=( "${FILESDIR}/${P}-ruby33.patch" )
all_ruby_prepare() {
@@ -33,4 +36,7 @@ all_ruby_install() {
all_fakegem_install
ruby_fakegem_binwrapper disassemble
+
+ # The library isn't created normally. Upstream creates it by hand. As such debugedit can fail to handle it.
+ dostrip -x $(find "${ED}" -name "dynldr-*.so" -printf '%P\n')
}
diff --git a/dev-ruby/minitest-power_assert/files/minitest-power_assert-0.3.1-ruby34.patch b/dev-ruby/minitest-power_assert/files/minitest-power_assert-0.3.1-ruby34.patch
new file mode 100644
index 000000000000..c73be435815f
--- /dev/null
+++ b/dev-ruby/minitest-power_assert/files/minitest-power_assert-0.3.1-ruby34.patch
@@ -0,0 +1,47 @@
+https://bugs.gentoo.org/978797
+https://github.com/hsbt/minitest-power_assert/pull/18
+
+From 602239cc2afb5d8782139393e56ddb37d140f8fa Mon Sep 17 00:00:00 2001
+From: Hiroshi SHIBATA <hsbt@ruby-lang.org>
+Date: Thu, 6 Nov 2025 08:57:07 +0900
+Subject: [PATCH 1/2] Handle assertion failure with Ruby 3.4
+
+--- a/test/test_power_assert.rb
++++ b/test/test_power_assert.rb
+@@ -10,10 +10,15 @@ def test_power_assert
+ def test_power_assert_failed
+ assert { "0".class == "3".to_i.times.map {|i| i + 1 }.class }
+ rescue Minitest::Assertion => e
+- assert_match(/Array/, e.message)
+- assert_match(/\[1, 2, 3\]/, e.message)
+- assert_match(/#<Enumerator: 3:times>/, e.message)
+- assert_match(/String/, e.message)
++ begin
++ assert_match(/Array/, e.message)
++ assert_match(/\[1, 2, 3\]/, e.message)
++ assert_match(/#<Enumerator: 3:times>/, e.message)
++ assert_match(/String/, e.message)
++ rescue Minitest::Assertion
++ # https://github.com/ruby/power_assert/issues/53
++ omit if RUBY_VERSION >= '3.4'
++ end
+ end
+
+ def test_assert
+
+From dc7042488cbac8eeab5332711e9e6c21a534bb75 Mon Sep 17 00:00:00 2001
+From: Hiroshi SHIBATA <hsbt@ruby-lang.org>
+Date: Thu, 6 Nov 2025 09:02:15 +0900
+Subject: [PATCH 2/2] Use skip instead of omit
+
+--- a/test/test_power_assert.rb
++++ b/test/test_power_assert.rb
+@@ -17,7 +17,7 @@ def test_power_assert_failed
+ assert_match(/String/, e.message)
+ rescue Minitest::Assertion
+ # https://github.com/ruby/power_assert/issues/53
+- omit if RUBY_VERSION >= '3.4'
++ skip if RUBY_VERSION >= '3.4'
+ end
+ end
+
diff --git a/dev-ruby/minitest-power_assert/minitest-power_assert-0.3.1-r1.ebuild b/dev-ruby/minitest-power_assert/minitest-power_assert-0.3.1-r1.ebuild
index e42283620733..e1bd01230aae 100644
--- a/dev-ruby/minitest-power_assert/minitest-power_assert-0.3.1-r1.ebuild
+++ b/dev-ruby/minitest-power_assert/minitest-power_assert-0.3.1-r1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2025 Gentoo Authors
+# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-USE_RUBY="ruby31 ruby32 ruby33 ruby34"
+USE_RUBY="ruby32 ruby33 ruby34 ruby40"
RUBY_FAKEGEM_EXTRADOC="README.md"
@@ -21,6 +21,10 @@ ruby_add_rdepend "
>=dev-ruby/power_assert-1.1
"
+PATCHES=(
+ "${FILESDIR}"/minitest-power_assert-0.3.1-ruby34.patch
+)
+
all_ruby_prepare() {
sed -i -e '/bundle/ s:^:#:' Rakefile || die
}
diff --git a/dev-ruby/openfact/openfact-5.6.1.ebuild b/dev-ruby/openfact/openfact-5.6.1.ebuild
index 3f0b89159e21..74fff2bae7d8 100644
--- a/dev-ruby/openfact/openfact-5.6.1.ebuild
+++ b/dev-ruby/openfact/openfact-5.6.1.ebuild
@@ -23,7 +23,7 @@ if [[ ${PV} == 9999 ]] ; then
EGIT_BRANCH="main"
else
[[ "${PV}" = *_rc* ]] || \
- KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~riscv ~x86"
+ KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86"
SRC_URI="https://github.com/OpenVoxProject/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
fi
diff --git a/dev-ruby/rrdtool-bindings/rrdtool-bindings-1.9.0-r1.ebuild b/dev-ruby/rrdtool-bindings/rrdtool-bindings-1.9.0-r1.ebuild
index 91f8d90701b9..5e336c86f2b0 100644
--- a/dev-ruby/rrdtool-bindings/rrdtool-bindings-1.9.0-r1.ebuild
+++ b/dev-ruby/rrdtool-bindings/rrdtool-bindings-1.9.0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2025 Gentoo Authors
+# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -6,7 +6,7 @@ EAPI=8
MY_P="${P/-bindings}"
MY_P="${MY_P/_/-}"
-USE_RUBY="ruby31 ruby32 ruby33 ruby34"
+USE_RUBY="ruby32 ruby33 ruby34 ruby40"
RUBY_FAKEGEM_TASK_DOC=""
inherit ruby-ng
diff --git a/dev-ruby/ruby-progressbar/ruby-progressbar-1.13.0-r1.ebuild b/dev-ruby/ruby-progressbar/ruby-progressbar-1.13.0-r1.ebuild
index 654140eae873..dbf892b271e8 100644
--- a/dev-ruby/ruby-progressbar/ruby-progressbar-1.13.0-r1.ebuild
+++ b/dev-ruby/ruby-progressbar/ruby-progressbar-1.13.0-r1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2025 Gentoo Authors
+# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-USE_RUBY="ruby31 ruby32 ruby33 ruby34"
+USE_RUBY="ruby32 ruby33 ruby34 ruby40"
RUBY_FAKEGEM_RECIPE_TEST="rspec3"
RUBY_FAKEGEM_EXTRADOC="README.md"
RUBY_FAKEGEM_BINWRAP=""
diff --git a/dev-ruby/ruby-romkan/ruby-romkan-0.4-r7.ebuild b/dev-ruby/ruby-romkan/ruby-romkan-0.4-r7.ebuild
index 757e570452b7..5ba1f0ece771 100644
--- a/dev-ruby/ruby-romkan/ruby-romkan-0.4-r7.ebuild
+++ b/dev-ruby/ruby-romkan/ruby-romkan-0.4-r7.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-USE_RUBY="ruby31 ruby32 ruby33 ruby34"
+USE_RUBY="ruby32 ruby33 ruby34 ruby40"
inherit ruby-ng
diff --git a/dev-ruby/simplecov/simplecov-0.22.0.ebuild b/dev-ruby/simplecov/simplecov-0.22.0.ebuild
index 9143f301dc74..78dcf1491394 100644
--- a/dev-ruby/simplecov/simplecov-0.22.0.ebuild
+++ b/dev-ruby/simplecov/simplecov-0.22.0.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2025 Gentoo Authors
+# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-USE_RUBY="ruby32 ruby33 ruby34"
+USE_RUBY="ruby32 ruby33 ruby34 ruby40"
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"