# -*- 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-jsbeautifier
version             1.15.4
revision            0

categories-append   textproc
supported_archs     noarch
platforms           {darwin any}
license             MIT
maintainers         nomaintainer

description         JS beautifier written in Python
long_description    {*}${description}

homepage            https://beautifier.io/

checksums           rmd160  8d8e2e2f64459c9a63457c3ec026d74e28503eae \
                    sha256  5bb18d9efb9331d825735fbc5360ee8f1aac5e52780042803943aa7f854f7592 \
                    size    75257

python.versions     313

if {${name} ne ${subport}} {
    depends_lib-append \
                    port:py${python.version}-editorconfig \
                    port:py${python.version}-six

    test.run        yes
    python.test_framework
    test.cmd        ${python.bin} setup.py
    test.target     test
}
