# -*- 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-gemmi
version             0.7.3
revision            0

categories-append   science
license             {MPL-2.0 LGPL-3}
maintainers         {reneeotten @reneeotten} openmaintainer

description         library for structural biology
long_description    {*}${description}

homepage            https://github.com/project-gemmi/gemmi

checksums           rmd160  8f810435cd6da675eb1006ba9c0a0dcbc12c5d91 \
                    sha256  32069b111216aad58a9724640fb23a31309c15a1aaf16164b4c9addc3677fadb \
                    size    1364609

python.versions     313
python.pep517_backend

compiler.cxx_standard 2017

if {${subport} ne ${name}} {
    depends_build-append \
                    port:py${python.version}-scikit-build-core \
                    port:ninja \
                    port:py${python.version}-nanobind \
                    port:py${python.version}-wheel
}
