# -*- 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.26
revision            0

platforms           darwin
supported_archs     noarch
license             BSD
maintainers         nomaintainer

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

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

checksums           sha256  e45df18b0ab7df1925f20671bbc3f6bd0b4b556fb4b9c5d97684b0a7eac01744 \
                    rmd160  82cf1761dba6d8f319b91b6eb24cdbe3fce09af4 \
                    size    18641

python.versions     36 37 38

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

    depends_run-append \
                    port:py${python.version}-jsonpointer

    test.run        yes

    livecheck.type  none
}
