# -*- 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-astroid
version             4.1.2
revision            0

categories-append   devel
license             LGPL-2.1+
supported_archs     noarch
platforms           {darwin any}

python.versions     310 311 312 313 314

maintainers         {stromnov @stromnov} openmaintainer

description         Rebuild a new abstract syntax tree from Python's ast.

long_description    The aim of this module is to provide a common \
                    base representation of python source code for \
                    projects such as pychecker, pyreverse, pylint... \
                    Well, actually the development of this library is \
                    essentially governed by pylint's needs.

homepage            https://github.com/pylint-dev/astroid

checksums           rmd160  1a7b27d200b47b42f49f00c13e245d1e6e9cf71b \
                    sha256  d6c4a52bfcda4bbeb7359dead642b0248b90f7d9a07e690230bd86fefd6d37f1 \
                    size    414896

if {${name} ne ${subport}} {
    if {${python.version} < 311} {
        depends_lib-append  port:py${python.version}-typing_extensions
    }
}
