notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photos
All times are UTC
Ukraine
The recently imposed "must be logged in" restriction is a response to increased bot traffic on the site. This affects search, commits, and vuxml pages.
Search engines are not blocked. Try using "site:www.freshports.org" and your search terms.
After the ports freeze to fix some stuff, the freeze is over. I have some work to do before FreshPorts can start processing commits again before it can start processing again. I've created an issue for that.
Port details
py-tree-sitter Python bindings to the Tree-sitter parsing library
0.26.0 devel on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 0.20.4_1Version of this port present on the latest quarterly branch.
Maintainer: patmaddox@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2023-10-21 13:54:08
Last Update: 2026-09-23 14:33:25
Commit Hash: c1a3d91
Also Listed In: python
License: MIT
WWW:
https://github.com/tree-sitter/py-tree-sitter
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.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
There is no configure plist information for this port.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • ${PYTHON_PKGNAMEPREFIX}tree-sitter>0:devel/py-tree-sitter@${PY_FLAVOR}
To install the port:
cd /usr/ports/devel/py-tree-sitter/ && make install clean
To add the package, run one of these commands:
  • pkg install devel/py-tree-sitter
  • pkg install py312-tree-sitter
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
NOTE: This is a Python port. Instead of py312-tree-sitter listed in the above command, you can pick from the names under the Packages section.
PKGNAME: py312-tree-sitter
Package flavors (<flavor>: <package>)
  • py312: py312-tree-sitter
distinfo:
TIMESTAMP = 1787649893 SHA256 (tree_sitter-0.26.0.tar.gz) = b40c219edccc4564530c96f8f1556f6202b37cda964d1cbd7bd2b7e68b40a245 SIZE (tree_sitter-0.26.0.tar.gz) = 191423

Packages (timestamps in pop-ups are UTC):
py39-tree-sitter
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest--n/an/an/an/an/an/a
FreeBSD:13:quarterly--n/an/an/an/an/an/a
FreeBSD:14:latest--------
FreeBSD:14:quarterly-----0.20.40.20.40.20.4
FreeBSD:15:latest--n/a-n/an/a0.20.40.20.4
FreeBSD:15:quarterly--n/a-n/an/a--
FreeBSD:16:latest--n/a-n/an/a--
 
py311-tree-sitter
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest0.20.4_10.20.4_1n/an/an/an/an/an/a
FreeBSD:13:quarterly0.20.4_10.20.4_1n/an/an/an/an/an/a
FreeBSD:14:latest---0.20.4_1----
FreeBSD:14:quarterly---0.20.4_1----
FreeBSD:15:latest--n/a0.20.4_1n/an/a--
FreeBSD:15:quarterly--n/a-n/an/a--
FreeBSD:16:latest--n/a-n/an/a--
 
py312-tree-sitter
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest--n/an/an/an/an/an/a
FreeBSD:13:quarterly--n/an/an/an/an/an/a
FreeBSD:14:latest0.20.4_10.26.0--0.26.0---
FreeBSD:14:quarterly0.20.4_10.20.4_1--0.20.4_1---
FreeBSD:15:latest0.26.00.26.0n/a-n/an/a--
FreeBSD:15:quarterly0.20.4_10.20.4_1n/a-n/an/a--
FreeBSD:16:latest0.20.4_10.26.0n/a-n/an/a--
 
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. py312-setuptools>=43 : devel/py-setuptools@py312
  2. py312-wheel>=0 : devel/py-wheel@py312
  3. python3.12 : lang/python312
  4. py312-build>=0 : devel/py-build@py312
  5. py312-installer>=0 : devel/py-installer@py312
Test dependencies:
  1. python3.12 : lang/python312
Runtime dependencies:
  1. python3.12 : lang/python312
This port is required by:
for Build
  1. devel/py-tree-sitter-languages
for Run
  1. databases/py-harlequin
  2. devel/py-tree-sitter-c
  3. devel/py-tree-sitter-languages
  4. devel/py-tree-sitter-typescript
  5. textproc/py-docling-serve

Deleted ports which required this port:

Expand this list of 1 deleted port
  1. misc/py-aider-chat*
  2. Collapse this list of deleted ports.
* - deleted ports are only shown under the This port is required by section. It was harder to do for the Required section. Perhaps later...

Configuration Options:
No options to configure
Options name:
devel_py-tree-sitter
USES:
python
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (2 items)
Collapse this list.
  1. https://files.pythonhosted.org/packages/source/t/tree_sitter/
  2. https://pypi.org/packages/source/t/tree_sitter/
Collapse this list.

Number of commits found: 5

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
0.26.0
23 Sep 2026 14:33:25
commit hash: c1a3d91a015239ef208e16e34c4927ced26938bccommit hash: c1a3d91a015239ef208e16e34c4927ced26938bccommit hash: c1a3d91a015239ef208e16e34c4927ced26938bccommit hash: c1a3d91a015239ef208e16e34c4927ced26938bc files touched by this commit
Pat Maddox (patmaddox) search for other commits by this committer
devel/py-tree-sitter: Update 0.20.4 => 0.26.0

Move off the deprecated USE_PYTHON=distutils to pep517.

Changelogs:
https://github.com/tree-sitter/py-tree-sitter/releases/tag/v0.21.0
https://github.com/tree-sitter/py-tree-sitter/releases/tag/v0.21.1
https://github.com/tree-sitter/py-tree-sitter/releases/tag/v0.21.2
https://github.com/tree-sitter/py-tree-sitter/releases/tag/v0.21.3
https://github.com/tree-sitter/py-tree-sitter/releases/tag/v0.22.0
https://github.com/tree-sitter/py-tree-sitter/releases/tag/v0.22.1
https://github.com/tree-sitter/py-tree-sitter/releases/tag/v0.22.2
https://github.com/tree-sitter/py-tree-sitter/releases/tag/v0.22.3
https://github.com/tree-sitter/py-tree-sitter/releases/tag/v0.23.0
https://github.com/tree-sitter/py-tree-sitter/releases/tag/v0.23.1
https://github.com/tree-sitter/py-tree-sitter/releases/tag/v0.23.2
https://github.com/tree-sitter/py-tree-sitter/releases/tag/v0.24.0
https://github.com/tree-sitter/py-tree-sitter/releases/tag/v0.25.0
https://github.com/tree-sitter/py-tree-sitter/releases/tag/v0.25.1
https://github.com/tree-sitter/py-tree-sitter/releases/tag/v0.25.2
https://github.com/tree-sitter/py-tree-sitter/releases/tag/v0.26.0

PR:		289772
Reported by:	yuri
Approved by:	dch (mentor implicit)
0.20.4_1
25 Aug 2026 03:25:51
commit hash: 79c3aeb47280e52572bc0e5371a72fc1e4ae355fcommit hash: 79c3aeb47280e52572bc0e5371a72fc1e4ae355fcommit hash: 79c3aeb47280e52572bc0e5371a72fc1e4ae355fcommit hash: 79c3aeb47280e52572bc0e5371a72fc1e4ae355f files touched by this commit
Pat Maddox (patmaddox) search for other commits by this committer
Update patmaddox maintainer email

Approved by:	 dch (mentor implicit)
Closes:		 https://github.com/freebsd/freebsd-ports/pull/566
0.20.4_1
08 Mar 2025 04:05:21
commit hash: 06a08e69f3acb846ad8252945f53c3a2d211e303commit hash: 06a08e69f3acb846ad8252945f53c3a2d211e303commit hash: 06a08e69f3acb846ad8252945f53c3a2d211e303commit hash: 06a08e69f3acb846ad8252945f53c3a2d211e303 files touched by this commit
Charlie Li (vishwin) search for other commits by this committer
python: bump all USE_PYTHON=distutils consumers after RUN_DEPENDS removal

Any missed ports, feel free to bump.

Any ports that need setuptools at runtime can have the devel/py-setuptools
manually added back to RUN_DEPENDS, but understand that this practice
is deprecated; see CHANGES for details.
0.20.4
07 Dec 2023 13:52:34
commit hash: 5b7bc873cd81af3063f1a5fe82afe0dceb26cbc8commit hash: 5b7bc873cd81af3063f1a5fe82afe0dceb26cbc8commit hash: 5b7bc873cd81af3063f1a5fe82afe0dceb26cbc8commit hash: 5b7bc873cd81af3063f1a5fe82afe0dceb26cbc8 files touched by this commit
Muhammad Moinur Rahman (bofh) search for other commits by this committer
Author: Pat Maddox
devel/py-tree-sitter: Update version 0.20.1=>0.20.4

Changelog:
https://github.com/tree-sitter/py-tree-sitter/releases/tag/v0.20.4

PR:		275588
Approved by:	submitter is maintainer
0.20.1
21 Oct 2023 13:50:26
commit hash: 76e67a9febd6a848e272fe3d58c89ee64d949d45commit hash: 76e67a9febd6a848e272fe3d58c89ee64d949d45commit hash: 76e67a9febd6a848e272fe3d58c89ee64d949d45commit hash: 76e67a9febd6a848e272fe3d58c89ee64d949d45 files touched by this commit
Kurt Jaeger (pi) search for other commits by this committer
Author: Pat Maddox
devel/py-tree-sitter: New port

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.

PR:		274577
Author:		Pat Maddox <pat@patmaddox.com>

Number of commits found: 5