Files
2026-03-24 20:47:39 -04:00

42 lines
1.3 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 1
license BSD
maintainers nomaintainer
platforms {darwin any}
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 310 311 312 313
if {${name} ne ${subport}} {
depends_lib-append \
port:py${python.version}-six
test.run yes
post-destroot {
set docdir ${prefix}/share/doc/${subport}
xinstall -d ${destroot}${docdir}
xinstall -m 0644 -W ${worksrcpath} LICENSE README.rst \
${destroot}${docdir}
}
}