BSD Ports

devel/py-astroid 3.3.9_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-astroid3.3.9_1
FreeBSDdevel/py-astroid4.1.2
OpenBSDdevel/py-astroid3.3.11p1
NetBSDdevel/py-astroid4.3.1
DragonFlydevel/py-astroid3.3.9
HardenedBSDdevel/py-astroid4.1.2
GhostBSDdevel/py-astroid4.1.2

Install

Binary package:

mport install ${PYTHON_PKGNAMEPREFIX}astroid

From mports:

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

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

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

Dependencies

As this port's Makefile names them.

Build 2

Build dependencies 2
Required by 1

Configuration

No options to configure.

USES
python
Service scripts
none

Files

distinfo 1
FileSizeSHA256
astroid-3.3.9.tar.gz398731622cc8e3048684aa42c820d9d218978021c3c3d174fb03a9f0d615921744f550
Master sites 1
  • PYPI