BSD Ports

devel/py-asttokens 3.0.2 FreeBSD

Annotate AST trees with source code positions

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
b2b3d304f9
License
APACHE20
Categories
devel
Package size
48.3 KiB, 230.7 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

SystemPortVersion
FreeBSDdevel/py-asttokens3.0.2
OpenBSDdevel/py-asttokens3.0.1
DragonFlydevel/py-asttokens2.4.1_1
MidnightBSDdevel/py-asttokens2.4.1_1
HardenedBSDdevel/py-asttokens3.0.2
GhostBSDdevel/py-asttokens3.0.2

Install

Binary package:

pkg install py312-asttokens

From the ports tree:

cd /usr/ports/devel/py-asttokens/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	py312-asttokens>0:devel/py-asttokens

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest3.0.23.0.22.2.13.0.03.0.2
FreeBSD:14:quarterly3.0.23.0.2n/a2.4.1_13.0.2
FreeBSD:15:latest3.0.23.0.2n/a3.0.03.0.0
FreeBSD:15:quarterly3.0.23.0.2n/an/an/a
FreeBSD:16:latest3.0.23.0.2n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 3

Test 1

The full lists below include those, and their dependencies in turn.

Build dependencies 17
Run dependencies 7

Configuration

Options name: devel_asttokens

OptionDefaultDescription
ASTROIDoffAnnotate trees built by astroid
USES
python
Service scripts
none

Message after installing

===>   NOTICE:

The py312-asttokens port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:

https://bugs.freebsd.org/bugzilla

More information about port maintainership is available at:

https://docs.freebsd.org/en/articles/contributing/#ports-contributing

Files

distinfo 1
FileSizeSHA256
asttokens-3.0.2.tar.gz631363ecdbd8f2cc195f53ccada3a613538bb5f9ef6f6869129f13e03c30a677b8fe2
Master sites 1
  • PYPI

Commit history 3

DateCommitCreditsLog message
b2b3d304f9 Steven Kreuzer devel/py-asttokens: Update to 3.0.2
Changelog: https://github.com/gristlabs/asttokens/releases/tag/v3.0.2
030c83120a Po-Chuan Hsieh devel/py-asttokens: Fix RUN_DEPENDS: py-six was removed from dependency
- Convert to USE_PYTHON=pep517 - Update version requirement of *_DEPENDS - Add ASTROID option - Bump PORTREVISION for dependency and package change Reference: https://github.com/gristlabs/asttokens/commit/4eebd864eb052884762d0d26bb4db45851568dc9
1e0ff2149b Dmitry Marakasov devel/py-asttokens: drop maintainership