git: 01c9d84f2108 - main - www/rubygem-sinatra-contrib: Fix gemspec for rubygem-mustermann 2.0.1 update
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 30 Jul 2022 06:03:20 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=01c9d84f2108c5e70eb6c806b2488cb9dc896479
commit 01c9d84f2108c5e70eb6c806b2488cb9dc896479
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-07-30 05:59:02 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-07-30 05:59:02 +0000
www/rubygem-sinatra-contrib: Fix gemspec for rubygem-mustermann 2.0.1 update
- Bump PORTREVISION for package change
Reference: https://github.com/sinatra/sinatra/commit/807740b4afefcd2a13e5b89881339545e7c18e5c
---
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 943da13598de..0f04d8ad6fa8 100644
--- a/www/rubygem-sinatra-contrib/Makefile
+++ b/www/rubygem-sinatra-contrib/Makefile
@@ -1,5 +1,6 @@
PORTNAME= sinatra-contrib
PORTVERSION= 2.2.1
+PORTREVISION= 1
CATEGORIES= www rubygems
MASTER_SITES= RG
@@ -10,7 +11,7 @@ LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= rubygem-multi_json>=0:devel/rubygem-multi_json \
- rubygem-mustermann>=1.0<2:devel/rubygem-mustermann \
+ rubygem-mustermann>=2.0<3: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..7c16924b19df
--- /dev/null
+++ b/www/rubygem-sinatra-contrib/files/patch-gemspec
@@ -0,0 +1,11 @@
+--- sinatra-contrib.gemspec.orig 2022-07-22 17:38:56 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.1"])
+- s.add_runtime_dependency(%q<mustermann>.freeze, ["~> 1.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.1"])
+ s.add_runtime_dependency(%q<multi_json>.freeze, [">= 0"])