BSD Ports

devel/py-libcst 1.8.6_1 MidnightBSD

Concrete syntax tree with AST-like properties for Python programs

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
Port added
Last update
Commit
8af06753b2
License
mit
Categories
devel, python

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

The newest version among them is 1.9.0, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
MidnightBSDdevel/py-libcst1.8.6_1 behind since 2026-08-24no data-[email protected]2026-07-05
FreeBSDdevel/py-libcst1.9.0_2 newestnone known-[email protected]2026-10-14
OpenBSDdevel/py-libcst1.8.6 behind since 2026-08-24no data-The OpenBSD ports mailing-list <[email protected]>-
DragonFlydevel/py-libcst1.7.0 behind since 2026-07-05none known-[email protected]-
HardenedBSDdevel/py-libcst1.9.0_1 newestno data-[email protected]-
GhostBSDdevel/py-libcst1.9.0_1 newestno data-[email protected]-

Compare across BSDs

Version history 1

  1. 1.8.6 8af06753b2

Upstream's version as each commit to the port's Makefile set it, or as this site first saw it in the system's packages; the tree's own revisions are not versions here.

Install

Binary package:

mport install ${PYTHON_PKGNAMEPREFIX}libcst

From mports:

cd /usr/mports/devel/py-libcst && make install clean

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

RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}libcst>0:devel/py-libcst

Dependency graph

Ports that need it on the left, what it needs to run on the right (to build, as it needs nothing to run); at most 8 of each. "Dependencies" below lists them all.

Dependencies

As this port's Makefile names them.

Build 4

Build dependencies 4
Required by 1

Configuration

No options to configure.

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

Files

distinfo 96
FileSizeSHA256
libcst-1.8.6.tar.gz891354f729c37c9317126da9475bdd06a7208eb52fcbd180a6341648b45a56b4ba708b
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 1

DateCommitCreditsLog message
8af06753b2 Lucas Holt databases/rubygem-flipper-active_record-rails70: update to 1.3.6
Match the flipper-gitlab provider series so fake-qa can satisfy the gemspec flipper dependency. AI-Assisted-by: OpenAI Codex <[email protected]> Signed-off-by: Lucas Holt <[email protected]>