diff --git a/devel/py-tree-sitter/Makefile b/devel/py-tree-sitter/Makefile index d29315a8fc83..d47be6a87d5b 100644 --- a/devel/py-tree-sitter/Makefile +++ b/devel/py-tree-sitter/Makefile @@ -1,18 +1,24 @@ PORTNAME= tree-sitter -PORTVERSION= 0.20.4 -PORTREVISION= 1 +PORTVERSION= 0.26.0 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= tree_sitter-${PORTVERSION} MAINTAINER= patmaddox@FreeBSD.org COMMENT= Python bindings to the Tree-sitter parsing library WWW= https://github.com/tree-sitter/py-tree-sitter LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=43:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} USES= python -USE_PYTHON= autoplist concurrent distutils +USE_PYTHON= autoplist concurrent pep517 + +post-install: + ${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} + .include diff --git a/devel/py-tree-sitter/distinfo b/devel/py-tree-sitter/distinfo index 40987b7d72b7..04276982284d 100644 --- a/devel/py-tree-sitter/distinfo +++ b/devel/py-tree-sitter/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1701931726 -SHA256 (tree_sitter-0.20.4.tar.gz) = 6adb123e2f3e56399bbf2359924633c882cc40ee8344885200bca0922f713be5 -SIZE (tree_sitter-0.20.4.tar.gz) = 140726 +TIMESTAMP = 1787649893 +SHA256 (tree_sitter-0.26.0.tar.gz) = b40c219edccc4564530c96f8f1556f6202b37cda964d1cbd7bd2b7e68b40a245 +SIZE (tree_sitter-0.26.0.tar.gz) = 191423