# -*- 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
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 \
(https://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 36 37
if {${name} ne ${subport}} {
depends_lib-append port:py${python.version}-setuptools
depends_run-append port:${realname}_select
select.file ${filespath}/${realname}-${python.version}
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.url https://pypi.python.org/pypi/${realname}/json
livecheck.regex "${realname}-(\\d+(\\.\\d+)+)\\${extract.suffix}"