git: a2fdf66e54f6 - main - security/rubygem-origami: fix depends with recent ruby
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 27 Oct 2024 12:02:49 UTC
The branch main has been updated by antoine:
URL: https://cgit.FreeBSD.org/ports/commit/?id=a2fdf66e54f6ad482098ab2c906a5f1aeee47249
commit a2fdf66e54f6ad482098ab2c906a5f1aeee47249
Author: Antoine Brodin <antoine@FreeBSD.org>
AuthorDate: 2024-10-27 12:02:21 +0000
Commit: Antoine Brodin <antoine@FreeBSD.org>
CommitDate: 2024-10-27 12:02:21 +0000
security/rubygem-origami: fix depends with recent ruby
---
security/rubygem-origami/Makefile | 5 ++++-
security/rubygem-origami/files/patch-origami.gemspec | 11 +++++++++++
2 files changed, 15 insertions(+), 1 deletion(-)
diff --git a/security/rubygem-origami/Makefile b/security/rubygem-origami/Makefile
index 4fa3550f1325..cf84fec9d66f 100644
--- a/security/rubygem-origami/Makefile
+++ b/security/rubygem-origami/Makefile
@@ -1,5 +1,6 @@
PORTNAME= origami
PORTVERSION= 2.1.0
+PORTREVISION= 1
CATEGORIES= security rubygems
MASTER_SITES= RG
@@ -10,7 +11,9 @@ WWW= https://github.com/gdelugre/origami
LICENSE= LGPL3+
LICENSE_FILE= ${WRKSRC}/COPYING.LESSER
-RUN_DEPENDS= rubygem-colorize>=0.7:devel/rubygem-colorize
+RUN_DEPENDS= rubygem-colorize>=0.7:devel/rubygem-colorize \
+ rubygem-matrix>=0:math/rubygem-matrix \
+ rubygem-rexml>=0:textproc/rubygem-rexml
NO_ARCH= yes
diff --git a/security/rubygem-origami/files/patch-origami.gemspec b/security/rubygem-origami/files/patch-origami.gemspec
new file mode 100644
index 000000000000..383620a1d54e
--- /dev/null
+++ b/security/rubygem-origami/files/patch-origami.gemspec
@@ -0,0 +1,11 @@
+--- origami.gemspec.orig 2024-10-27 10:40:09 UTC
++++ origami.gemspec
+@@ -22,7 +22,7 @@ Gem::Specification.new do |s|
+
+ s.specification_version = 4
+
+- s.add_runtime_dependency(%q<colorize>.freeze, ["~> 0.7".freeze])
++ s.add_runtime_dependency(%q<colorize>.freeze, [">= 0.7".freeze])
+ s.add_development_dependency(%q<minitest>.freeze, ["~> 5.0".freeze])
+ end
+