# -*- 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-pydantic
version             1.7.2
categories-append   devel
platforms           darwin
license             MIT

python.versions     36 37 38 39

maintainers         {@jandemter demter.de:jan} openmaintainer

description         Data validation and settings management using Python type hinting
long_description    Fast and extensible, pydantic plays nicely \
                    with your linters/IDE/brain. Define how data \
                    should be in pure, canonical Python 3.6+\; \
                    validate it with pydantic.

homepage            https://github.com/samuelcolvin/pydantic

checksums           rmd160  e65928e8b9a2224d11db18aa2b5a84e7ddcf2956 \
                    sha256  c8200aecbd1fb914e1bd061d71a4d1d79ecb553165296af0c14989b89e90d09b \
                    size    223158

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

    livecheck.type      none
}
