You've already forked macports-ports
mirror of
https://github.com/encounter/macports-ports.git
synced 2026-03-30 11:29:27 -07:00
53 lines
1.7 KiB
Tcl
53 lines
1.7 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
|
|
python.rootname ConfigArgParse
|
|
version 0.15.1
|
|
revision 0
|
|
|
|
categories-append devel
|
|
platforms darwin
|
|
supported_archs noarch
|
|
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
|
|
master_sites pypi:[string index ${python.rootname} 0]/${python.rootname}
|
|
distname ${python.rootname}-${version}
|
|
|
|
checksums rmd160 a5ca661eddd08389709e8b53461c53c0abe99cb2 \
|
|
sha256 baaf0fd2c1c108d007f402dab5481ac5f12d77d034825bf5a27f8224757bd0ac \
|
|
size 27065
|
|
|
|
python.versions 27 35 36 37 38 39
|
|
|
|
if {${name} ne ${subport}} {
|
|
depends_build-append \
|
|
port:py${python.version}-setuptools
|
|
|
|
depends_test-append \
|
|
port:py${python.version}-yaml
|
|
|
|
test.run yes
|
|
test.env PYTHONPATH=${worksrcpath}/build/lib
|
|
|
|
post-destroot {
|
|
set dest_doc ${destroot}${prefix}/share/doc/${subport}
|
|
xinstall -d ${dest_doc}
|
|
|
|
xinstall -m 0644 -W ${worksrcpath} LICENSE \
|
|
README.rst ${dest_doc}
|
|
}
|
|
|
|
livecheck.type none
|
|
}
|