# -*- 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.1
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  8dfe5c34856d778a995a806a573cdbf0aaaa91ce \
                    sha256  46792d2307383859e923d8fcefa82108b1a141f8a9c0198982b3832ab5ef1049 \
                    size    172002

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
}
