# -*- 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-compat
python.rootname     pydantic_compat
version             0.1.2
revision            0

license             BSD
maintainers         {mps @Schamschula} openmaintainer
description         This package provides (unofficial) compatibility mixins and function \
                    adaptors for pydantic v1-v2 cross compatibility.
long_description    {*}${description} It allows you to use either v1 or v2 API names, \
                    regardless of the pydantic version installed. (Prefer using v2 names \
                    when possible).
homepage            https://github.com/pyapp-kit/pydantic-compat

supported_archs     noarch
platforms           {darwin any}

checksums           rmd160  d0e0fb9822aa8129ae5a296a971e740666c56f5a \
                    sha256  c5c5bca39ca2d22cad00c02898e400e1920e5127649a8e860637f15566739373 \
                    size    12838

python.versions     310 311 312 313 314

python.pep517_backend \
                    hatch

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