# -*- 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-zlmdb
version             25.12.3
revision            0
platforms           {darwin any}
supported_archs     noarch
license             MIT
maintainers         {gmail.com:herby.gillot @herbygillot} \
                    openmaintainer

description         Object relational zero copy in memory database layer for \
                    LMDB.
long_description    {*}${description}

homepage            https://github.com/crossbario/zlmdb

checksums           rmd160  0f932e3304851a6a4d8483d44133a06e3a023f53 \
                    sha256  c576bcc38f3c926d96999be5f9c5fcd180cdca5d2b581c023a467fd59feaaa64 \
                    size    1839860

python.versions     313
python.pep517_backend hatch

if {${name} ne ${subport}} {
    depends_build-append \
                port:py${python.version}-hatch-vcs

    depends_lib-append \
                    port:py${python.version}-cffi \
                    port:py${python.version}-cbor2 \
                    port:py${python.version}-click \
                    port:py${python.version}-numpy \
                    port:py${python.version}-pynacl \
                    port:py${python.version}-txaio \
                    port:py${python.version}-yaml
}
