# -*- 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-json5
version             0.15.0
revision            0

categories-append   devel
license             Apache-2
supported_archs     noarch
platforms           {darwin any}
maintainers         {aronnax @lpsinger} openmaintainer
description         A Python implementation of the JSON5 data format
long_description    {*}${description}. JSON5 extends the JSON data interchange format to make it \
                    slightly more usable as a configuration language.

homepage            https://github.com/dpranke/pyjson5

checksums           rmd160  fcae0303117f9577646e1d02e0ac927a33224100 \
                    sha256  7424d1f1eb1d56da6e3d70643f53619862b4ce81440bdb8ecfd6f875e5ba4a71 \
                    size    53278

python.versions     310 311 312 313 314

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

    test.run        yes
}
