# -*- 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-astor
version             0.8.1
platforms           darwin
license             BSD
maintainers         {emcrisostomo @emcrisostomo} openmaintainer

description         Read/rewrite/write Python ASTs
long_description    astor is a python library to easily manipulate Python\
                    source code via ASTs

homepage            https://github.com/berkerpeksag/astor
master_sites        pypi:a/astor
distname            astor-${version}

checksums           rmd160  de731d6a42488a90a41acbcd01cd080495baab21 \
                    sha256  6a6effda93f4e1ce9f618779b2dd1d9d84f1e32812c23a29b3fff6fd7f63fa5e \
                    size    35090

python.versions     27 35 36 37 38 39 310

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

    livecheck.type      none
} else {
    livecheck.type      pypi
}
