# -*- 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.1.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 http://pypi.python.org/packages/source/a/${realname} distname ${realname}-${version} checksums rmd160 cd1b867ef9e75951a01cdeda62fb0146e291cbb0 \ sha256 d4844c9420f0b5ec3cfc1a3cf264f139c16eb891aba55884a601edeb11c40adc python.versions 26 27 33 34 if {${name} ne ${subport}} { depends_build port:py${python.version}-setuptools depends_run-append port:${realname}_select \ port: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 [lindex ${master_sites} 0] livecheck.regex ">${realname}-(\\d+(\\.\\d+)+)\\${extract.suffix}<" }