# -*- 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-jsonpatch
version             1.33
revision            0

supported_archs     noarch
platforms           {darwin any}
license             BSD
maintainers         nomaintainer

description         Apply JSON-Patches (RFC 6902)
long_description    {*}${description}

homepage            https://github.com/stefankoegl/python-json-patch

checksums           sha256  9fcd4009c41e6d12348b4a0ff2563ba56a2923a7dfee731d004e212e1ee5030c \
                    rmd160  145324deef48fce7f871b4603b8f23ee3686c67a \
                    size    21699

python.versions     310 311 312 313 314

if {${name} ne ${subport}} {
    depends_run-append \
                    port:py${python.version}-jsonpointer

    test.run        yes
}
