# -*- 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 # $Id$ PortSystem 1.0 PortGroup python 1.0 PortGroup select 1.0 name py-autopep8 set realname autopep8 version 1.2.1 categories-append devel platforms darwin supported_archs noarch license MIT maintainers gmail.com:patrik.hartlen openmaintainer description A tool that automatically formats Python code to \ conform to the PEP 8 style guide long_description autopep8 formats Python code based on the output \ of the pep8_ utility. homepage http://pypi.python.org/pypi/${realname} master_sites pypi:a/${realname} distname ${realname}-${version} checksums md5 4167555f521ddd69b66f13819604f3db \ rmd160 175a0f1fc4a79073bca99ab3a87f87f07aa54af9 \ sha256 d0a7cdc397e46be0d91a968acb3f561cc1b9244f5df94a2514cf32acfc8a2e94 python.versions 27 34 35 if {${name} ne ${subport}} { depends_build port:py${python.version}-setuptools depends_run-append \ port:${realname}_select \ path:${python.pkgd}/pep8:py${python.version}-pep8 select.group ${realname} select.file ${filespath}/${realname}-${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: port select --set ${select.group} [file tail ${select.file}] " livecheck.type none } else { livecheck.type regex livecheck.url https://pypi.python.org/pypi/${realname}/json livecheck.regex "\"${realname}-(\[.\\d\]+)\\${extract.suffix}\"" }