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.
| System | Port | Version | Vulnerabilities | Status | Maintainer | Last update |
|---|---|---|---|---|---|---|
| MidnightBSD | devel/py-tree-sitter | 0.26.0 newest | no data | - | [email protected] | 2026-09-05 |
| FreeBSD | devel/py-tree-sitter | 0.26.0 newest | none known | - | [email protected] | 2026-09-23 |
| DragonFly | devel/py-tree-sitter | 0.20.4_1 behind since 2026-09-05 | none known | - | [email protected] | - |
| HardenedBSD | devel/py-tree-sitter | 0.26.0 newest | no data | - | [email protected] | - |
| GhostBSD | devel/py-tree-sitter | 0.20.4_1 behind since 2026-09-05 | no data | - | [email protected] | - |
Version history 1
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
${PYTHON_PKGNAMEPREFIX}setuptools>=43: devel/py-setuptools${PYTHON_PKGNAMEPREFIX}wheel>0: devel/py-wheel
Build dependencies 2
Required by 1
Configuration
No options to configure.
- USES
- python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| tree_sitter-0.26.0.tar.gz | 191423 | b40c219edccc4564530c96f8f1556f6202b37cda964d1cbd7bd2b7e68b40a245 |
Master sites 1
- PYPI
Commit history 3
| Date | Commit | Credits | Log 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]> |