Date: Thu, 5 Jun 2014 09:20:04 +0000 (UTC) From: Martin Wilke <miwi@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r356619 - in head/math: . rubygem-numru-units Message-ID: <201406050920.s559K4SZ050480@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: miwi Date: Thu Jun 5 09:20:03 2014 New Revision: 356619 URL: http://svnweb.freebsd.org/changeset/ports/356619 QAT: https://qat.redports.org/buildarchive/r356619/ Log: A class of units of physical quantities for Ruby. This class covers most functionality of UNIDATA's UDUNITS Library, however, with a more sophisticated handling of string expressions. UDUNITS always decomposes units into the four base units and discards the original string expressions. Therefore, 'hPa' always becomes '100 kg.m-1.sec-1', and 'day' always becomes '86400 sec'. On the other hand, this library tries to keep the original expressions as much as possible by default, while allowing partial to complete decompositions if needed. WWW: http://www.gfd-dennou.org/arch/ruby/products/numru-units/ PR: ports/190202 Submitted by: Shin-ya MURAKAMI <murashin@gfd-dennou.org> Added: head/math/rubygem-numru-units/ head/math/rubygem-numru-units/Makefile (contents, props changed) head/math/rubygem-numru-units/distinfo (contents, props changed) head/math/rubygem-numru-units/pkg-descr (contents, props changed) Modified: head/math/Makefile Modified: head/math/Makefile ============================================================================== --- head/math/Makefile Thu Jun 5 09:19:16 2014 (r356618) +++ head/math/Makefile Thu Jun 5 09:20:03 2014 (r356619) @@ -612,6 +612,7 @@ SUBDIR += ruby-numru_units SUBDIR += rubygem-narray SUBDIR += rubygem-narray_miss + SUBDIR += rubygem-numru-units SUBDIR += saga SUBDIR += sage SUBDIR += sc Added: head/math/rubygem-numru-units/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/rubygem-numru-units/Makefile Thu Jun 5 09:20:03 2014 (r356619) @@ -0,0 +1,17 @@ +# Created by: Shin-ya MURAKAMI <murashin@gfd-dennou.org> +# $FreeBSD$ + +PORTNAME= numru-units +PORTVERSION= 1.7.0 +CATEGORIES= math rubygems +MASTER_SITES= RG + +MAINTAINER= murashin@gfd-dennou.org +COMMENT= A class to handle units of physical quantities for Ruby + +USE_RUBY= yes +USE_RAKE= yes +USE_RUBYGEMS= yes +RUBYGEM_AUTOPLIST= yes + +.include <bsd.port.mk> Added: head/math/rubygem-numru-units/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/rubygem-numru-units/distinfo Thu Jun 5 09:20:03 2014 (r356619) @@ -0,0 +1,2 @@ +SHA256 (rubygem/numru-units-1.7.0.gem) = 140a332b544405c494505ebd3537fc62598c8d0e888f1aaaa72b70406ddeffa5 +SIZE (rubygem/numru-units-1.7.0.gem) = 129536 Added: head/math/rubygem-numru-units/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/rubygem-numru-units/pkg-descr Thu Jun 5 09:20:03 2014 (r356619) @@ -0,0 +1,12 @@ +A class of units of physical quantities for Ruby. + +This class covers most functionality of UNIDATA's UDUNITS Library, however, +with a more sophisticated handling of string expressions. + +UDUNITS always decomposes units into the four base units and discards the +original string expressions. Therefore, 'hPa' always becomes '100 +kg.m-1.sec-1', and 'day' always becomes '86400 sec'. On the other hand, this +library tries to keep the original expressions as much as possible by default, +while allowing partial to complete decompositions if needed. + +WWW: http://www.gfd-dennou.org/arch/ruby/products/numru-units/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201406050920.s559K4SZ050480>