Files
macports-ports/python/py-wcwidth/Portfile
2026-03-14 23:26:34 -04:00

42 lines
1.3 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-wcwidth
version 0.6.0
revision 0
license MIT
maintainers nomaintainer
description Library for building powerful interactive command lines in Python
long_description {*}${description}
homepage https://github.com/jquast/wcwidth/
platforms {darwin any}
supported_archs noarch
checksums rmd160 d2f40e069371a796b25ebe6a0b5831e2671a3fe9 \
sha256 cdc4e4262d6ef9a1a57e018384cbeb1208d8abbc64176027e2c2455c81313159 \
size 159684
python.versions 27 35 310 311 312 313 314
python.pep517_backend hatch
if {${name} ne ${subport}} {
if {${python.version} in "27 35"} {
version 0.2.14
revision 0
checksums rmd160 aa5216ca112ebfa19e78f563007e70dc012e1d4b \
sha256 4d478375d31bc5395a3c55c40ccdf3354688364cd61c4f6adacaa9215d0b3605 \
size 102293
if {${python.version} == 27} {
depends_lib-append \
port:py${python.version}-backports-functools_lru_cache
}
}
test.run yes
}