From owner-svn-ports-all@FreeBSD.ORG Thu Jun 5 09:20:04 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D6AB754D; Thu, 5 Jun 2014 09:20:04 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C45A42281; Thu, 5 Jun 2014 09:20:04 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s559K4A2050484; Thu, 5 Jun 2014 09:20:04 GMT (envelope-from miwi@svn.freebsd.org) Received: (from miwi@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s559K4SZ050480; Thu, 5 Jun 2014 09:20:04 GMT (envelope-from miwi@svn.freebsd.org) Message-Id: <201406050920.s559K4SZ050480@svn.freebsd.org> From: Martin Wilke Date: Thu, 5 Jun 2014 09:20:04 +0000 (UTC) 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 X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Jun 2014 09:20:05 -0000 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 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 +# $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 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/