svn commit: r419171 - in head/devel: . rubygem-chronic_duration rubygem-chronic_duration/files
Torsten Zuehlsdorff
tz at FreeBSD.org
Wed Jul 27 10:55:45 UTC 2016
Author: tz
Date: Wed Jul 27 10:55:43 2016
New Revision: 419171
URL: https://svnweb.freebsd.org/changeset/ports/419171
Log:
New port: devel/rubygem-chronic_duration
A simple Ruby natural language parser for elapsed time. (For example, 4 hours
and 30 minutes, 6 minutes 4 seconds, 3 days, etc.) Returns all results in seconds.
WWW: https://github.com/hpoydar/chronic_duration
Approved by: pi (mentor)
Added:
head/devel/rubygem-chronic_duration/
head/devel/rubygem-chronic_duration/Makefile (contents, props changed)
head/devel/rubygem-chronic_duration/distinfo (contents, props changed)
head/devel/rubygem-chronic_duration/files/
head/devel/rubygem-chronic_duration/files/patch-chronic__duration.gemspec (contents, props changed)
head/devel/rubygem-chronic_duration/pkg-descr (contents, props changed)
Modified:
head/devel/Makefile
Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile Wed Jul 27 10:22:26 2016 (r419170)
+++ head/devel/Makefile Wed Jul 27 10:55:43 2016 (r419171)
@@ -4861,6 +4861,7 @@
SUBDIR += rubygem-cf-uaa-lib
SUBDIR += rubygem-childprocess
SUBDIR += rubygem-chronic
+ SUBDIR += rubygem-chronic_duration
SUBDIR += rubygem-clamp
SUBDIR += rubygem-classifier
SUBDIR += rubygem-classifier-reborn
Added: head/devel/rubygem-chronic_duration/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/rubygem-chronic_duration/Makefile Wed Jul 27 10:55:43 2016 (r419171)
@@ -0,0 +1,21 @@
+# Created by: Torsten Zuehlsdorff <tz at FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= chronic_duration
+PORTVERSION= 0.10.6
+CATEGORIES= devel rubygems
+MASTER_SITES= RG
+
+MAINTAINER= ruby at FreeBSD.org
+COMMENT= Natural language parser for elapsed time
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE.txt
+
+RUN_DEPENDS= rubygem-numerizer>=0.1.1:devel/rubygem-numerizer
+
+NO_ARCH= yes
+USE_RUBY= yes
+USES= gem
+
+.include <bsd.port.mk>
Added: head/devel/rubygem-chronic_duration/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/rubygem-chronic_duration/distinfo Wed Jul 27 10:55:43 2016 (r419171)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1469615692
+SHA256 (rubygem/chronic_duration-0.10.6.gem) = fac58d4147d3183a40811400380cafcef049f2bb02421d2fd1c6e685fbe8facc
+SIZE (rubygem/chronic_duration-0.10.6.gem) = 11264
Added: head/devel/rubygem-chronic_duration/files/patch-chronic__duration.gemspec
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/rubygem-chronic_duration/files/patch-chronic__duration.gemspec Wed Jul 27 10:55:43 2016 (r419171)
@@ -0,0 +1,11 @@
+--- chronic_duration.gemspec.orig 2016-07-27 10:38:00 UTC
++++ chronic_duration.gemspec
+@@ -22,7 +22,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<numerizer>.freeze, ["~> 0.1.1"])
++ s.add_runtime_dependency(%q<numerizer>.freeze, [">= 0.1.1"])
+ s.add_development_dependency(%q<rake>.freeze, ["~> 10.0.3"])
+ s.add_development_dependency(%q<rspec>.freeze, ["~> 2.12.0"])
+ else
Added: head/devel/rubygem-chronic_duration/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/rubygem-chronic_duration/pkg-descr Wed Jul 27 10:55:43 2016 (r419171)
@@ -0,0 +1,5 @@
+A simple Ruby natural language parser for elapsed time. (For example, 4 hours
+and 30 minutes, 6 minutes 4 seconds, 3 days, etc.) Returns all results in
+seconds.
+
+WWW: https://github.com/hpoydar/chronic_duration
More information about the svn-ports-head
mailing list