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>
This commit is contained in:
Pat Maddox 2023-10-21 15:50:26 +02:00 committed by Kurt Jaeger
parent 0c5931785a
commit 76e67a9feb
4 changed files with 25 additions and 0 deletions

View file

@ -5700,6 +5700,7 @@
SUBDIR += py-transaction
SUBDIR += py-transitions
SUBDIR += py-tree-format
SUBDIR += py-tree-sitter
SUBDIR += py-treelib
SUBDIR += py-trimesh
SUBDIR += py-trove-classifiers

View file

@ -0,0 +1,17 @@
PORTNAME= tree-sitter
PORTVERSION= 0.20.1
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= tree_sitter-${PORTVERSION}
MAINTAINER= pat@patmaddox.com
COMMENT= Python bindings to the Tree-sitter parsing library
WWW= https://github.com/tree-sitter/py-tree-sitter
LICENSE= MIT
USES= python
USE_PYTHON= autoplist concurrent distutils
.include <bsd.port.mk>

View file

@ -0,0 +1,3 @@
TIMESTAMP = 1691531462
SHA256 (tree_sitter-0.20.1.tar.gz) = e93f082c545d6649bcfb5d681ed255eb004a6ce22988971a128f40692feec60d
SIZE (tree_sitter-0.20.1.tar.gz) = 126198

View file

@ -0,0 +1,4 @@
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.