# -*- 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-cwcwidth
version             0.1.9
revision            0

platforms           darwin
license             MIT
maintainers         {judaew @judaew} openmaintainer

description         Python bindings for wc(s)width
long_description    \
    cwcwidth provides Python bindings for wcwidth and wcswidth functions \
    defined in POSIX.1-2001 and POSIX.1-2008 based on Cython. These functions \
    compute the printable length of a unicode character/string on a terminal. \
    The module provides the same functions as wcwidth and its behavior is \
    compatible.
homepage            https://pypi.org/project/cwcwidth/

checksums           rmd160  8db9124baa4d26fc7a9e74b7a9606f43a68ab3fe \
                    sha256  f19d11a0148d4a8cacd064c96e93bca8ce3415a186ae8204038f45e108db76b8 \
                    size    57892

python.versions     39 310 311 312

if {${name} ne ${subport}} {
    depends_build-append \
                    port:py${python.version}-cython
}