# -*- 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-referencing
version             0.36.2
revision            0

categories-append   devel
license             BSD
supported_archs     noarch
platforms           {darwin any}
maintainers         nomaintainer

description         JSON referencing + Python
long_description    An implementation-agnostic implementation of JSON reference resolution

homepage            https://github.com/python-jsonschema/referencing

checksums           rmd160  6ccbeda1dd0926d3323cf2ea5b2e54915818e061 \
                    sha256  df2e89862cd09deabbdba16944cc3f10feb6b3e6f18e902f7cc25609a34775aa \
                    size    74744

python.versions     39 310 311 312 313
python.pep517_backend hatch

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

    depends_lib-append  port:py${python.version}-attrs \
                        port:py${python.version}-rpds-py
    if {${python.version} < 313} {
        depends_lib-append  port:py${python.version}-typing_extensions
    }
}
