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

platforms           darwin
supported_archs     noarch
license             unknown
maintainers         nomaintainer

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

homepage            https://github.com/stefankoegl/python-json-patch
master_sites        pypi:[string index ${python.rootname} 0]/${python.rootname}
distname            ${python.rootname}-${version}

checksums           sha256  49f29cab70e9068db3b1dc6b656cbe2ee4edf7dfe9bf5a0055f17a4b6804a4b9 \
                    rmd160  4dc717550dc31026db66d035c8ff13c28b6b2b5c \
                    size    18162

python.versions     37

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
}