# -*- 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.4
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  90356a1d608795cdd3717685691d4a7944b5a89a \
                    sha256  f9e49b76594e9ffebfba27320dab1909f5de9b1ece8ea3efa4079e367887e627 \
                    size    1421324

python.versions     313 314
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
}
