Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Oct 2022 17:12:32 GMT
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: e094f01a1e02 - main - www/rubygem-sinatra-contrib2: Add rubygem-sinatra-contrib2 2.2.2 (copied from rubygem-sinatra-contrib)
Message-ID:  <202210031712.293HCWLJ011650@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=e094f01a1e022948d58318958d19cb0b844ab946

commit e094f01a1e022948d58318958d19cb0b844ab946
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-10-03 16:56:46 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-10-03 17:10:15 +0000

    www/rubygem-sinatra-contrib2: Add rubygem-sinatra-contrib2 2.2.2 (copied from rubygem-sinatra-contrib)
    
    - Change RUN_DEPENDS from rubygem-rack-protection and rubygem-sinatra to rubygem-rack-protection2 and rubygem-sinatra2
    - Add PORTSCOUT
---
 www/Makefile                                     |  1 +
 www/rubygem-sinatra-contrib2/Makefile            | 27 ++++++++++++++++++++++++
 www/rubygem-sinatra-contrib2/distinfo            |  3 +++
 www/rubygem-sinatra-contrib2/files/patch-gemspec | 11 ++++++++++
 www/rubygem-sinatra-contrib2/pkg-descr           |  1 +
 5 files changed, 43 insertions(+)

diff --git a/www/Makefile b/www/Makefile
index c89f35733c6e..33e3d5b45761 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -2134,6 +2134,7 @@
     SUBDIR += rubygem-sinatra
     SUBDIR += rubygem-sinatra-contrib
     SUBDIR += rubygem-sinatra-contrib1
+    SUBDIR += rubygem-sinatra-contrib2
     SUBDIR += rubygem-sinatra-r18n
     SUBDIR += rubygem-sinatra-respond_to
     SUBDIR += rubygem-sinatra1
diff --git a/www/rubygem-sinatra-contrib2/Makefile b/www/rubygem-sinatra-contrib2/Makefile
new file mode 100644
index 000000000000..43aec08e8a84
--- /dev/null
+++ b/www/rubygem-sinatra-contrib2/Makefile
@@ -0,0 +1,27 @@
+PORTNAME=	sinatra-contrib
+PORTVERSION=	2.2.2
+CATEGORIES=	www rubygems
+MASTER_SITES=	RG
+PKGNAMESUFFIX=	2
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Collection of useful Sinatra extensions
+WWW=		https://github.com/sinatra/sinatra-contrib
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+RUN_DEPENDS=	rubygem-multi_json>=0:devel/rubygem-multi_json \
+		rubygem-mustermann>=2.0:devel/rubygem-mustermann \
+		rubygem-rack-protection2>=${PORTVERSION}<${PORTVERSION}_99:www/rubygem-rack-protection2 \
+		rubygem-sinatra2>=${PORTVERSION}<${PORTVERSION}_99:www/rubygem-sinatra2 \
+		rubygem-tilt>=2.0<3:devel/rubygem-tilt
+
+USES=		gem
+USE_RUBY=	yes
+
+NO_ARCH=	yes
+
+PORTSCOUT=	limit:^2\.
+
+.include <bsd.port.mk>
diff --git a/www/rubygem-sinatra-contrib2/distinfo b/www/rubygem-sinatra-contrib2/distinfo
new file mode 100644
index 000000000000..87d5408d8b49
--- /dev/null
+++ b/www/rubygem-sinatra-contrib2/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1659161339
+SHA256 (rubygem/sinatra-contrib-2.2.2.gem) = 49c5f1b92b847b65789b3b20e67de6f8efe90ea5c2d9688d397f1dc024c2a90c
+SIZE (rubygem/sinatra-contrib-2.2.2.gem) = 34304
diff --git a/www/rubygem-sinatra-contrib2/files/patch-gemspec b/www/rubygem-sinatra-contrib2/files/patch-gemspec
new file mode 100644
index 000000000000..7866079929ed
--- /dev/null
+++ b/www/rubygem-sinatra-contrib2/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"])
diff --git a/www/rubygem-sinatra-contrib2/pkg-descr b/www/rubygem-sinatra-contrib2/pkg-descr
new file mode 100644
index 000000000000..42637bfc33e9
--- /dev/null
+++ b/www/rubygem-sinatra-contrib2/pkg-descr
@@ -0,0 +1 @@
+Collection of common Sinatra extensions, semi-officially supported.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202210031712.293HCWLJ011650>