# -*- 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-pep8 set realname pep8 version 1.4.6 categories-append devel platforms darwin supported_archs noarch license MIT maintainers gmail.com:patrik.hartlen openmaintainer description Python style guide checker long_description pep8 is a tool to check your Python code against \ some of the style conventions in PEP 8 \ (http://www.python.org/dev/peps/pep-0008/) homepage http://pypi.python.org/pypi/${realname} master_sites http://pypi.python.org/packages/source/p/${realname} distname ${realname}-${version} checksums rmd160 97b23815ea798ade69a33ef4298f1e74e62cfec6 \ sha256 603a46e5c358ce20ac4807a0eeafac7505d1125a4c1bd8378757ada06f61bed8 python.versions 25 26 27 31 32 33 if {${subport} != ${name}} { depends_lib-append port:py${python.version}-setuptools depends_run-append port:${realname}_select select.group ${realname} select.file ${filespath}/${realname}${python.version} notes " To make the Python ${python.branch} version of pep8 the one that is run\ when you execute the commands without a version suffix, e.g. 'pep8', run: port select --set ${select.group} [file tail ${select.file}] " }