BSD Ports

devel/py-tree-sitter 0.26.0 MidnightBSD

Python bindings to the Tree-sitter parsing library

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
Last update
Commit
6ecedbed35
License
mit
Categories
devel, python

Description

py-tree-sitter provides Python bindings to the tree-sitter parsing library.

This package currently only works with Python 3. There are no library dependencies, but you do need to have a C compiler installed.

In the other systems

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

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
MidnightBSDdevel/py-tree-sitter0.26.0 newestno data-[email protected]2026-09-05
FreeBSDdevel/py-tree-sitter0.26.0 newestnone known-[email protected]2026-09-23
DragonFlydevel/py-tree-sitter0.20.4_1 behind since 2026-09-05none known-[email protected]-
HardenedBSDdevel/py-tree-sitter0.26.0 newestno data-[email protected]-
GhostBSDdevel/py-tree-sitter0.20.4_1 behind since 2026-09-05no data-[email protected]-

Compare across BSDs

Version history 1

  1. 0.26.0 6ecedbed35

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}tree-sitter

From mports:

cd /usr/mports/devel/py-tree-sitter && make install clean

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

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

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 2

Build dependencies 2
Required by 1

Configuration

No options to configure.

USES
python
Service scripts
none

Files

distinfo 1
FileSizeSHA256
tree_sitter-0.26.0.tar.gz191423b40c219edccc4564530c96f8f1556f6202b37cda964d1cbd7bd2b7e68b40a245
Master sites 1
  • PYPI

Commit history 3

DateCommitCreditsLog message
6ecedbed35 Lucas Holt devel/py-tree-sitter: update to 0.26.0 (#832)
Update tree-sitter from 0.25.2 to 0.26.0. DISTNAME added: upstream moved to the PEP 625 normalized sdist name tree_sitter-0.26.0.tar.gz. No dependency changes; the runtime dependency set is empty in both versions. No PORTREVISION bumps needed for consumers. The tree-sitter C core is vendored and statically linked into the extension (ldd shows only libc.so.7), so the port exports no shared library for other ports to link against, and TREE_SITTER_LANGUAGE_VERSION is 15 with min-compatible 13 in both 0.25.2 and 0.26.0, so already-compiled grammars such as devel/py-tree-sitter-bash stay loadable. Required by ai/py-mistral-vibe 2.20.0 and later. Validated on MidnightBSD 4.0.6/amd64: makesum, build, fake, package, portlint (0 fatal). Built extension confirmed as an amd64 ELF shared …
46634f62b3 Lucas Holt devel/py-tree-sitter: add missing py-wheel build dependency
0.25.2 lists wheel in build-system.requires; without it the build fails with "ERROR Missing dependencies: wheel". AI-Assisted-by: Claude Opus 5 (1M context) <[email protected]> Signed-off-by: Lucas Holt <[email protected]>
328e3308c2 Lucas Holt devel/py-tree-sitter: add setuptools build dependency
AI-Assisted-by: OpenAI Codex <[email protected]> Signed-off-by: Lucas Holt <[email protected]>