# -*- 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.9.3 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 https://pypi.python.org/packages/source/${_n}/${_name}/ distname ${_name}-${version} checksums md5 69273e8099661cd12985b85d795ab73e \ rmd160 d8ecc734b0a4e63a7a5061533eb404e6ca54ab74 \ sha256 141c57112e1f8eb7e594a9820e95af897a7fa2d186cef5cff7e08cb3f7252829 python.versions 27 34 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}\"" }