diff options
author | Arthur Zamarin <arthurzam@gentoo.org> | 2024-05-19 18:50:33 +0300 |
---|---|---|
committer | Arthur Zamarin <arthurzam@gentoo.org> | 2024-05-19 18:59:35 +0300 |
commit | d7f5be28d04652f90737d4aa76da140bc090b3b7 (patch) | |
tree | 90d4fc8518b6cf6c41c5e052b1df4f03d3baa2ef /dev-python/tree-sitter | |
parent | net-p2p/transmission: skip DhtTest.usesBootstrapFile (diff) | |
download | gentoo-d7f5be28d04652f90737d4aa76da140bc090b3b7.tar.gz gentoo-d7f5be28d04652f90737d4aa76da140bc090b3b7.tar.bz2 gentoo-d7f5be28d04652f90737d4aa76da140bc090b3b7.zip |
dev-python/tree-sitter: add 0.22.3
Fixes issues with 32 bit, and no more patches, so better to replace
the version
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'dev-python/tree-sitter')
-rw-r--r-- | dev-python/tree-sitter/Manifest | 2 | ||||
-rw-r--r-- | dev-python/tree-sitter/files/tree-sitter-0.22.2-fix-32-bit.patch | 27 | ||||
-rw-r--r-- | dev-python/tree-sitter/tree-sitter-0.22.3.ebuild (renamed from dev-python/tree-sitter/tree-sitter-0.22.2-r1.ebuild) | 2 |
3 files changed, 1 insertions, 30 deletions
diff --git a/dev-python/tree-sitter/Manifest b/dev-python/tree-sitter/Manifest index 26aad7daa92c..b59ddb591569 100644 --- a/dev-python/tree-sitter/Manifest +++ b/dev-python/tree-sitter/Manifest @@ -1,7 +1,7 @@ DIST tree-sitter-0.20.1.gh.tar.gz 22013 BLAKE2B 961619ab28b71c4051708695f245246e9c9197987c3ce7f162c87af1cfeb2ae378301cce160c071d4df872124274c7984bcaf938c611a91f45515c44cea53e5a SHA512 d6db28fcfb0ea46840ae863a625ef1d8794015b147137e8ef1e113ea6d04e2b87a3bd44dcabe6e41a65230b8da09ce0563a5d9d5aeac30d279547a9085720da3 DIST tree-sitter-0.21.0.gh.tar.gz 38263 BLAKE2B 27c1b52c40e94368c66e222fbc1f5e64734d7d9243e0b76d9607edebaee80211f228323db23cd83c6bc338e7d933a28be8eff13f7ee49495c282d8e9afed4bfb SHA512 f62896edebcb305d1216e540d4a10a2622228b12b1f969dd9722e2d56615f05aea4e681b6d933beaeed52ce59d36641c80c9a4a1ac79b038fb2a75e079987231 DIST tree-sitter-0.21.3.gh.tar.gz 38504 BLAKE2B dd8ed0047763d92babbdb3fd34a6fe6b7a9299b99067600f473bf16b9754a98ada141d96f9b6b26abcb2ff178dd4ec34da547c9cdb7b3449f7b98a44ad10476e SHA512 61f3d4cb15a4106eb350be2adc6ad39de31bd5b2656f35acf2cdf828ababac37b6197d5565ee74b0b2c3a161619163bb98c38108ca3db616fee633e6e2a835a7 -DIST tree-sitter-0.22.2.gh.tar.gz 166150 BLAKE2B eac9a3fe75e56feffcf32e4bd59269c3e1adccaaf9127e9668bb65fef6eb1b1d1cd56ecb8bfb58810e0d9a0d182ce2844c7b350ebbe6b3d4a713a33dc64af953 SHA512 707a6d9f15ab9382e43341d6be68465f4f0bb6cbb9603bf6dfd51628e71db62cb365e1a0a6836250428fa5e8bc66b6cda5992083717778ccc06e825fb3f23728 +DIST tree-sitter-0.22.3.gh.tar.gz 164914 BLAKE2B 7ab97203fed17fc8d18c40d5a24ff60cea4757353a4124c832cc52bff93ed8af913dbbab682225eac309762a26e90c216d2e1058dcaeb860ebd467b4c9655939 SHA512 8ac729b90f942eef07de97c4ebd070c1040f338c1f57a2203b6aa4f3f8db863fdb5183c9b27d5be2ec270d7eefba7665800d6cc4e9265cbd4b4715af4c4d3921 DIST tree-sitter-embedded-template-6d791b897ecda59baa0689a85a9906348a2a6414.tar.gz 12420 BLAKE2B 9b9c6dd135cef4490e145657c5eeeb1fd470faee3846007638d8247daf07227029c6e7e323a0ed30c5cf6d35602be6bfb62dc1c22076fd4a0e76b161d55cca38 SHA512 7744852711cb1659607298fa373ce3ef79de3212ff55c0fb4e9aebcb715548934065ee3b5b12e9d08169a6207879e154a94c9de8bff892c32729c35d49964736 DIST tree-sitter-html-b5d9758e22b4d3d25704b72526670759a9e4d195.tar.gz 26609 BLAKE2B 223fe82ea18bf61b2b7ec664ad68ec1f324c9e0a1c78578db6063b9037c62be2bb762a9e47d0af81f7f244889f1f72683da3751c1d1c609c4a27fdcd0dc008b8 SHA512 15fd961c18d55a20487f48ef6a6f1822f9033baba8995f2e00cf8db1750036d69e19607f578fe90676aab30a173874969c69b91605b6073eb298f32f5f24f81d DIST tree-sitter-javascript-0.19.0.tar.gz 257637 BLAKE2B dc28bcbb003d623f5930dbf575f94f51c00eb008a77ba080f05e730fae63fb24d29c02ebb62d179a59d0f9cb8a02dbd3971440f299d952b1ec29b25bc6d21e34 SHA512 ef842787742e76d2534528ec710800df91958feaa4ba351558b5315f58a4bd85c729d088d139e15e0395726a690a97c05e03846c9176af0fd482777ae57087ed diff --git a/dev-python/tree-sitter/files/tree-sitter-0.22.2-fix-32-bit.patch b/dev-python/tree-sitter/files/tree-sitter-0.22.2-fix-32-bit.patch deleted file mode 100644 index c7d86953fa21..000000000000 --- a/dev-python/tree-sitter/files/tree-sitter-0.22.2-fix-32-bit.patch +++ /dev/null @@ -1,27 +0,0 @@ -https://github.com/tree-sitter/py-tree-sitter/commit/85e49483b6d2b49953568d95cfa03e539bfb8179 -From: ObserverOfTime <chronobserver@disroot.org> -fix(language): use uintptr_t - ---- a/tests/test_language.py -+++ b/tests/test_language.py -@@ -18,7 +18,6 @@ def setUp(self): - self.rust = tree_sitter_rust.language() - - def test_init_invalid(self): -- self.assertRaises(ValueError, Language, -1) - self.assertRaises(ValueError, Language, 42) - - def test_properties(self): ---- a/tree_sitter/binding/language.c -+++ b/tree_sitter/binding/language.c -@@ -5,8 +5,8 @@ int language_init(Language *self, PyObject *args, PyObject *Py_UNUSED(kwargs)) { - if (!PyArg_ParseTuple(args, "O:__init__", &language)) { - return -1; - } -- Py_ssize_t language_id = PyLong_AsSsize_t(language); -- if (language_id < 1 || (language_id % sizeof(TSLanguage *)) != 0) { -+ Py_uintptr_t language_id = PyLong_AsSize_t(language); -+ if (language_id == 0 || (language_id % sizeof(TSLanguage *)) != 0) { - if (!PyErr_Occurred()) { - PyErr_SetString(PyExc_ValueError, "invalid language ID"); - } diff --git a/dev-python/tree-sitter/tree-sitter-0.22.2-r1.ebuild b/dev-python/tree-sitter/tree-sitter-0.22.3.ebuild index 5560b9fb2c6f..26528ed86327 100644 --- a/dev-python/tree-sitter/tree-sitter-0.22.2-r1.ebuild +++ b/dev-python/tree-sitter/tree-sitter-0.22.3.ebuild @@ -45,8 +45,6 @@ distutils_enable_tests pytest PATCHES=( "${FILESDIR}"/${PN}-0.22.2-unbundle.patch - # Fix 32-bit build, upstream, drop on next bump - "${FILESDIR}"/${P}-fix-32-bit.patch ) src_unpack() { |