# -*- 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-pycifrw
python.rootname     PyCifRW
version             5.0.1
revision            0

categories-append   science
license             Python-2.0
maintainers         nomaintainer

description         CIF/STAR file support for Python
long_description    {*}${description}

homepage            https://github.com/jamesrhester/pycifrw

distname            pycifrw-${version}

checksums           rmd160  abb2cea0e8f03dd7ad83b20d959c883aef9ac018 \
                    sha256  e636b80be6a2be15b215e69ecec0c0a784ebcbfed8b1e3bac4bcc6e6ba9a75e0 \
                    size    896861

python.versions     310 311 312 313

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