From 40113a883af86fed077b59f5b72dbf832478ff26 Mon Sep 17 00:00:00 2001 From: Sam James Date: Sun, 12 Jul 2026 01:51:22 +0100 Subject: [PATCH] dev-ruby/json-schema: allow bigdecimal-4 Closes: https://bugs.gentoo.org/976106 Signed-off-by: Sam James --- ...json-schema-5.2.2-allow-bigdecimal-4.patch | 24 +++++++++++++++++++ ...2.2.ebuild => json-schema-5.2.2-r1.ebuild} | 1 + 2 files changed, 25 insertions(+) create mode 100644 dev-ruby/json-schema/files/json-schema-5.2.2-allow-bigdecimal-4.patch rename dev-ruby/json-schema/{json-schema-5.2.2.ebuild => json-schema-5.2.2-r1.ebuild} (95%) diff --git a/dev-ruby/json-schema/files/json-schema-5.2.2-allow-bigdecimal-4.patch b/dev-ruby/json-schema/files/json-schema-5.2.2-allow-bigdecimal-4.patch new file mode 100644 index 0000000000000..cd0b8cd38832b --- /dev/null +++ b/dev-ruby/json-schema/files/json-schema-5.2.2-allow-bigdecimal-4.patch @@ -0,0 +1,24 @@ +https://bugs.gentoo.org/976106 +https://github.com/voxpupuli/json-schema/pull/557 + +From 9f52b34a54a9063aace89edeb3caf1e96acee851 Mon Sep 17 00:00:00 2001 +From: Tim Meusel +Date: Sat, 20 Dec 2025 22:07:49 +0100 +Subject: [PATCH] bigdecimal: Allow 4.x + +--- + json-schema.gemspec | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/json-schema.gemspec b/json-schema.gemspec +index 36acd2aa..fde94b6f 100644 +--- a/json-schema.gemspec ++++ b/json-schema.gemspec +@@ -23,5 +23,5 @@ Gem::Specification.new do |s| + s.add_development_dependency 'webmock', '~> 3.23' + + s.add_dependency 'addressable', '~> 2.8' +- s.add_dependency 'bigdecimal', '~> 3.1' ++ s.add_dependency 'bigdecimal', '>= 3.1', '< 5' + end + diff --git a/dev-ruby/json-schema/json-schema-5.2.2.ebuild b/dev-ruby/json-schema/json-schema-5.2.2-r1.ebuild similarity index 95% rename from dev-ruby/json-schema/json-schema-5.2.2.ebuild rename to dev-ruby/json-schema/json-schema-5.2.2-r1.ebuild index 2ba241e99b016..fa86a59c2de61 100644 --- a/dev-ruby/json-schema/json-schema-5.2.2.ebuild +++ b/dev-ruby/json-schema/json-schema-5.2.2-r1.ebuild @@ -32,6 +32,7 @@ ruby_add_bdepend "test? ( PATCHES=( "${FILESDIR}/${P}-remove-dev-tasks.patch" + "${FILESDIR}/${P}-allow-bigdecimal-4.patch" ) all_ruby_prepare() {