# -*- 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.12
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  ef4abb2357fdfe9bd09871490d9c84d8fabe771c \
                    sha256  bfc16531d1246dd2558eb9b3a63aa37a9978672b956860dc5426da2343ebf366 \
                    size    72009

python.versions     39 310 311 312 313

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