# -*- 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
set _n [string index ${_name} 0]
maintainers {petr @petrrr} openmaintainer
description ${_name} extends argparse with config files and environment variables support
${_name} is a drop-in replacement for argparse that adds support for \
config files and environment variables. It allows options to also be set \
via config files and/or environment variables.
homepage https://github.com/zorro3/ConfigArgParse
master_sites pypi:${_n}/${_name}/
distname ${_name}-${version}
checksums md5 408ad7af06cd449420cecc19bee6f0c9 \
rmd160 158182f4929e33c9b325806cc9c3f509515334d2 \
sha256 3b50a83dd58149dfcee98cb6565265d10b53e9c0a2bca7eeef7fb5f5524890a7
python.versions 27 34 35 36 37
if {${name} ne ${subport}} {
depends_build-append port:py${python.version}-setuptools
set dest_doc ${destroot}${prefix}/share/doc/${subport}
xinstall -m 755 -W ${worksrcpath} \
livecheck.url https://pypi.python.org/pypi/${_name}/json
livecheck.regex "\"${_name}-(\[.\\d\]+)\\${extract.suffix}\""