1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-03 11:12:13 +00:00

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)
This commit is contained in:
Torsten Zuehlsdorff 2016-07-27 10:55:43 +00:00
parent c1ff5bbef3
commit f5ea47db82
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=419171
5 changed files with 41 additions and 0 deletions

View File

@ -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

View File

@ -0,0 +1,21 @@
# Created by: Torsten Zuehlsdorff <tz@FreeBSD.org>
# $FreeBSD$
PORTNAME= chronic_duration
PORTVERSION= 0.10.6
CATEGORIES= devel rubygems
MASTER_SITES= RG
MAINTAINER= ruby@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>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1469615692
SHA256 (rubygem/chronic_duration-0.10.6.gem) = fac58d4147d3183a40811400380cafcef049f2bb02421d2fd1c6e685fbe8facc
SIZE (rubygem/chronic_duration-0.10.6.gem) = 11264

View File

@ -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

View File

@ -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