# -*- 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-pylint-venv
version             3.0.4
revision            0

categories-append   devel
platforms           {darwin any}
supported_archs     noarch
license             MIT
maintainers         {reneeotten @reneeotten} openmaintainer

description         pylint-venv provides a Pylint init-hook to use the same \
                    Pylint installation with different virtual environments.
long_description    {*}${description}

homepage            https://github.com/jgosmann/pylint-venv/

checksums           rmd160  412eaa8027192f16929466a2a94037d5f54088d9 \
                    sha256  4c71c2ad14fc0549699440bcc460994ffddc1481b9078404b4c43d2806ef0f59 \
                    size    5772

distname            pylint_venv-${version}

python.versions     310 311 312 313 314
python.pep517_backend   poetry

if {${name} ne ${subport}} {
    post-destroot {
        set docdir ${prefix}/share/doc/${subport}
        xinstall -d ${destroot}${docdir}
        xinstall -m 0644 -W ${worksrcpath} README.rst \
            LICENSE.txt ${destroot}${docdir}
    }
}
