# -*- 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
PortGroup           github 1.0

github.setup        dpranke pyjson5 0.12.1 v
revision            0
name                py-json5
github.tarball_from archive

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

checksums           rmd160  ac53be2c0c139c8ec0abe9c58c4aefefb9e8410a \
                    sha256  c729b79398a116a9eec40c71d8ad84e0e9e52d502377639d7ca67dd630266674 \
                    size    424290

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

    test.run        yes
}
