# -*- 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 select 1.0 name py-autopep8 version 2.1.0 revision 0 categories-append devel supported_archs noarch platforms {darwin any} license MIT maintainers {reneeotten @reneeotten} openmaintainer description A tool that automatically formats Python code to \ conform to the PEP 8 style guide long_description autopep8 automatically formats Python code to \ conform to the PEP 8 style guide. It uses the \ pycodestyle utility to determine what parts of \ the code needs to be formatted. autopep8 is \ capable of fixing most of the formatting issues \ that can be reported by pycodestyle. homepage https://github.com/hhatto/autopep8 checksums rmd160 3ac944c805ee205dd04cd0eb0db571deafdcead1 \ sha256 1fa8964e4618929488f4ec36795c7ff12924a68b8bf01366c094fc52f770b6e7 \ size 88891 python.versions 38 39 310 311 312 if {${name} ne ${subport}} { depends_run-append \ port:${python.rootname}_select \ port:py${python.version}-codestyle if {${python.version} < 311} { depends_run-append \ port:py${python.version}-tomli } test.run yes post-destroot { set docdir ${prefix}/share/doc/${subport} xinstall -d ${destroot}${docdir} xinstall -m 0644 -W ${worksrcpath} README.rst LICENSE \ AUTHORS.rst ${destroot}${docdir} } select.group ${python.rootname} select.file ${filespath}/${python.rootname}-${python.version} notes " To make the Python ${python.branch} version of autopep8 the one that is run\ when you execute the commands without a version suffix, e.g. 'autopep8', run: sudo port select --set ${select.group} [file tail ${select.file}] " }