BSD Ports

devel/py-astroid2 2.15.8_1 MidnightBSD

Abstract syntax tree for Python with inference support

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
License
lgpl2.1+
Categories
devel, python

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. It used to be called logilab-astng.

It provides a compatible representation which comes from the _ast module. It rebuilds the tree generated by the builtin _ast module by recursively walking down the AST and building an extended ast. The new node classes have additional methods and attributes for different usages. They include some support for static inference and local name scopes. Furthermore, astroid builds partial trees by inspecting living objects.

In the other systems

SystemPortVersion
MidnightBSDdevel/py-astroid22.15.8_1
FreeBSDdevel/py-astroid22.15.8_1
DragonFlydevel/py-astroid22.15.8
HardenedBSDdevel/py-astroid22.15.8_1
GhostBSDdevel/py-astroid22.15.8_1

Install

Binary package:

mport install ${PYTHON_PKGNAMEPREFIX}astroid2

From mports:

cd /usr/mports/devel/py-astroid2 && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}astroid2>0:devel/py-astroid2

Dependencies

As this port's Makefile names them.

Build 2

Runtime 2

Build dependencies 2
Run dependencies 2

Configuration

No options to configure.

USES
python
Service scripts
none
Conflicts with
${PYTHON_PKGNAMEPREFIX}astroid253

Files

distinfo 1
FileSizeSHA256
astroid-2.15.8.tar.gz3443626c107453dffee9055899705de3c9ead36e74119cee151e5a9aaf7f0b0e020a6a
Master sites 1
  • PYPI