git: b70c43106ac1 - main - www/rubygem-sinatra: 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:19 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=b70c43106ac15b1a2059b9f9ad04f5ba79ce54b3 commit b70c43106ac15b1a2059b9f9ad04f5ba79ce54b3 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2022-10-03 02:17:12 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2022-10-03 02:17:12 +0000 www/rubygem-sinatra: Fix gemspec for rubygem-mustermann 3.0.0 update - Bump PORTREVISION for package change --- www/rubygem-sinatra/Makefile | 3 ++- www/rubygem-sinatra/files/patch-gemspec | 11 +++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/www/rubygem-sinatra/Makefile b/www/rubygem-sinatra/Makefile index 962640715043..680ffc6b7b82 100644 --- a/www/rubygem-sinatra/Makefile +++ b/www/rubygem-sinatra/Makefile @@ -1,5 +1,6 @@ PORTNAME= sinatra PORTVERSION= 2.2.2 +PORTREVISION= 1 CATEGORIES= www rubygems MASTER_SITES= RG @@ -10,7 +11,7 @@ WWW= http://www.sinatrarb.com/ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE -RUN_DEPENDS= rubygem-mustermann>=2.0<3:devel/rubygem-mustermann \ +RUN_DEPENDS= rubygem-mustermann>=2.0:devel/rubygem-mustermann \ rubygem-rack>=2.2,3<3,3:www/rubygem-rack \ rubygem-rack-protection>=${PORTVERSION}:www/rubygem-rack-protection \ rubygem-tilt>=2.0<3:devel/rubygem-tilt diff --git a/www/rubygem-sinatra/files/patch-gemspec b/www/rubygem-sinatra/files/patch-gemspec new file mode 100644 index 000000000000..7fc6531b17a1 --- /dev/null +++ b/www/rubygem-sinatra/files/patch-gemspec @@ -0,0 +1,11 @@ +--- sinatra.gemspec.orig 2022-09-11 06:39:09 UTC ++++ sinatra.gemspec +@@ -29,7 +29,7 @@ Gem::Specification.new do |s| + s.add_runtime_dependency(%q<rack>.freeze, ["~> 2.2"]) + 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<mustermann>.freeze, ["~> 2.0"]) ++ s.add_runtime_dependency(%q<mustermann>.freeze, [">= 2.0"]) + else + s.add_dependency(%q<rack>.freeze, ["~> 2.2"]) + s.add_dependency(%q<tilt>.freeze, ["~> 2.0"])