# -*- 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.1.0 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  b54b147b9c6267668213b8a2c91e3fdbf385d911 \
                    sha256  f27bcf7ca703ccab6367fb84b0a1e90a326164473acabb800c610ef7d49b2e88 \
                    size    964237

python.versions     314

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

    test.run        yes
}
