# -*- 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.2
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  6a14ecb5213287382af575ae6c82d35b42e42fdf \
                    sha256  3a2b83b61fe920925688e7838b59caa90a45637d1dbba2b1364b8d1f7ff72a0a \
                    size    203929

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
}
