Skip to content
Permalink
Browse files

py-unum: add modeline, adjust whitespace

  • Loading branch information
reneeotten committed Apr 17, 2019
1 parent e7da3a5 commit 0f70612979c326d0a5a4f2d15957515c5f26c144
Showing with 29 additions and 27 deletions.
  1. +29 −27 python/py-unum/Portfile
@@ -1,36 +1,38 @@
PortSystem 1.0
PortGroup python 1.0
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4

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.
PortSystem 1.0
PortGroup python 1.0

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
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.

python.versions 27
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.run yes
test.env PYTHONPATH=${worksrcpath}/build/lib
test.cmd ${python.bin} unum/tools/test.py
test.target
post-destroot {

post-destroot {
xinstall -m 644 ${worksrcpath}/README.txt \
${destroot}${prefix}/share/doc/${subport}
}

0 comments on commit 0f70612

Please sign in to comment.
You can’t perform that action at this time.