# -*- 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
PortGroup           github 1.0

name                py-periodictable
github.setup        python-periodictable periodictable 2.0.2 v
github.tarball_from archive
revision            0

categories-append   science
platforms           {darwin any}
supported_archs     noarch
license             public-domain
maintainers         {reneeotten @reneeotten} openmaintainer

description         Extensible periodic table of the elements
long_description    {*}${description}

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

checksums           rmd160  919ae969289d65770174b6512a60551647c13e4e \
                    sha256  5a8aed4759e74dabb38fda0ecbe59b6f7fef42b0babf83f25d8dfaee3c6798f8 \
                    size    934995

python.versions     314

if {${name} ne ${subport}} {
    depends_lib-append \
                    port:py${python.version}-numpy \
                    port:py${python.version}-parsing

    test.run        yes
}
