# -*- 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.9.4
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  9abf10d2024a90911d5adf43ea3e92bc2a4c0adb \
                    sha256  b589e5de2afe70bd4d53fa0c1da6199f4085af666fde00e8a034f152a52cd628 \
                    size    4242677

python.default_version  314

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

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
