Files
2021-02-11 11:13:30 +00:00

49 lines
1.5 KiB
Tcl

# -*- 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-astunparse
version 1.6.3
revision 0
license BSD
maintainers nomaintainer
platforms darwin
supported_archs noarch
description An AST unparser for Python.
long_description ${description}. This is a factored out version\
of unparse found in the Python source distribution\;\
under Demo/parser in Python 2 and under Tools/parser\
in Python 3.
homepage https://github.com/simonpercivall/astunparse
checksums rmd160 3506f9ca63bfac6efa0a2933ff0257b760972011 \
sha256 5ad93a8456f0d084c3456d059fd9a92cce667963232cbf763eac3bc5b7940872 \
size 18290
python.versions 37 38 39
if {${name} ne ${subport}} {
depends_build-append \
port:py${python.version}-setuptools
depends_test-append \
port:py${python.version}-wheel
test.run yes
test.env PYTHONPATH=${worksrcpath}/build/lib
post-destroot {
set docdir ${prefix}/share/doc/${subport}
xinstall -d ${destroot}${docdir}
xinstall -m 0644 -W ${worksrcpath} LICENSE README.rst \
${destroot}${docdir}
}
livecheck.type none
}