svn commit: r464302 - in head/devel: . rubygem-tty-file rubygem-tty-file/files

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Mon Mar 12 20:44:57 UTC 2018


Author: sunpoet
Date: Mon Mar 12 20:44:56 2018
New Revision: 464302
URL: https://svnweb.freebsd.org/changeset/ports/464302

Log:
  Add rubygem-tty-file 0.5.0
  
  TTY::File supports file and directory manipulation utility methods.
  
  Though Ruby's File and FileUtils libraries provide very robust apis for dealing
  with files, this library aims to provide a level of abstraction that is much
  more convenient, with useful logging capabilities.
  
  WWW: https://piotrmurach.github.io/tty/
  WWW: https://github.com/piotrmurach/tty-file

Added:
  head/devel/rubygem-tty-file/
  head/devel/rubygem-tty-file/Makefile   (contents, props changed)
  head/devel/rubygem-tty-file/distinfo   (contents, props changed)
  head/devel/rubygem-tty-file/files/
  head/devel/rubygem-tty-file/files/patch-gemspec   (contents, props changed)
  head/devel/rubygem-tty-file/pkg-descr   (contents, props changed)
Modified:
  head/devel/Makefile

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Mon Mar 12 20:44:17 2018	(r464301)
+++ head/devel/Makefile	Mon Mar 12 20:44:56 2018	(r464302)
@@ -5851,6 +5851,7 @@
     SUBDIR += rubygem-tty-command
     SUBDIR += rubygem-tty-cursor
     SUBDIR += rubygem-tty-editor
+    SUBDIR += rubygem-tty-file
     SUBDIR += rubygem-tty-font
     SUBDIR += rubygem-tty-markdown
     SUBDIR += rubygem-tty-pager

Added: head/devel/rubygem-tty-file/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/rubygem-tty-file/Makefile	Mon Mar 12 20:44:56 2018	(r464302)
@@ -0,0 +1,23 @@
+# Created by: Po-Chuan Hsieh <sunpoet at FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	tty-file
+PORTVERSION=	0.5.0
+CATEGORIES=	devel rubygems
+MASTER_SITES=	RG
+
+MAINTAINER=	sunpoet at FreeBSD.org
+COMMENT=	File and directory manipulation utility methods
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE.txt
+
+RUN_DEPENDS=	rubygem-diff-lcs>=1.3.0:textproc/rubygem-diff-lcs \
+		rubygem-pastel>=0.7.2:devel/rubygem-pastel \
+		rubygem-tty-prompt>=0.14.0:devel/rubygem-tty-prompt
+
+NO_ARCH=	yes
+USE_RUBY=	yes
+USES=		gem
+
+.include <bsd.port.mk>

Added: head/devel/rubygem-tty-file/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/rubygem-tty-file/distinfo	Mon Mar 12 20:44:56 2018	(r464302)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1520790761
+SHA256 (rubygem/tty-file-0.5.0.gem) = 6d4e816b45b290450c45ef6acf35feb05b419f7d6a7c514a86e4cd911aaf0e07
+SIZE (rubygem/tty-file-0.5.0.gem) = 19968

Added: head/devel/rubygem-tty-file/files/patch-gemspec
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/rubygem-tty-file/files/patch-gemspec	Mon Mar 12 20:44:56 2018	(r464302)
@@ -0,0 +1,11 @@
+--- tty-file.gemspec.orig	2018-03-11 17:52:45 UTC
++++ tty-file.gemspec
+@@ -24,7 +24,7 @@ Gem::Specification.new do |s|
+ 
+     if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
+       s.add_runtime_dependency(%q<pastel>.freeze, ["~> 0.7.2"])
+-      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<diff-lcs>.freeze, ["~> 1.3.0"])
+       s.add_development_dependency(%q<bundler>.freeze, ["~> 1.5"])
+       s.add_development_dependency(%q<rake>.freeze, ["~> 10.0"])

Added: head/devel/rubygem-tty-file/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/rubygem-tty-file/pkg-descr	Mon Mar 12 20:44:56 2018	(r464302)
@@ -0,0 +1,8 @@
+TTY::File supports file and directory manipulation utility methods.
+
+Though Ruby's File and FileUtils libraries provide very robust apis for dealing
+with files, this library aims to provide a level of abstraction that is much
+more convenient, with useful logging capabilities.
+
+WWW: https://piotrmurach.github.io/tty/
+WWW: https://github.com/piotrmurach/tty-file


More information about the svn-ports-all mailing list