BSD Ports

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.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
MidnightBSDdevel/py-asttokens2.4.1_1 behind since 2026-09-10no data-[email protected]-
FreeBSDdevel/py-asttokens3.0.2 newestnone known-[email protected]2026-09-10
OpenBSDdevel/py-asttokens3.0.1 behind since 2026-09-10no data-The OpenBSD ports mailing-list <[email protected]>-
DragonFlydevel/py-asttokens2.4.1_1 behind since 2026-09-10none known-[email protected]-
HardenedBSDdevel/py-asttokens3.0.2 newestno data-[email protected]-
GhostBSDdevel/py-asttokens3.0.2 newestno data-[email protected]-

Compare across BSDs

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

Runtime 1

Test 1

Build dependencies 1
Run dependencies 1

Configuration

No options to configure.

USES
python
Service scripts
none

Files

distinfo 1
FileSizeSHA256
asttokens-2.4.1.tar.gz62284b03869718ba9a6eb027e134bfdf69f38a236d681c83c160d510768af11254ba0
Master sites 1
  • PYPI