# -*- 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-autoflake version 2.2.1 revision 0 license MIT platforms {darwin any} supported_archs noarch maintainers nomaintainer description Removes unused imports and unused variables long_description {*}${description} homepage https://github.com/PyCQA/autoflake checksums rmd160 abd9a71c5f2583f0678caca23bd0140979a5ab18 \ sha256 62b7b6449a692c3c9b0c916919bbc21648da7281e8506bcf8d3f8280e431ebc1 \ size 27377 python.versions 38 39 310 311 312 python.pep517_backend hatch if {${name} ne ${subport}} { depends_lib-append \ port:py${python.version}-pyflakes if {${python.version} < 311} { depends_lib-append \ port:py${python.version}-tomli } post-destroot { set docdir ${destroot}${prefix}/share/doc/${subport} set doc_list [list LICENSE README.md] xinstall -d ${docdir} foreach f ${doc_list} { xinstall -m 644 -W ${worksrcpath} ${f} ${docdir} file delete -force ${destroot}/${python.pkgd}/${f} } } }