devel/py-asttokens 2.4.1_1 MidnightBSD
Annotate AST trees with source code positions
- System
- MidnightBSD
- Repository
- mports
- Maintainer
- [email protected]
- License
- Apache-2.0
- Categories
- devel
Description
The asttokens module annotates Python abstract syntax trees (ASTs) with the positions of tokens and text in the source code that generated them.
It makes it possible for tools that work with logical AST nodes to find the particular text that resulted in those nodes, for example for automated refactoring or highlighting.
In the other systems
The newest version among them is 3.0.2, as upstream numbers it.
| System | Port | Version | Vulnerabilities | Status | Maintainer | Last update |
|---|---|---|---|---|---|---|
| MidnightBSD | devel/py-asttokens | 2.4.1_1 behind since 2026-09-10 | no data | - | [email protected] | - |
| FreeBSD | devel/py-asttokens | 3.0.2 newest | none known | - | [email protected] | 2026-09-10 |
| OpenBSD | devel/py-asttokens | 3.0.1 behind since 2026-09-10 | no data | - | The OpenBSD ports mailing-list <[email protected]> | - |
| DragonFly | devel/py-asttokens | 2.4.1_1 behind since 2026-09-10 | none known | - | [email protected] | - |
| HardenedBSD | devel/py-asttokens | 3.0.2 newest | no data | - | [email protected] | - |
| GhostBSD | devel/py-asttokens | 3.0.2 newest | no data | - | [email protected] | - |
Install
Binary package:
mport install ${PYTHON_PKGNAMEPREFIX}asttokens
From mports:
cd /usr/mports/devel/py-asttokens && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}asttokens>0:devel/py-asttokens
Dependency graph
Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.
Dependencies
As this port's Makefile names them.
Build 1
${PYTHON_PKGNAMEPREFIX}setuptools-scm>=0: devel/py-setuptools-scm
Runtime 1
${PYTHON_PKGNAMEPREFIX}six>=0: devel/py-six
Test 1
${PYTHON_PKGNAMEPREFIX}astroid>=0: devel/py-astroid
Build dependencies 1
Run dependencies 1
Required by 3
Configuration
No options to configure.
- USES
- python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| asttokens-2.4.1.tar.gz | 62284 | b03869718ba9a6eb027e134bfdf69f38a236d681c83c160d510768af11254ba0 |
Master sites 1
- PYPI