# -*- 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-lmdb
version             1.7.5
revision            0

categories-append   databases
license             OLDAP-2.8
maintainers         {gmail.com:herby.gillot @herbygillot} \
                    openmaintainer

description         Universal Python binding for the LMDB Lightning Database
long_description    {*}${description}

homepage            https://lmdb.readthedocs.io/en/release

checksums           rmd160  6cb84f5d2a3e8535d919ed49d89e2c0c747f2b72 \
                    sha256  f0604751762cb097059d5412444c4057b95f386c7ed958363cf63f453e5108da \
                    size    883490

python.versions     310 311 312 313 314

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

    depends_lib-append \
                    port:py${python.version}-cffi
}
