svn commit: r482172 - in head/devel/rubygem-tty-editor: . files

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Mon Oct 15 21:06:40 UTC 2018


Author: sunpoet
Date: Mon Oct 15 21:06:38 2018
New Revision: 482172
URL: https://svnweb.freebsd.org/changeset/ports/482172

Log:
  Fix gemspec for rubygem-tty-which 0.4.0 update
  
  - Bump PORTREVISION for package change

Added:
  head/devel/rubygem-tty-editor/files/
  head/devel/rubygem-tty-editor/files/patch-gemspec   (contents, props changed)
Modified:
  head/devel/rubygem-tty-editor/Makefile

Modified: head/devel/rubygem-tty-editor/Makefile
==============================================================================
--- head/devel/rubygem-tty-editor/Makefile	Mon Oct 15 21:06:30 2018	(r482171)
+++ head/devel/rubygem-tty-editor/Makefile	Mon Oct 15 21:06:38 2018	(r482172)
@@ -3,6 +3,7 @@
 
 PORTNAME=	tty-editor
 PORTVERSION=	0.4.1
+PORTREVISION=	1
 CATEGORIES=	devel rubygems
 MASTER_SITES=	RG
 
@@ -15,8 +16,9 @@ LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 RUN_DEPENDS=	rubygem-tty-prompt>=0.17.0:devel/rubygem-tty-prompt \
 		rubygem-tty-which>=0.3.0:devel/rubygem-tty-which
 
-NO_ARCH=	yes
-USE_RUBY=	yes
 USES=		gem
+USE_RUBY=	yes
+
+NO_ARCH=	yes
 
 .include <bsd.port.mk>

Added: head/devel/rubygem-tty-editor/files/patch-gemspec
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/rubygem-tty-editor/files/patch-gemspec	Mon Oct 15 21:06:38 2018	(r482172)
@@ -0,0 +1,11 @@
+--- tty-editor.gemspec.orig	2018-10-15 19:01:26 UTC
++++ tty-editor.gemspec
+@@ -23,7 +23,7 @@ Gem::Specification.new do |s|
+ 
+     if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
+       s.add_runtime_dependency(%q<tty-prompt>.freeze, ["~> 0.17.0"])
+-      s.add_runtime_dependency(%q<tty-which>.freeze, ["~> 0.3.0"])
++      s.add_runtime_dependency(%q<tty-which>.freeze, ["~> 0.3"])
+       s.add_development_dependency(%q<bundler>.freeze, ["< 2.0", ">= 1.5.0"])
+       s.add_development_dependency(%q<rake>.freeze, ["~> 10.0"])
+       s.add_development_dependency(%q<rspec>.freeze, ["~> 3.0"])


More information about the svn-ports-head mailing list