# -*- 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-terminaltables
version             3.1.10
revision            0

license             MIT
supported_archs     noarch
platforms           {darwin any}
maintainers         nomaintainer
description         Generate simple tables in terminals from a nested list of strings
long_description    Easily draw tables in terminal/console applications from \
                    a list of lists of strings. Supports multi-line rows.

python.versions     310 311
python.pep517_backend \
                    poetry

homepage            https://robpol86.github.io/${python.rootname}/

checksums           rmd160  9d02523f89d32c890ae9c40212155e221584e279 \
                    sha256  ba6eca5cb5ba02bba4c9f4f985af80c54ec3dccf94cfcd190154386255e47543 \
                    size    12264

if {${name} ne ${subport}} {
    patch.pre_args-replace  -p0 -p1
    patchfiles-append \
                    0001-switch-to-poetry-core.patch
}
