# -*- 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 set _name pep8-naming set _n [string index ${_name} 0] name py-flake8-${_name} version 0.3.3 categories-append devel platforms darwin supported_archs noarch license MIT maintainers petr openmaintainer description Check PEP-8 naming conventions, plugin for flake8 long_description ${description} homepage https://pypi.python.org/pypi/${_name}/${version} distname ${_name}-${version} master_sites pypi:${_n}/${_name}/ checksums md5 566f05660200993191312d51cd5a6cc9 \ rmd160 a2f2031f1323df43f21d4a47e1d71eb1faa605d5 \ sha256 fc691c3f9a6022a41be0787c66cf269b415af07f151c682a946016928106f67e python.versions 27 34 35 if {${name} ne ${subport}} { depends_build-append port:py${python.version}-setuptools livecheck.type none } else { livecheck.type regex livecheck.url https://pypi.python.org/pypi/${_name}/json livecheck.regex "\"${_name}-(\[.\\d\]+)\\${extract.suffix}\"" }