# -*- 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 ConfigArgParse set _n [string index ${_name} 0] name py-configargparse version 0.10.0 categories-append devel platforms darwin supported_archs noarch license MIT maintainers petr openmaintainer description ${_name} extends argparse with config files and environment variables support long_description \ ${_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 if {${name} ne ${subport}} { depends_build-append port:py${python.version}-setuptools # Adding documentation post-destroot { set dest_doc ${destroot}${prefix}/share/doc/${subport} xinstall -d ${dest_doc} xinstall -m 755 -W ${worksrcpath} \ LICENSE \ README.rst \ ${dest_doc} } livecheck.type none } else { livecheck.type regex livecheck.url https://pypi.python.org/pypi/${_name}/json livecheck.regex "\"${_name}-(\[.\\d\]+)\\${extract.suffix}\"" }