# -*- 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-pytest-pylint
version             0.21.0
revision            0

categories-append   devel
supported_archs     noarch
platforms           {darwin any}
license             MIT
maintainers         {@catap korins.ky:kirill} openmaintainer

description         pytest plugin to check source code with pylint
long_description    {*}${description}

homepage            https://github.com/carsongee/pytest-pylint

checksums           rmd160  14df84a31ada8958477374ad6d780ef381cc1ed0 \
                    sha256  88764b8e1d5cfa18809248e0ccc2fc05035f08c35f0b0222ddcfea1c3c4e553e \
                    size    14250

python.versions     38 39 310 311 312

if {${name} ne ${subport}} {
    if {${python.version} < 38} {
        version     0.19.0
        revision    0

        checksums   rmd160  f328c20f026cce26ad3592b24d1503fd080e8454 \
                    sha256  d88e83c1023c641548a9ec3567707ceee7616632a986af133426d4a74d066932 \
                    size    13801
    }

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

    depends_lib-append \
                    port:py${python.version}-pylint \
                    port:py${python.version}-pytest \
                    port:py${python.version}-pytest-runner \
                    port:py${python.version}-toml
}
