git: 9c7ec30e93f9 - main - devel/rubygem-dry-types-gitlab: Allow build with rubygem-bigdecimal 4.0.0+
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 30 Dec 2025 13:35:08 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=9c7ec30e93f9d4bcf7dd7b213b582ac05138e31f
commit 9c7ec30e93f9d4bcf7dd7b213b582ac05138e31f
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2025-12-30 13:24:45 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2025-12-30 13:30:12 +0000
devel/rubygem-dry-types-gitlab: Allow build with rubygem-bigdecimal 4.0.0+
- Bump PORTREVISION for package change
Obtained from: https://github.com/dry-rb/dry-types/commit/c4dc2ec432af2f694d245007b2f403d5f4a8fed9
---
devel/rubygem-dry-types-gitlab/Makefile | 3 ++-
devel/rubygem-dry-types-gitlab/files/patch-gemspec | 11 +++++++++++
2 files changed, 13 insertions(+), 1 deletion(-)
diff --git a/devel/rubygem-dry-types-gitlab/Makefile b/devel/rubygem-dry-types-gitlab/Makefile
index 4cba7b27beb7..80e79cb45a7f 100644
--- a/devel/rubygem-dry-types-gitlab/Makefile
+++ b/devel/rubygem-dry-types-gitlab/Makefile
@@ -1,5 +1,6 @@
PORTNAME= dry-types
PORTVERSION= 1.8.3
+PORTREVISION= 1
CATEGORIES= devel rubygems
MASTER_SITES= RG
PKGNAMESUFFIX= -gitlab
@@ -11,7 +12,7 @@ WWW= https://github.com/dry-rb/dry-types
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
-RUN_DEPENDS= rubygem-bigdecimal>=3.0<4:math/rubygem-bigdecimal \
+RUN_DEPENDS= rubygem-bigdecimal>=3.0:math/rubygem-bigdecimal \
rubygem-concurrent-ruby>=1.0<2:devel/rubygem-concurrent-ruby \
rubygem-dry-core-gitlab>=1.0<2:devel/rubygem-dry-core-gitlab \
rubygem-dry-inflector>=1.0<2:devel/rubygem-dry-inflector \
diff --git a/devel/rubygem-dry-types-gitlab/files/patch-gemspec b/devel/rubygem-dry-types-gitlab/files/patch-gemspec
new file mode 100644
index 000000000000..d56f6c275274
--- /dev/null
+++ b/devel/rubygem-dry-types-gitlab/files/patch-gemspec
@@ -0,0 +1,11 @@
+--- dry-types.gemspec.orig 2025-12-29 04:09:19 UTC
++++ dry-types.gemspec
+@@ -21,7 +21,7 @@ Gem::Specification.new do |s|
+
+ s.specification_version = 4
+
+- s.add_runtime_dependency(%q<bigdecimal>.freeze, ["~> 3.0".freeze])
++ s.add_runtime_dependency(%q<bigdecimal>.freeze, [">= 3.0".freeze])
+ s.add_runtime_dependency(%q<concurrent-ruby>.freeze, ["~> 1.0".freeze])
+ s.add_runtime_dependency(%q<dry-core>.freeze, ["~> 1.0".freeze])
+ s.add_runtime_dependency(%q<dry-inflector>.freeze, ["~> 1.0".freeze])