# -*- 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
maintainers petr openmaintainer
description Python style guide checker (formally called pep8)
${_name} 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/). \
This package used to be called pep8, but was renamed.
homepage https://pypi.python.org/pypi/${_name}/
master_sites pypi:[string index ${_name} 0]/${_name}/
distname ${_name}-${version}
checksums md5 733291d308def897c0c48c7840b7f6bc \
rmd160 2e96f05c6bfc5f91e35e0534042147697f98559c \
sha256 37f0420b14630b0eaaf452978f3a6ea4816d787c3e6dcbba6fb255030adae2e7
python.versions 27 34 35 36
if {${name} ne ${subport}} {
depends_lib-append port:py${python.version}-setuptools
# fix wrong file permissions of the distfile
fs-traverse f ${worksrcpath} {
file attributes ${f} -permissions a+r
depends_run-append port:${_name}_select
select.file ${filespath}/pycodestyle-py${python.version}
To make the Python ${python.branch} version of ${_name} the one that is run\
when you execute the commands without a version suffix, e.g. '${_name}', run:
port select --set ${select.group} [file tail ${select.file}]
livecheck.url https://pypi.python.org/pypi/${_name}/json
livecheck.regex "${_name}-(\\d+(\\.\\d+)+)\\${extract.suffix}"