# $Id: Portfile 130857 2015-01-02 22:34:08Z larryv@macports.org $ PortSystem 1.0 PortGroup python 1.0 name py-unum version 4.0 platforms darwin supported_archs noarch license GPL-2+ maintainers nomaintainer description python module for using numbers with units, like volts, meters long_description Unum stands for unit-numbers. It is a Python module \ that allows defining and manipulating true quantities, \ i.e. numbers with units like volts, hours, \ meter-per-second. Consistency between units is checked \ at each expression evaluation\; unit conversion and \ unit output formatting are performed automatically \ when needed. homepage http://home.scarlet.be/be052320/Unum.html master_sites http://home.scarlet.be/be052320/unum0400/ distname Unum-${version} checksums md5 45fc2f8fdec624fbd7cb88b20b744778 use_zip yes python.versions 27 if {${name} ne ${subport}} { test.run yes test.env PYTHONPATH=${worksrcpath}/build/lib test.cmd ${python.bin} unum/tools/test.py test.target post-destroot { xinstall -m 644 ${worksrcpath}/README.txt \ ${destroot}${prefix}/share/doc/${subport} } }