# -*- 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.14.11
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  ed5a069a2a67fc763f906dd4c47cf973c7003d07 \
                    sha256  6b632581ea60dd1c133cd25a48ad187b4b91f526623c4b0fb5443ef805250505 \
                    size    75586

python.versions     312

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
}
