BSD Ports

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

SystemPortVersion
FreeBSDdevel/py-libcst1.9.0_2
OpenBSDdevel/py-libcst1.8.6
NetBSDlang/py-libcst1.9.0
DragonFlydevel/py-libcst1.7.0
MidnightBSDdevel/py-libcst1.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.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest1.9.0_11.9.0_2-1.8.2_11.9.0_2
FreeBSD:14:quarterly1.9.0_11.9.0_1n/a1.8.21.9.0_1
FreeBSD:15:latest1.9.0_21.9.0_2n/a1.8.2_11.8.2_1
FreeBSD:15:quarterly1.9.0_11.9.0_1n/an/an/a
FreeBSD:16:latest1.9.0_11.9.0_2n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 4

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

Build dependencies 27
Run dependencies 9

Configuration

No options to configure.

USES
cargo dos2unix python
Service scripts
none
Conflicts with
${PYTHON_PKGNAMEPREFIX}libcst03

Files

distinfo 93
FileSizeSHA256
libcst-1.9.0.tar.gz914739087b58a9afe076bb08e2d726478e1f16cb928d67ffa9092817e033c335de522a
rust/crates/aho-corasick-1.0.4.crate1711756748e8def348ed4d14996fa801f4122cd763fff530258cdc03f64b25f89d3a5a
rust/crates/anes-0.1.6.crate238574b46cbb362ab8752921c97e041f5e366ee6297bd428a31275b9fcf1e380f7299
rust/crates/annotate-snippets-0.11.5.crate34687710e8eae58854cdc1790fcb56cca04d712a17be849eeb81da2a724bf4bae2bc4
rust/crates/anstyle-1.0.10.crate1572555cc3b69f167a1ef2e161439aa98aed94e6028e5f9a59be9a6ffb47aef1651f9
rust/crates/autocfg-1.1.0.crate13272d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa
rust/crates/bumpalo-3.12.0.crate816040d261e256854913907f67ed06efbc3338dfe6179796deefc1ff763fc1aee5535
rust/crates/cast-0.3.0.crate1145237b2a672a2cb129a2e41c10b1224bb368f9f37a2b16b612598138befd7b37eb5
rust/crates/cfg-if-1.0.0.crate7934baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd
rust/crates/ciborium-0.2.0.crate30130b0c137568cc60b904a7724001b35ce2630fd00d5d84805fbb608ab89509d788f
rust/crates/ciborium-io-0.2.0.crate2738346de753af073cc87b52b2083a506b38ac176a44cfb05497b622e27be899b369
rust/crates/ciborium-ll-0.2.0.crate10740213030a2b5a4e0c0892b6652260cf6ccac84827b83a85a534e178e3906c4cf1b
rust/crates/clap-4.5.38.crate57140ed93b9805f8ba930df42c2590f05453d5ec36cbb85d018868a5b24d31f6ac000
rust/crates/clap_builder-4.5.38.crate169177379026ff283facf611b0ea629334361c4211d1b12ee01024eec1591133b04120
rust/crates/clap_lex-0.7.4.crate12858f46ad14479a25103f283c0f10005961cf086d8dc42205bb44c46ac563475dca6
rust/crates/criterion-0.6.0.crate1194703bf7af66b0989381bd0be551bd7cc91912a655a58c6918420c9527b1fd8b4679
rust/crates/criterion-plot-0.5.0.crate227066b50826342786a51a89e2da3a28f1c32b06e387201bc2d19791f622c673706b1
rust/crates/crossbeam-deque-0.8.1.crate208526455c0ca19f0d2fbf751b908d5c55c1f5cbc65e03c4225427254b46890bdde1e
rust/crates/crossbeam-epoch-0.9.9.crate4618507db9d94cbd326813772c968ccd25999e5f8ae22f4f8d1b11effa37ef6ce281d
rust/crates/crossbeam-utils-0.8.10.crate406727d82ee10ce34d7bc12c2122495e7593a9c41347ecdd64185af4ecf72cb1a7f83
Master sites 1
  • PYPI

Commit history 4

DateCommitCreditsLog message
9c878207a1 Mikael Urankar lang/rust: Bump revisions after 1.99.0
PR: 299016
7316461925 Mikael Urankar lang/rust: Bump revisions after 1.98.1
PR: 298139
b69200fbf9 Po-Chuan Hsieh devel/py-libcst: Update to 1.9.0
Changes: https://github.com/Instagram/LibCST/releases
9c892d2601 Mikael Urankar lang/rust: Bump revisions after 1.97.1
PR: 296645