# -*- 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.0 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  aa4c195f4a0d60c349ec875b73d1620ab583da43 \
                    sha256  39b21785fc12c61716a3634b466e3faffc5c679148c2d9cbbef9cc0c15772b6f \
                    size    424039

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

    test.run        yes
}
