Permalink
Fetching contributors…
Cannot retrieve contributors at this time
41 lines (30 sloc) 1.3 KB
# -*- 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 beautify-web js-beautify 1.8.8 v
name py-jsbeautifier
categories-append textproc
platforms darwin
supported_archs noarch
license MIT
maintainers {yan12125 @yan12125} openmaintainer
description JS beautifier written in Python
long_description ${description}
homepage https://beautifier.io/
checksums rmd160 4724a7bf1cd2a8d0ea5fc70b59aec7b300ce243a \
sha256 69041b577d833290775c05234337b4a7bb8d7804c91c94e66856c9b80ac08491 \
size 1017091
python.versions 27 36 37
if {${name} ne ${subport}} {
depends_build-append \
port:py${python.version}-setuptools
depends_lib-append port:py${python.version}-six \
port:py${python.version}-editorconfig
build.dir ${worksrcpath}/python
test.run yes
test.env PYTHONPATH=${worksrcpath}/python
test.dir ${worksrcpath}
test.cmd ${python.bin}
test.target python/js-beautify-test.py
}