git: 69e7cc657ce8 - main - www/rubygem-sinatra-contrib: Fix gemspec for rubygem-mustermann 3.0.0 update
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 03 Oct 2022 02:27:21 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=69e7cc657ce8df07352cb73e101410ac9ec5d9aa
commit 69e7cc657ce8df07352cb73e101410ac9ec5d9aa
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-10-03 02:17:14 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-10-03 02:17:14 +0000
www/rubygem-sinatra-contrib: Fix gemspec for rubygem-mustermann 3.0.0 update
- Bump PORTREVISION for package change
---
www/rubygem-sinatra-contrib/Makefile | 3 ++-
www/rubygem-sinatra-contrib/files/patch-gemspec | 11 +++++++++++
2 files changed, 13 insertions(+), 1 deletion(-)
diff --git a/www/rubygem-sinatra-contrib/Makefile b/www/rubygem-sinatra-contrib/Makefile
index 010557bf1f09..035c08af7de4 100644
--- a/www/rubygem-sinatra-contrib/Makefile
+++ b/www/rubygem-sinatra-contrib/Makefile
@@ -1,5 +1,6 @@
PORTNAME= sinatra-contrib
PORTVERSION= 2.2.2
+PORTREVISION= 1
CATEGORIES= www rubygems
MASTER_SITES= RG
@@ -11,7 +12,7 @@ LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= rubygem-multi_json>=0:devel/rubygem-multi_json \
- rubygem-mustermann>=2.0<3:devel/rubygem-mustermann \
+ rubygem-mustermann>=2.0:devel/rubygem-mustermann \
rubygem-rack-protection>=${PORTVERSION}:www/rubygem-rack-protection \
rubygem-sinatra>=${PORTVERSION}:www/rubygem-sinatra \
rubygem-tilt>=2.0<3:devel/rubygem-tilt
diff --git a/www/rubygem-sinatra-contrib/files/patch-gemspec b/www/rubygem-sinatra-contrib/files/patch-gemspec
new file mode 100644
index 000000000000..7866079929ed
--- /dev/null
+++ b/www/rubygem-sinatra-contrib/files/patch-gemspec
@@ -0,0 +1,11 @@
+--- sinatra-contrib.gemspec.orig 2022-09-11 06:41:41 UTC
++++ sinatra-contrib.gemspec
+@@ -25,7 +25,7 @@ Gem::Specification.new do |s|
+
+ if s.respond_to? :add_runtime_dependency then
+ s.add_runtime_dependency(%q<sinatra>.freeze, ["= 2.2.2"])
+- s.add_runtime_dependency(%q<mustermann>.freeze, ["~> 2.0"])
++ s.add_runtime_dependency(%q<mustermann>.freeze, [">= 2.0"])
+ s.add_runtime_dependency(%q<tilt>.freeze, ["~> 2.0"])
+ s.add_runtime_dependency(%q<rack-protection>.freeze, ["= 2.2.2"])
+ s.add_runtime_dependency(%q<multi_json>.freeze, [">= 0"])