# -*- 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-tabulate
version             0.10.0
revision            0
categories-append   devel
license             MIT
supported_archs     noarch
platforms           {darwin any}

python.versions     310 311 312 313 314

maintainers         {stromnov @stromnov} openmaintainer

description         Pretty-print tabular data
long_description    {*}${description}

homepage            https://github.com/astanin/python-tabulate

checksums           rmd160  bd9bfe2e0e533e72709a9a765b399d1a5fed8091 \
                    sha256  e2cfde8f79420f6deeffdeda9aaec3b6bc5abce947655d17ac662b126e48a60d \
                    size    91754

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

    test.run            yes
}
