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
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/py-asttokens | 3.0.2 |
| OpenBSD | devel/py-asttokens | 3.0.1 |
| DragonFly | devel/py-asttokens | 2.4.1_1 |
| MidnightBSD | devel/py-asttokens | 2.4.1_1 |
| HardenedBSD | devel/py-asttokens | 3.0.2 |
| GhostBSD | devel/py-asttokens | 3.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.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 3.0.2 | 3.0.2 | 2.2.1 | 3.0.0 | 3.0.2 |
| FreeBSD:14:quarterly | 3.0.2 | 3.0.2 | n/a | 2.4.1_1 | 3.0.2 |
| FreeBSD:15:latest | 3.0.2 | 3.0.2 | n/a | 3.0.0 | 3.0.0 |
| FreeBSD:15:quarterly | 3.0.2 | 3.0.2 | n/a | n/a | n/a |
| FreeBSD:16:latest | 3.0.2 | 3.0.2 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 3
${PYTHON_PKGNAMEPREFIX}setuptools>=44: devel/py-setuptools${PYTHON_PKGNAMEPREFIX}setuptools-scm>=3.4.3: devel/py-setuptools-scm${PYTHON_PKGNAMEPREFIX}wheel>=0: devel/py-wheel
Test 1
${PYTHON_PKGNAMEPREFIX}astroid>=2<5: devel/py-astroid
The full lists below include those, and their dependencies in turn.
Build dependencies 17
Run dependencies 7
Required by 73
- accessibility/accerciser
- astro/py-alerce
- astro/py-pykep
- biology/py-hits
- deskutils/py-bugwarrior
- devel/ipython
- devel/py-anywidget
- devel/py-devtools
- devel/py-icecream
- devel/py-inline-snapshot
- devel/py-ipdb
- devel/py-ipydatawidgets
- devel/py-ipykernel
- devel/py-ipympl
- devel/py-ipyparallel
- devel/py-ipywidgets
- devel/py-jira
- devel/py-jupyter
- devel/py-jupyter-collaboration
- devel/py-jupyter-rfb
- devel/py-jupyter_console
- devel/py-jupyterlab
- devel/py-jupyterlab-lsp
- devel/py-jupyterlab-widgets
- devel/py-jupyterlab_launcher
- devel/py-mediapy
- devel/py-nbclassic
- devel/py-nbdime
- devel/py-nbval
- devel/py-pytest-jupyter
- devel/py-qtconsole
- devel/py-spyder-kernels
- devel/py-stack-data
- devel/py-watermark
- devel/thonny
- finance/py-openbb-devtools
- graphics/py-agx-emulsion
- graphics/py-hiplot
- graphics/py-napari-console
- graphics/py-pydeck
- math/mathicsscript
- math/py-arybo
- math/py-mathics
- math/py-pyodesys
- misc/py-ipyfastscape
- misc/py-kokoro
- misc/py-napari
- misc/py-pyviz-comms
- science/meep
- science/psi4
- science/py-HofstadterTools
- science/py-OpenMC
- science/py-PyNE
- science/py-abipy
- science/py-chempy
- science/py-ipygany
- science/py-jupyter_jsmol
- science/py-mpcontribs-client
- science/py-nglview
- science/py-optking
- science/py-py3Dmol
- science/py-pygmo2
- science/py-qcelemental
- science/py-qcengine
- science/py-qcmanybody
- textproc/py-jupyter_sphinx
- textproc/quarto
- www/py-nicegui
- www/py-nicegui-highcharts
- www/py-nicegui-nogui
- www/py-nikola
- www/py-notebook
- x11-toolkits/py-magicgui
Configuration
Options name: devel_asttokens
| Option | Default | Description |
|---|---|---|
| ASTROID | off | Annotate trees built by astroid |
- USES
- python
- Service scripts
- none
Message after installing
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| asttokens-3.0.2.tar.gz | 63136 | 3ecdbd8f2cc195f53ccada3a613538bb5f9ef6f6869129f13e03c30a677b8fe2 |
Master sites 1
- PYPI