svn commit: r464301 - in head/devel: . rubygem-tty-editor rubygem-tty-editor/files
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Mon Mar 12 20:44:18 UTC 2018
Author: sunpoet
Date: Mon Mar 12 20:44:17 2018
New Revision: 464301
URL: https://svnweb.freebsd.org/changeset/ports/464301
Log:
Add rubygem-tty-editor 0.3.0
TTY::Editor provides independent component for TTY toolkit. It opens a file or
text in the user's preferred editor.
WWW: https://piotrmurach.github.io/tty/
WWW: https://github.com/piotrmurach/tty-editor
Added:
head/devel/rubygem-tty-editor/
head/devel/rubygem-tty-editor/Makefile (contents, props changed)
head/devel/rubygem-tty-editor/distinfo (contents, props changed)
head/devel/rubygem-tty-editor/files/
head/devel/rubygem-tty-editor/files/patch-gemspec (contents, props changed)
head/devel/rubygem-tty-editor/pkg-descr (contents, props changed)
Modified:
head/devel/Makefile
Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile Mon Mar 12 20:44:00 2018 (r464300)
+++ head/devel/Makefile Mon Mar 12 20:44:17 2018 (r464301)
@@ -5850,6 +5850,7 @@
SUBDIR += rubygem-tty-color
SUBDIR += rubygem-tty-command
SUBDIR += rubygem-tty-cursor
+ SUBDIR += rubygem-tty-editor
SUBDIR += rubygem-tty-font
SUBDIR += rubygem-tty-markdown
SUBDIR += rubygem-tty-pager
Added: head/devel/rubygem-tty-editor/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/rubygem-tty-editor/Makefile Mon Mar 12 20:44:17 2018 (r464301)
@@ -0,0 +1,22 @@
+# Created by: Po-Chuan Hsieh <sunpoet at FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= tty-editor
+PORTVERSION= 0.3.0
+CATEGORIES= devel rubygems
+MASTER_SITES= RG
+
+MAINTAINER= sunpoet at FreeBSD.org
+COMMENT= Opens a file or text in the user preferred editor
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE.txt
+
+RUN_DEPENDS= rubygem-tty-prompt>=0.14.0:devel/rubygem-tty-prompt \
+ rubygem-tty-which>=0.3.0:devel/rubygem-tty-which
+
+NO_ARCH= yes
+USE_RUBY= yes
+USES= gem
+
+.include <bsd.port.mk>
Added: head/devel/rubygem-tty-editor/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/rubygem-tty-editor/distinfo Mon Mar 12 20:44:17 2018 (r464301)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1520739789
+SHA256 (rubygem/tty-editor-0.3.0.gem) = 9f3ca823c000f555680d7614ec56e87c065c61f61ba96b1eb2e4f47a7c57cdc0
+SIZE (rubygem/tty-editor-0.3.0.gem) = 11776
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 Mar 12 20:44:17 2018 (r464301)
@@ -0,0 +1,11 @@
+--- tty-editor.gemspec.orig 2018-03-11 18:20:06 UTC
++++ tty-editor.gemspec
+@@ -23,7 +23,7 @@ Gem::Specification.new do |s|
+ s.specification_version = 4
+
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
+- s.add_runtime_dependency(%q<tty-prompt>.freeze, ["~> 0.14.0"])
++ s.add_runtime_dependency(%q<tty-prompt>.freeze, ["~> 0.14"])
+ s.add_runtime_dependency(%q<tty-which>.freeze, ["~> 0.3.0"])
+ s.add_development_dependency(%q<bundler>.freeze, ["< 2.0", ">= 1.5.0"])
+ s.add_development_dependency(%q<rake>.freeze, ["~> 10.0"])
Added: head/devel/rubygem-tty-editor/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/rubygem-tty-editor/pkg-descr Mon Mar 12 20:44:17 2018 (r464301)
@@ -0,0 +1,5 @@
+TTY::Editor provides independent component for TTY toolkit. It opens a file or
+text in the user's preferred editor.
+
+WWW: https://piotrmurach.github.io/tty/
+WWW: https://github.com/piotrmurach/tty-editor
More information about the svn-ports-head
mailing list