Skip to content
Permalink
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
85 lines (65 sloc) 3.02 KB
# -*- 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 2.2.5
revision 0
categories-append devel
platforms darwin
license LGPL-2.1+
supported_archs noarch
python.versions 27 34 35 36 37
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/pycqa/astroid
master_sites pypi:[string index ${python.rootname} 0]/${python.rootname}
distname ${python.rootname}-${version}
checksums rmd160 c5a4e3ef953ac6852d0751473c62631b103940f5 \
sha256 6560e1e1749f68c64a4b5dee4e091fce798d2f0d84ebe638cf0e0585a343acf4 \
size 281829
if {${name} ne ${subport}} {
depends_build-append \
port:py${python.version}-pytest-runner \
port:py${python.version}-setuptools
depends_lib-append port:py${python.version}-lazy_object_proxy \
port:py${python.version}-six \
port:py${python.version}-typed-ast \
port:py${python.version}-wrapt
if {${python.version} eq 34} {
depends_lib-append \
port:py${python.version}-typing
}
if {${python.version} eq 27} {
version 1.6.5
revision 0
distname ${python.rootname}-${version}
checksums rmd160 bba1d1e3582e557ecbe6a56ca83adef5b1d80506 \
sha256 fc9b582dba0366e63540982c3944a9230cbc6f303641c51483fa547dcc22393a \
size 255688
depends_lib-append \
port:py${python.version}-enum34 \
port:py${python.version}-singledispatch \
port:py${python.version}-backports-functools_lru_cache
depends_build-delete \
port:py${python.version}-pytest-runner
depends_lib-delete \
port:py${python.version}-typed-ast
}
depends_test-append \
port:py${python.version}-pytest
test.run yes
test.cmd py.test-${python.branch}
test.target
test.env PYTHONPATH=${worksrcpath}/build/lib
post-destroot {
xinstall -m 755 -d ${destroot}${prefix}/share/doc/${subport}
xinstall -m 644 -W ${worksrcpath} ChangeLog README.rst \
${destroot}${prefix}/share/doc/${subport}
}
livecheck.type none
}
You can’t perform that action at this time.