# -*- 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-extra-types
python.rootname     pydantic_extra_types
version             2.11.0
revision            0

license             MIT
maintainers         {mps @Schamschula} openmaintainer
description         A place for pydantic types that probably shouldn't exist in the main pydantic lib.
long_description    {*}${description}
homepage            https://github.com/pydantic/pydantic-extra-types

checksums           rmd160  3dc0561bdf2320d0d267e7318a67e56b006e9d9e \
                    sha256  4e9991959d045b75feb775683437a97991d02c138e00b59176571db9ce634f0e \
                    size    157226

python.versions     310 311 312 313 314

python.pep517_backend \
                    hatch

if {${name} ne ${subport}} {
    depends_lib-append  \
                    port:py${python.version}-country \
                    port:py${python.version}-pendulum \
                    port:py${python.version}-phonenumbers \
                    port:py${python.version}-pydantic \
                    port:py${python.version}-semver \
                    port:py${python.version}-typing_extensions \
                    port:py${python.version}-tz \
                    port:py${python.version}-tzdata \
                    port:py${python.version}-ulid
}
