# -*- 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-pysigma
version             1.3.3
revision            0

license             LGPL-2.1
maintainers         {mps @Schamschula} openmaintainer
description         Sigma rule processing and conversion tools
long_description    {*}${description}
homepage            https://github.com/SigmaHQ/pySigma

supported_archs     noarch
platforms           {darwin any}

checksums           rmd160  35339b6331e8e4ef9c33ca56b08d871f355b905b \
                    sha256  5c66b35a0a72ffcfc9e4e4d7519e10d43a0eec154baa2d35fe12d8a6ff48072f \
                    size    132876

python.versions     310 311 312 313 314

python.pep517_backend \
                    poetry

if {${name} ne ${subport}} {
    depends_lib-append  \
                    port:py${python.version}-diskcache \
                    port:py${python.version}-diskcache-stubs \
                    port:py${python.version}-jinja2 \
                    port:py${python.version}-packaging \
                    port:py${python.version}-parsing \
                    port:py${python.version}-requests \
                    port:py${python.version}-types-pyyaml \
                    port:py${python.version}-typing_extensions \
                    port:py${python.version}-yaml
}
