lang/py-libcst 1.9.0 NetBSD
Concrete syntax tree with AST-like properties for Python
- System
- NetBSD
- Repository
- pkgsrc
- Maintainer
- [email protected]
- Last update
- Commit
65c9b1c391- License
- mit
- Categories
- lang, python
- Package size
- 2185.7 KiB, 15859.4 KiB installed
Description
LibCST parses Python 3.0 -> 3.11 source code as a CST tree that keeps all formatting details (comments, whitespaces, parentheses, etc). It's useful for building automated refactoring (codemod) applications and linters.
LibCST creates a compromise between an Abstract Syntax Tree (AST) and a traditional Concrete Syntax Tree (CST). By carefully reorganizing and naming node types and fields, we've created a lossless CST that looks and feels like an AST.
In the other systems
| System | Port | Version |
|---|---|---|
| NetBSD | lang/py-libcst | 1.9.0 |
| FreeBSD | devel/py-libcst | 1.9.0_2 |
| HardenedBSD | devel/py-libcst | 1.9.0_1 |
| GhostBSD | devel/py-libcst | 1.9.0_1 |
Install
Binary package:
pkgin install py312-libcst
From pkgsrc:
cd /usr/pkgsrc/lang/py-libcst && 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 | 1.9.0 |
| NetBSD 10.1 aarch64 | 1.8.6 |
| SmartOS / illumos x86_64 | 1.9.0 |
| macOS 15 arm64 | 1.9.0 |
Dependencies
Run dependencies 2
Required by 2
Configuration
No options to configure.
- Service scripts
- none
- Flavors
py313-libcst-1.9.0,py314-libcst-1.9.0