pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/textproc/py-tree-sitter
Module Name: pkgsrc
Committed By: adam
Date: Sun Sep 15 08:06:10 UTC 2024
Modified Files:
pkgsrc/textproc/py-tree-sitter: Makefile distinfo
Log Message:
py-tree-sitter: updated to 0.23.0
0.23.0
Additions:
Node.child_containing_descendant(descendant)
Tree.language (getter)
Query.pattern_count (getter)
Query.capture_count (getter)
Query.match_limit (getter)
Query.did_exceed_match_limit (getter)
Query.set_match_limit(match_limit): returns self
Query.set_max_start_depth(max_start_depth): returns self
Query.set_byte_range(byte_range): returns self
Query.set_point_range(point_range): returns self
Query.disable_pattern(index): returns self
Query.disable_capture(capture): returns self
Query.pattern_settings(index)
Query.pattern_assertions(index)
Query.start_byte_for_pattern(index)
Query.end_byte_for_pattern(index)
Query.is_pattern_rooted(index)
Query.is_pattern_non_local(index)
Query.is_pattern_guaranteed_at_step(offset)
QueryError (exception class)
QueryPredicate (typing protocol)
Removals:
Parser.set_language(language)
Parser.set_included_ranges(ranges)
Parser.set_timeout_micros(timeout)
Node.sexp()
Tree.text()
TreeCursor.goto_first_child_for_point(row, column)
LookaheadIterator.reset(language, state)
Changes:
Language() accepts a capsule as an argument.
Parser.parse(...) no longer accepts a keep_text argument.
Query.captures(...)
Range arguments were removed (use set_* instead).
Added an argument for custom query predicates.
Return type was changed to dict[str, list[Node]].
Query.matches(...)
Range arguments were removed (use set_* instead).
Added an argument for custom query predicates.
Return type was changed to list[tuple[int, dict[str, list[Node]]]].
TreeCursor.goto_first_child_for_byte(byte) returns int | None.
TreeCursor.goto_first_child_for_point(point) returns int | None.
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/textproc/py-tree-sitter/Makefile \
pkgsrc/textproc/py-tree-sitter/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/textproc/py-tree-sitter/Makefile
diff -u pkgsrc/textproc/py-tree-sitter/Makefile:1.1 pkgsrc/textproc/py-tree-sitter/Makefile:1.2
--- pkgsrc/textproc/py-tree-sitter/Makefile:1.1 Mon Aug 12 11:58:49 2024
+++ pkgsrc/textproc/py-tree-sitter/Makefile Sun Sep 15 08:06:10 2024
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.1 2024/08/12 11:58:49 wiz Exp $
+# $NetBSD: Makefile,v 1.2 2024/09/15 08:06:10 adam Exp $
-DISTNAME= tree-sitter-0.22.3
+DISTNAME= tree-sitter-0.23.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= textproc python
MASTER_SITES= ${MASTER_SITE_PYPI:=t/tree-sitter/}
@@ -13,7 +13,5 @@ LICENSE= mit
TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
-PYTHON_VERSIONS_INCOMPATIBLE+= 27
-
.include "../../lang/python/wheel.mk"
.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/textproc/py-tree-sitter/distinfo
diff -u pkgsrc/textproc/py-tree-sitter/distinfo:1.1 pkgsrc/textproc/py-tree-sitter/distinfo:1.2
--- pkgsrc/textproc/py-tree-sitter/distinfo:1.1 Mon Aug 12 11:58:49 2024
+++ pkgsrc/textproc/py-tree-sitter/distinfo Sun Sep 15 08:06:10 2024
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.1 2024/08/12 11:58:49 wiz Exp $
+$NetBSD: distinfo,v 1.2 2024/09/15 08:06:10 adam Exp $
-BLAKE2s (tree-sitter-0.22.3.tar.gz) = 9500de6b38b037fcbc265a54c9ca474aaad784ece30d5b3913160730eaeecb21
-SHA512 (tree-sitter-0.22.3.tar.gz) = 91455f20e1a98e50a572f0ef70b57436c3c5c858e81ca98414ea58dd52f75a50381376e788fe9cb9828fdce8c07946f5258fe2338edb60539e9b96f03a9f0ffc
-Size (tree-sitter-0.22.3.tar.gz) = 161828 bytes
+BLAKE2s (tree-sitter-0.23.0.tar.gz) = 9a2c486fc82b3683cd27f238855d7d96d39d11f5277f157707e37697ebe9d4ee
+SHA512 (tree-sitter-0.23.0.tar.gz) = efb12b1a64ef75cc01be2094d43c0095f832b15e000d019d264d7cfd4e160dc0e8263f61c55a030088a23dad7c643e4efed7e7c83de37d16f9b4f21434847cc4
+Size (tree-sitter-0.23.0.tar.gz) = 165402 bytes
Home |
Main Index |
Thread Index |
Old Index