# -*- 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                bandit
version             1.8.6
revision            0

license             Apache-2
categories-append   security
platforms           {darwin any}
supported_archs     noarch
maintainers         {gmail.com:herby.gillot @herbygillot} \
                    openmaintainer

description         Security oriented static analyser for python code.

long_description    {*}${description} Bandit is a tool designed to find \
                    common security issues in Python code. To do this Bandit \
                    processes each file, builds an AST from it, and runs \
                    appropriate plugins against the AST nodes. Once Bandit \
                    has finished scanning all the files it generates a report.

homepage            https://bandit.readthedocs.io/en/latest

checksums           rmd160  f2e7aa562919e044c24a4242ee3c4eedacfeead9 \
                    sha256  dbfe9c25fc6961c2078593de55fd19f2559f9e45b99f1272341f5b95dea4e56b \
                    size    4240271

python.default_version  313

depends_build-append \
                    port:py${python.version}-pbr \
                    port:py${python.version}-setuptools

depends_run-append  port:py${python.version}-jschema_to_python \
                    port:py${python.version}-gitpython \
                    port:py${python.version}-sarif-om \
                    port:py${python.version}-rich \
                    port:py${python.version}-stevedore \
                    port:py${python.version}-yaml
