# -*- 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 argh set _n [string index ${_name} 0] name py-${_name} version 0.26.2 platforms darwin supported_archs noarch license LGPL-3+ maintainers petr openmaintainer description A simple argparse wrapper long_description ${description} homepage https://github.com/neithere/${python.rootname} master_sites pypi:${_n}/${_name} distname ${_name}-${version} checksums md5 edda25f3f0164a963dd89c0e3c619973 \ rmd160 42da2aa1dfae654419acfc62db73d0fb27ecd23f \ sha256 e9535b8c84dc9571a48999094fda7f33e63c3f1b74f3e5f3ac0105a58405bb65 python.versions 27 34 35 if {${name} ne ${subport}} { depends_build 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}\"" }