BSD Ports

math/rubygem-numru-units 1.9.0 DragonFly

Class to handle units of physical quantities for Ruby

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
Categories
math, rubygems
Package size
34.5 KiB, 489.6 KiB installed

Description

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.

In the other systems

SystemPortVersion
DragonFlymath/rubygem-numru-units1.9.0
FreeBSDmath/rubygem-numru-units1.9.0

Install

Binary package:

pkg install rubygem-numru-units

From DPorts:

cd /usr/dports/math/rubygem-numru-units && make install clean

Dependencies

Run dependencies 2

No port depends on this one.