# -*- 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             3.3.11
revision            0

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

python.versions     39 310 311 312 313

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  2c14de8f358c2dc54e3e19e306cfecd17c9d8b50 \
                    sha256  1e5a5011af2920c7c67a53f65d536d65bfa7116feeaf2354d8b94f29573bb0ce \
                    size    400439

if {${name} ne ${subport}} {
    depends_build-append \
                    port:py${python.version}-wheel

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