devel/py-libcst 1.9.0_2 FreeBSD
Concrete syntax tree with AST-like properties for Python programs
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Last update
- Commit
9c878207a1- License
- MIT
- Categories
- devel, python
- Package size
- 2046.3 KiB, 14208.1 KiB installed
Description
LibCST is a Concrete Syntax Tree (CST) parser and serializer library for Python.
LibCST parses Python 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 |
|---|---|---|
| FreeBSD | devel/py-libcst | 1.9.0_2 |
| OpenBSD | devel/py-libcst | 1.8.6 |
| NetBSD | lang/py-libcst | 1.9.0 |
| DragonFly | devel/py-libcst | 1.7.0 |
| MidnightBSD | devel/py-libcst | 1.8.6_1 |
Install
Binary package:
pkg install py312-libcst
From the ports tree:
cd /usr/ports/devel/py-libcst/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= py312-libcst>0:devel/py-libcst
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 | 1.9.0_1 | 1.9.0_2 | - | 1.8.2_1 | 1.9.0_2 |
| FreeBSD:14:quarterly | 1.9.0_1 | 1.9.0_1 | n/a | 1.8.2 | 1.9.0_1 |
| FreeBSD:15:latest | 1.9.0_2 | 1.9.0_2 | n/a | 1.8.2_1 | 1.8.2_1 |
| FreeBSD:15:quarterly | 1.9.0_1 | 1.9.0_1 | n/a | n/a | n/a |
| FreeBSD:16:latest | 1.9.0_1 | 1.9.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 4
${PYTHON_PKGNAMEPREFIX}setuptools>=0: devel/py-setuptools${PYTHON_PKGNAMEPREFIX}setuptools-rust>=0: devel/py-setuptools-rust${PYTHON_PKGNAMEPREFIX}setuptools-scm>=0: devel/py-setuptools-scm${PYTHON_PKGNAMEPREFIX}wheel>=0: devel/py-wheel
The full lists below include those, and their dependencies in turn.
Build dependencies 27
- archivers/brotli
- archivers/liblz4
- archivers/zstd
- devel/gettext-runtime
- devel/libffi
- devel/libunistring
- devel/py-build
- devel/py-installer
- devel/py-packaging
- devel/py-pyproject-hooks
- devel/py-semantic-version
- devel/py-setuptools
- devel/py-setuptools-rust
- devel/py-setuptools-scm
- devel/py-wheel
- devel/readline
- dns/libidn2
- dns/libpsl
- ftp/curl
- lang/python312
- lang/python315
- lang/rust
- math/mpdecimal
- print/indexinfo
- security/libssh2
- textproc/expat2
- www/libnghttp2
Run dependencies 9
Configuration
No options to configure.
- USES
- cargo dos2unix python
- Service scripts
- none
- Conflicts with
- ${PYTHON_PKGNAMEPREFIX}libcst03
Files
distinfo 93
| File | Size | SHA256 |
|---|---|---|
| libcst-1.9.0.tar.gz | 914739 | 087b58a9afe076bb08e2d726478e1f16cb928d67ffa9092817e033c335de522a |
| rust/crates/aho-corasick-1.0.4.crate | 171175 | 6748e8def348ed4d14996fa801f4122cd763fff530258cdc03f64b25f89d3a5a |
| rust/crates/anes-0.1.6.crate | 23857 | 4b46cbb362ab8752921c97e041f5e366ee6297bd428a31275b9fcf1e380f7299 |
| rust/crates/annotate-snippets-0.11.5.crate | 34687 | 710e8eae58854cdc1790fcb56cca04d712a17be849eeb81da2a724bf4bae2bc4 |
| rust/crates/anstyle-1.0.10.crate | 15725 | 55cc3b69f167a1ef2e161439aa98aed94e6028e5f9a59be9a6ffb47aef1651f9 |
| rust/crates/autocfg-1.1.0.crate | 13272 | d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa |
| rust/crates/bumpalo-3.12.0.crate | 81604 | 0d261e256854913907f67ed06efbc3338dfe6179796deefc1ff763fc1aee5535 |
| rust/crates/cast-0.3.0.crate | 11452 | 37b2a672a2cb129a2e41c10b1224bb368f9f37a2b16b612598138befd7b37eb5 |
| rust/crates/cfg-if-1.0.0.crate | 7934 | baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd |
| rust/crates/ciborium-0.2.0.crate | 30130 | b0c137568cc60b904a7724001b35ce2630fd00d5d84805fbb608ab89509d788f |
| rust/crates/ciborium-io-0.2.0.crate | 2738 | 346de753af073cc87b52b2083a506b38ac176a44cfb05497b622e27be899b369 |
| rust/crates/ciborium-ll-0.2.0.crate | 10740 | 213030a2b5a4e0c0892b6652260cf6ccac84827b83a85a534e178e3906c4cf1b |
| rust/crates/clap-4.5.38.crate | 57140 | ed93b9805f8ba930df42c2590f05453d5ec36cbb85d018868a5b24d31f6ac000 |
| rust/crates/clap_builder-4.5.38.crate | 169177 | 379026ff283facf611b0ea629334361c4211d1b12ee01024eec1591133b04120 |
| rust/crates/clap_lex-0.7.4.crate | 12858 | f46ad14479a25103f283c0f10005961cf086d8dc42205bb44c46ac563475dca6 |
| rust/crates/criterion-0.6.0.crate | 119470 | 3bf7af66b0989381bd0be551bd7cc91912a655a58c6918420c9527b1fd8b4679 |
| rust/crates/criterion-plot-0.5.0.crate | 22706 | 6b50826342786a51a89e2da3a28f1c32b06e387201bc2d19791f622c673706b1 |
| rust/crates/crossbeam-deque-0.8.1.crate | 20852 | 6455c0ca19f0d2fbf751b908d5c55c1f5cbc65e03c4225427254b46890bdde1e |
| rust/crates/crossbeam-epoch-0.9.9.crate | 46185 | 07db9d94cbd326813772c968ccd25999e5f8ae22f4f8d1b11effa37ef6ce281d |
| rust/crates/crossbeam-utils-0.8.10.crate | 40672 | 7d82ee10ce34d7bc12c2122495e7593a9c41347ecdd64185af4ecf72cb1a7f83 |
Master sites 1
- PYPI