# -*- 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             26.7.1
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  e4b08eeca59f7f8854349d0710b6200a7d7ee6f0 \
                    sha256  3cbc9447cfbf3b33dad0a30f7e671d467d72b41e5bc4e999b4f41914eff5fcb9 \
                    size    1889262

python.versions     311 312 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
}
