Ticket #40013: Portfile

File Portfile, 1.6 KB (added by smithsp (Sterling Smith), 11 years ago)

Portfile for proposed py-quantities port.

Line 
1# -*- 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
2# $Id$
3PortSystem          1.0
4PortGroup           python 1.0
5
6name                py-quantities
7set real_name       quantities
8
9version             0.10.1
10categories          python science
11
12platforms           darwin
13supported_archs     noarch
14license             MIT
15maintainers         nomaintainer
16description         Support for physical quantities with units, based on numpy
17long_description    \
18    Quantities is designed to handle arithmetic and conversions of physical \
19    quantities, which have a magnitude, dimensionality specified by various \
20    units, and possibly an uncertainty.  Quantities builds on the popular numpy \
21    library and is designed to work with numpy ufuncs, many of which are \
22    already supported. Quantities is actively developed, and while the current \
23    features and API are stable, test coverage is incomplete so the package is \
24    not suggested for mission-critical applications.
25
26checksums           \
27    md5 e924e21c0a5ddc9ebcdacbbe511b8ec7 \
28    rmd160 d5f07bfd08ae6342efe066ea8f575fa9d95b99f3 \
29    sha256  2d27caf31a5e0c37130ac0c14bfa8f9412a5ff1fbf3378a1d6085594776c4315
30python.versions     26 27 31 32 33
31homepage            http://packages.python.org/${real_name}
32
33master_sites        https://pypi.python.org/packages/source/q/${real_name}/
34
35distname            ${real_name}-${version}
36
37
38if {$subport != $name} {
39    depends_build-append port:py${python.version}-setuptools
40    depends_lib-append  port:py${python.version}-numpy
41    livecheck.type       none
42}