git: 15328d56f009 - main - www/rubygem-sinatra: 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:18 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=15328d56f00997b5fa78148a270034990250146a commit 15328d56f00997b5fa78148a270034990250146a Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2022-07-30 05:59:00 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2022-07-30 05:59:00 +0000 www/rubygem-sinatra: 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/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 38c1734372c6..d6f00c5b4feb 100644 --- a/www/rubygem-sinatra/Makefile +++ b/www/rubygem-sinatra/Makefile @@ -1,5 +1,6 @@ PORTNAME= sinatra PORTVERSION= 2.2.1 +PORTREVISION= 1 CATEGORIES= www rubygems MASTER_SITES= RG @@ -9,7 +10,7 @@ COMMENT= Classy web development framework in ruby LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE -RUN_DEPENDS= rubygem-mustermann>=1.0<2:devel/rubygem-mustermann \ +RUN_DEPENDS= rubygem-mustermann>=2.0<3: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..1dad6a8b1910 --- /dev/null +++ b/www/rubygem-sinatra/files/patch-gemspec @@ -0,0 +1,11 @@ +--- sinatra.gemspec.orig 2022-07-22 17:37:51 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.1"]) +- s.add_runtime_dependency(%q<mustermann>.freeze, ["~> 1.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"])