./math/units, GNU Units - a calculator capable of performing unit conversions

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 2.01nb2, Package name: units-2.01nb2, Maintainer: cameron

GNU Units can convert quantities expressed in one unit to an equivalent in a
difference scale. Compared to traditional BSD implementations, it offers more
units, non-linear conversions (e.g. between degrees Celsius and Fahrenheit), a
more lenient input parser, and tab completion. It can also be used to perform
calculations taking physical units into account, and provide the definitions of
units (e.g. "joule = N m = 1 kg m^2 / s^2").


Required to run:
[lang/python37]

Required to build:
[pkgtools/cwrappers]

Master sites: (Expand)

SHA1: 80e7f1a2e70769bfac93702924871843b85f12d4
RMD160: 2d3670658414ae77ae885c133880c515991d28ad
Filesize: 692.742 KB

Version history: (Expand)


CVS history: (Expand)


   2019-04-25 09:33:32 by Maya Rashish | Files touched by this commit (620)
Log message:
PKGREVISION bump for anything using python without a PYPKGPREFIX.

This is a semi-manual PKGREVISION bump.
   2015-11-04 00:33:46 by Alistair G. Crooks | Files touched by this commit (262)
Log message:
Add SHA512 digests for distfiles for math category

Problems found locating distfiles:
	Package dfftpack: missing distfile dfftpack-20001209.tar.gz
	Package eispack: missing distfile eispack-20001130.tar.gz
	Package fftpack: missing distfile fftpack-20001130.tar.gz
	Package linpack: missing distfile linpack-20010510.tar.gz
	Package minpack: missing distfile minpack-20001130.tar.gz
	Package odepack: missing distfile odepack-20001130.tar.gz
	Package py-networkx: missing distfile networkx-1.10.tar.gz
	Package py-sympy: missing distfile sympy-0.7.6.1.tar.gz
	Package quadpack: missing distfile quadpack-20001130.tar.gz

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
   2014-05-17 18:10:50 by Thomas Klausner | Files touched by this commit (152)
Log message:
Bump applications PKGREVISIONs for python users that might be using
python3, since the default changed from python33 to python34.

I probably bumped too many. I hope I got them all.
   2013-07-15 04:02:29 by Ryo ONODERA | Files touched by this commit (177)
Log message:
* .include "../../devel/readline/buildlink3.mk" with USE_GNU_READLINE=yes
  are replaced with .include "../../devel/readline/buildlink3.mk", and
  USE_GNU_READLINE are removed,

* .include "../../devel/readline/buildlink3.mk" without USE_GNU_READLINE
  are replaced with .include "../../mk/readline.buildlink3.mk".
   2012-12-06 12:42:20 by Jonathan Perkin | Files touched by this commit (1)
Log message:
Add PKGGNUDIR support.
   2012-10-27 13:50:42 by Wen Heping | Files touched by this commit (3) | Package updated
Log message:
Update to 2.01

Upstream changes:
Version 2.01 - 24 October 2012 (bug fix release)

* Fixed error in electronmass
* New definition for au
* Fixed DESTDIR support for installation
* Changed configure script for success with Solaris
* Small changes to manual
   2012-09-14 01:27:06 by Aleksej Saushev | Files touched by this commit (4) | Package updated
Log message:
Update GNU units to version 2.00

User visible changes.

Version 2.00 - 6 June 2012

General changes:
* Unit lists provide conversion to sums of units (e.g. feet and inches).
* Added --round (-r) and --show-factor (-S) options for use with unit lists.
* Added unit lists aliases (e.g. time, usvol).
* A python script, units_cur, can update currency data.
* Units now flushes its output so you can talk to it with a pipe.
* Units now works in UTF-8 if the system supports it.
* Added --locale (-l) option to set the locale.
* English units such as the gallon are defined in all locales, with US
  definitions by default except in the en_BG locale.  You can force
  the desired definition (Great Britain or US) by setting the
  environment variable UNITS_ENGLISH to GB or US.
* Revised and extended the documentation, with more examples.
* Added locale mapping to address Windows locale names.
* Updated and revised units database, including UTF-8 definitions and
  the 2010 CODATA.
* Fixed parsing bug for "1..2" or "1.2.3".  These now give \ 
an error.
* Unit names can end with a number in the form of a subscript that
  starts with a '_', as in 'X_3'.

Changes for units definition files:
* Changed location and names of unit database, splitting off currency
  Files are /usr/local/share/units/{definitions,currency}.units and
  the personal units file is $HOME/.units instead of $HOME/units.dat.
  (Under windows personal unit file is unitdef.units.)
* Personal units filename can be changed with MYUNITSFILE environment variable.
* Prefixes can be defined in any order: it is no longer necessary to
  define longer ones before shorter ones.
* New definitions replace previous ones.  Personal units file is read
  after the system file rather than before.
* Changed syntax for function definitions.  Instead of [in-unit,out-unit]
  you must now write units=[in-unit,out-unit].  Use 'units -c' to find
  places in your personal data files that need to be updated.
* Add optional domain and range to function definitions with syntax
  domain=[min,max] and range=[min,max].  Either min or max can be
  omitted to signal infinity.
* Unit list aliases can be defined with !unitlist command.
* Added !var and !varnot and !endvar to include definitions based on
  environment variable settings.
* Added !set to set environment variables (if they aren't already set).
* Added !message to display a message
* Data files are in UTF-8, with !utf8 and !endutf8 commands to mark
  definitions that require UTF-8 support.
* Improved error handling when reading units.dat.

Version 1.88 - 15 Feb 2010

* Updated units.dat
* Fixed bug involving readline version 4.2

Version 1.87 - 25 Sep 2007

* Units reads ~/.units.dat if it exists before reading the standard
  units database.
* Added support for ** as an exponent operator.
* Type 'search text' to list units that contain 'text' in their name.
* Precedence of '*' changed to match precedence of '/'.
  (Multiplication by juxtaposition retains a higher precedence than
  '/'.)  The --oldstar option selects the old precedence and --newstar
  forces the new precedence.
   2012-09-12 01:04:36 by Aleksej Saushev | Files touched by this commit (180)
Log message:
"user-destdir" is default these days