# -*- 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-mongomock
version             4.3.0
revision            0

categories-append   devel
platforms           {darwin any}
supported_archs     noarch
license             ISC
maintainers         nomaintainer

description         Fake pymongo stub for testing simple MongoDB-dependent code
long_description    {*}${description}

homepage            https://github.com/mongomock/mongomock

checksums           rmd160  7cfcdef7100f4a23aff5faf07f6312bd8ef3d167 \
                    sha256  32667b79066fabc12d4f17f16a8fd7361b5f4435208b3ba32c226e52212a8c30 \
                    size    135862

python.versions     310 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}-packaging \
                    port:py${python.version}-tz \
                    port:py${python.version}-sentinels
}
