# -*- 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-sigma-cli
python.rootname     sigma_cli
version             3.1.0
revision            0

license             LGPL-2.1+
maintainers         {mps @Schamschula} openmaintainer
description         Sigma Command Line Interface (conversion, check etc.) based on pySigma
long_description    {*}${description}
homepage            https://github.com/SigmaHQ/sigma-cli

supported_archs     noarch
platforms           {darwin any}

checksums           rmd160  964b1fca1b2e7f1a811681a3718276df65bdb269 \
                    sha256  e87e4f241b309e84f67fb38aa768ddd6d911f90e061c885c0aa16a6dcb7fbad7 \
                    size    35325

python.versions     310 311 312 313 314

python.pep517_backend \
                    poetry

if {${name} ne ${subport}} {
    depends_lib-append  \
                    port:py${python.version}-click \
                    port:py${python.version}-colorama \
                    port:py${python.version}-prettytable \
                    port:py${python.version}-pysigma
}
