# -*- 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

PortSystem          1.0
PortGroup           python 1.0

name                py-quantities
version             0.15.0
revision            0

categories-append   science
supported_archs     noarch
platforms           {darwin any}
license             MIT
maintainers         {fusion.gat.com:smithsp @smithsp} openmaintainer
description         Support for physical quantities with units, based on numpy
long_description    \
    Quantities is designed to handle arithmetic and conversions of physical \
    quantities, which have a magnitude, dimensionality specified by various \
    units, and possibly an uncertainty.  Quantities builds on the popular numpy \
    library and is designed to work with numpy ufuncs, many of which are \
    already supported. Quantities is actively developed, and while the current \
    features and API are stable, test coverage is incomplete so the package is \
    not suggested for mission-critical applications.

homepage            https://github.com/python-quantities/python-quantities

checksums           rmd160  6936d7b9f6eb03fb1086b0a41cdcb3aa28733519 \
                    sha256  9ea31e2a0d7517cf24d546b14146def9292639993a616cca61b875ef796b4b2b \
                    size    99702

python.versions     39 310 311 312

if {${name} ne ${subport}} {
    depends_build-append \
                        port:py${python.version}-setuptools_scm

    depends_lib-append  port:py${python.version}-numpy
}