git: 0fb0d8ebf6a5 - main - devel/rubygem-spring-watcher-listen: Fix gemspec for rubygem-spring 3.0.0 update

Po-Chuan Hsieh sunpoet at FreeBSD.org
Tue Sep 21 03:59:39 UTC 2021


The branch main has been updated by sunpoet:

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

commit 0fb0d8ebf6a576fe4845f1120f621d80548d9006
Author:     Po-Chuan Hsieh <sunpoet at FreeBSD.org>
AuthorDate: 2021-09-21 03:22:37 +0000
Commit:     Po-Chuan Hsieh <sunpoet at FreeBSD.org>
CommitDate: 2021-09-21 03:47:01 +0000

    devel/rubygem-spring-watcher-listen: Fix gemspec for rubygem-spring 3.0.0 update
    
    - Bump PORTREVISION for package change
---
 devel/rubygem-spring-watcher-listen/Makefile            |  3 ++-
 devel/rubygem-spring-watcher-listen/files/patch-gemspec | 11 +++++++++++
 2 files changed, 13 insertions(+), 1 deletion(-)

diff --git a/devel/rubygem-spring-watcher-listen/Makefile b/devel/rubygem-spring-watcher-listen/Makefile
index c9098867878a..c3eabfa5abd1 100644
--- a/devel/rubygem-spring-watcher-listen/Makefile
+++ b/devel/rubygem-spring-watcher-listen/Makefile
@@ -2,6 +2,7 @@
 
 PORTNAME=	spring-watcher-listen
 PORTVERSION=	2.0.1
+PORTREVISION=	1
 CATEGORIES=	devel rubygems
 MASTER_SITES=	RG
 
@@ -12,7 +13,7 @@ LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 
 RUN_DEPENDS=	rubygem-listen>=2.7<4.0:devel/rubygem-listen \
-		rubygem-spring>=1.2<3.0:devel/rubygem-spring
+		rubygem-spring>=1.2:devel/rubygem-spring
 
 USES=		gem
 USE_RUBY=	yes
diff --git a/devel/rubygem-spring-watcher-listen/files/patch-gemspec b/devel/rubygem-spring-watcher-listen/files/patch-gemspec
new file mode 100644
index 000000000000..8c051fad495f
--- /dev/null
+++ b/devel/rubygem-spring-watcher-listen/files/patch-gemspec
@@ -0,0 +1,11 @@
+--- spring-watcher-listen.gemspec.orig	2021-09-19 15:55:26 UTC
++++ spring-watcher-listen.gemspec
+@@ -24,7 +24,7 @@ Gem::Specification.new do |s|
+       s.add_development_dependency(%q<bundler>.freeze, ["~> 1.6"])
+       s.add_development_dependency(%q<rake>.freeze, [">= 0"])
+       s.add_development_dependency(%q<activesupport>.freeze, [">= 0"])
+-      s.add_runtime_dependency(%q<spring>.freeze, [">= 1.2", "< 3.0"])
++      s.add_runtime_dependency(%q<spring>.freeze, [">= 1.2"])
+       s.add_runtime_dependency(%q<listen>.freeze, [">= 2.7", "< 4.0"])
+     else
+       s.add_dependency(%q<bundler>.freeze, ["~> 1.6"])


More information about the dev-commits-ports-all mailing list