BSD Ports

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.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
NetBSDlang/py-asttokens3.0.2 newestnone known-[email protected]2026-07-22
DragonFlydevel/py-asttokens by name2.4.1_1 behind since 2026-07-15none known-[email protected]-

Compare across BSDs

Version history 1

  1. 3.0.2 98e00c7371

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.

RepositoryVersion
NetBSD 10.1 x86_643.0.2
NetBSD 10.1 aarch643.0.2
SmartOS / illumos x86_643.0.2
macOS 15 arm643.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

Commit history 2

DateCommitCreditsLog message
b650a403fc adam Remove scm info from PLIST - fixed in latest setuptools_scm
98e00c7371 adam py-asttokens: updated to 3.0.2
3.0.2 Modernize type annotations Fix pypy CI by skipping redundant mypy runs on it Fix IndexError on source mixing lone CR with LF line endings Release modernization, and publish to PyPI from CI via trusted publishing