# -*- 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 set realname pep8 name py-pep8 version 1.7.0 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 https://pypi.python.org/pypi/${realname}/ master_sites pypi:p/${realname}/ distname ${realname}-${version} checksums md5 2b03109b0618afe3b04b3e63b334ac9d \ rmd160 bca97f9cd30b21ce1f765b1f4f520747443b5d3e \ sha256 a113d5f5ad7a7abacef9df5ec3f2af23a20a28005921577b15dd584d099d5900 python.versions 27 34 35 if {${name} ne ${subport}} { 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}] " livecheck.type none } else { livecheck.type regex livecheck.url https://pypi.python.org/pypi/${realname}/json livecheck.regex "${realname}-(\\d+(\\.\\d+)+)\\${extract.suffix}" }