lang/py-asttokens 3.0.2 NetBSD
Annotate AST trees with source code positions
- System
- NetBSD
- Repository
- pkgsrc
- Maintainer
- [email protected]
- Last update
- Commit
b650a403fc- License
- apache-2.0
- Categories
- lang, python
- Package size
- 45.6 KiB, 224.4 KiB installed
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 |
|---|---|---|---|---|---|---|
| NetBSD | lang/py-asttokens | 3.0.2 newest | none known | - | [email protected] | 2026-07-22 |
| DragonFly | devel/py-asttokens by name | 2.4.1_1 behind since 2026-07-15 | none known | - | [email protected] | - |
Version history 1
Upstream's version as each commit to the port's Makefile set it, or as this site first saw it in the system's packages; the tree's own revisions are not versions here.
Install
Binary package:
pkgin install py311-asttokens
From pkgsrc:
cd /usr/pkgsrc/lang/py-asttokens && make install clean
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | Version |
|---|---|
| NetBSD 10.1 x86_64 | 3.0.2 |
| NetBSD 10.1 aarch64 | 3.0.2 |
| SmartOS / illumos x86_64 | 3.0.2 |
| macOS 15 arm64 | 3.0.2 |
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
Run dependencies 1
Configuration
No options to configure.
- Service scripts
- none
- Flavors
py312-asttokens-3.0.2,py313-asttokens-3.0.2,py314-asttokens-3.0.2