Files
2026-01-16 16:29:06 -05:00

45 lines
1.4 KiB
Tcl

# -*- 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
PortSystem 1.0
PortGroup python 1.0
name py-configargparse
version 1.7.1
revision 0
categories-append devel
supported_archs noarch
platforms {darwin any}
license MIT
maintainers {petr @petrrr} openmaintainer
description ${python.rootname} extends argparse with config files and environment variables support
long_description \
${python.rootname} 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
checksums rmd160 9b714759b8c2a06d2f2b6006eb0e18d7588c90b9 \
sha256 79c2ddae836a1e5914b71d58e4b9adbd9f7779d4e6351a637b7d2d9b6c46d3d9 \
size 43958
python.versions 310 311 312 313 314
if {${name} ne ${subport}} {
depends_test-append \
port:py${python.version}-mock \
port:py${python.version}-yaml
test.run yes
post-destroot {
set dest_doc ${destroot}${prefix}/share/doc/${subport}
xinstall -d ${dest_doc}
xinstall -m 0644 -W ${worksrcpath} LICENSE \
README.rst ${dest_doc}
}
}