{"added":"2026-07-05T21:22:17-04:00","apiVersion":1,"behindSince":"2026-08-24","buildDepends":["devel/py-setuptools","devel/py-setuptools-rust","devel/py-setuptools-scm","devel/py-wheel"],"categories":["devel","python"],"comment":"Concrete syntax tree with AST-like properties for Python programs","compare":"/compare/py312-libcst/index.json","dependentCount":null,"description":"LibCST is a Concrete Syntax Tree (CST) parser and serializer library for Python.\n\nLibCST parses Python source code as a CST tree that keeps all formatting details\n(comments, whitespaces, parentheses, etc). It's useful for building automated\nrefactoring (codemod) applications and linters.\n\nLibCST creates a compromise between an Abstract Syntax Tree (AST) and a\ntraditional Concrete Syntax Tree (CST). By carefully reorganizing and naming\nnode types and fields, we've created a lossless CST that looks and feels like an\nAST.","flavors":[],"html":"https://daemonports.org/midnightbsd/devel/py-libcst/","kind":"port","lastUpdate":"2026-07-05T21:22:17-04:00","license":["mit"],"maintainer":"ports@MidnightBSD.org","name":"${PYTHON_PKGNAMEPREFIX}libcst","newest":false,"newestVersion":"1.9.0","noVulnData":true,"origin":"devel/py-libcst","otherSystems":[{"maintainer":"sunpoet@FreeBSD.org","newest":true,"origin":"devel/py-libcst","path":"/devel/py-libcst/","system":"FreeBSD","updated":"2026-10-14","version":"1.9.0_2"},{"behindSince":"2026-08-24","maintainer":"The OpenBSD ports mailing-list \u003cports@openbsd.org\u003e","noVulnData":true,"origin":"devel/py-libcst","path":"/openbsd/devel/py-libcst/","system":"OpenBSD","version":"1.8.6"},{"behindSince":"2026-07-05","maintainer":"sunpoet@FreeBSD.org","origin":"devel/py-libcst","path":"/dragonfly/devel/py-libcst/","system":"DragonFly","version":"1.7.0"},{"maintainer":"sunpoet@FreeBSD.org","newest":true,"noVulnData":true,"origin":"devel/py-libcst","path":"","system":"HardenedBSD","version":"1.9.0_1"},{"maintainer":"sunpoet@FreeBSD.org","newest":true,"noVulnData":true,"origin":"devel/py-libcst","path":"","system":"GhostBSD","version":"1.9.0_1"}],"packages":null,"pkgName":"${PYTHON_PKGNAMEPREFIX}libcst-1.8.6_1","related":null,"repository":"mports","requiredBy":["databases/py-pyarrow"],"requiredByCount":1,"runDepends":[],"status":null,"system":"midnightbsd","systemLabel":"MidnightBSD","version":"1.8.6_1","versions":[{"commit":"8af06753b2eaf0c58214302c2a501feadc09477a","date":"2026-07-05","version":"1.8.6"}],"vulnerabilities":null,"www":"https://github.com/Instagram/LibCST"}
