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
| System | Port | Version |
|---|---|---|
| MidnightBSD | devel/py-astroid2 | 2.15.8_1 |
| FreeBSD | devel/py-astroid2 | 2.15.8_1 |
| DragonFly | devel/py-astroid2 | 2.15.8 |
| HardenedBSD | devel/py-astroid2 | 2.15.8_1 |
| GhostBSD | devel/py-astroid2 | 2.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
${PYTHON_PKGNAMEPREFIX}setuptools>=62.6: devel/py-setuptools${PYTHON_PKGNAMEPREFIX}wheel>=0.37.1: devel/py-wheel
Runtime 2
${PYTHON_PKGNAMEPREFIX}lazy-object-proxy>=1.4.0: devel/py-lazy-object-proxy${PYTHON_PKGNAMEPREFIX}wrapt>=1.14<2: devel/py-wrapt
Build dependencies 2
Run dependencies 2
Required by 1
Configuration
No options to configure.
- USES
- python
- Service scripts
- none
- Conflicts with
- ${PYTHON_PKGNAMEPREFIX}astroid253
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| astroid-2.15.8.tar.gz | 344362 | 6c107453dffee9055899705de3c9ead36e74119cee151e5a9aaf7f0b0e020a6a |
Master sites 1
- PYPI