# -*- 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.37.0
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  e64808f20561acc20ccce23dc07692a5f4360082 \
                    sha256  44aefc3142c5b842538163acb373e24cce6632bd54bdb01b21ad5863489f50d8 \
                    size    78036

python.versions     310 311 312 313 314
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
    }
}
