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

python.versions     39 310 311 312 313

maintainers         {stromnov @stromnov} openmaintainer

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

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

checksums           rmd160  06a98e8e7476f5d3f790cb7b08d1bac01ea483ba \
                    sha256  0095b12bf5966de529c0feb1fa08671671b3368eec77d7ef7ab114be2c068b3c \
                    size    81090

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

    test.run            yes
}
