From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id uC1YIfqlwmRYfwAASxT56A (envelope-from ) for ; Thu, 27 Jul 2023 19:14:34 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id aKBOIfqlwmSawgAA9RJhRA (envelope-from ) for ; Thu, 27 Jul 2023 19:14:34 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 11AE34B908 for ; Thu, 27 Jul 2023 19:14:34 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=ultrarare.space header.s=dkim header.b=p6fl80ZK; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1690478074; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=ED2vEhOaK2Kn0sGmmC6vQJP62ifCCPdwjy7trO14Doc=; b=R6D2ftzfl9hWBH4oyFVwBGcV054dIw01LrqguPlyBjfnLeqMdQ7U1Nh0lJRZM5z4d7P0/o sk74QAuJTdEwTmcWJN4jqqCah5wnOZHLi4ajnvmDAwj3xpQb42Y0ApPNOvCEMEVuzB4ZRr egKWMBZufmcYKVugaU8nv3smLdxNE8hRFMRfdJ2RwbKeSFLIViQUHg5yBAo5wbGOx0xvoX Dy+0hp9z2Gjv7H4HddhIcYPCr2K51Q9LUXsqtu43lvedUCRFTga4flv4jeA4MNlv7Hc9iB Fxs31CkEy1EjqXkpK1I9DxbB6iwDGknoaaToiBHV/u1hHtLLK1pZvvB78hlNcA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=ultrarare.space header.s=dkim header.b=p6fl80ZK; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1690478074; a=rsa-sha256; cv=none; b=dcxvH/C21DhbDcNBUUeYqLFB0OLcGoYdMzsplFA2StQNno5RHuPH+x9O7CKJv+eGrJIzT6 k36L2k6rgvYCMyz+ubDvVqTAO0OvGKBKYebpVkleQLDm3jWlepGKoaperb+XghyPwkm0wC OyZYdpkVNZ14D8trmXfNdcIWgK9o9JWhu+bN9Xq27jB/QIRas8pWGdNLnJni1msysaP8Ea DsI/xTXXRI/gvTYugva+QVCf/Dl7Xu/Z35a/+/I+3odj617vBA/eczGuRuk/01tjP0/zmy Aw5LQ2bYXxW0bWwWc2nE55suI32Bsp6si3gR3R4imq1t0o7hjT1T6CNq750z7Q== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qP4Dc-0003jV-5C; Thu, 27 Jul 2023 12:52:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qP4Da-0003iQ-Ry for guix-patches@gnu.org; Thu, 27 Jul 2023 12:52:02 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qP4Da-0007XJ-KM for guix-patches@gnu.org; Thu, 27 Jul 2023 12:52:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qP4Da-0001U2-B7 for guix-patches@gnu.org; Thu, 27 Jul 2023 12:52:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#64905] [PATCH 02/10] gnu: tree-sitter: Update to 0.20.10. Resent-From: Hilton Chain Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 27 Jul 2023 16:52:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64905 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 64905@debbugs.gnu.org Cc: Hilton Chain Received: via spool by 64905-submit@debbugs.gnu.org id=B64905.16904767055590 (code B ref 64905); Thu, 27 Jul 2023 16:52:02 +0000 Received: (at 64905) by debbugs.gnu.org; 27 Jul 2023 16:51:45 +0000 Received: from localhost ([127.0.0.1]:42998 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qP4DJ-0001S6-AG for submit@debbugs.gnu.org; Thu, 27 Jul 2023 12:51:45 -0400 Received: from mail.boiledscript.com ([144.168.59.46]:42280) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qP4DG-0001Rq-GP for 64905@debbugs.gnu.org; Thu, 27 Jul 2023 12:51:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space; s=dkim; t=1690476427; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ED2vEhOaK2Kn0sGmmC6vQJP62ifCCPdwjy7trO14Doc=; b=p6fl80ZKHw461smrzsPntwKdIHluV7XQ5XzuKVE0fFG/9/9H4Ggnet+lk+Vht6PHIPACF5 m9QDhpwvWWra7/e+fJApALiN2XWzbWPBN86yBCOIn2MoK8iqWUHOvlIp4q5WTl1pyxmzsf VlfwxsE4deaEj/bYNX05zYaEkO0Lm9Eh4JyVD71m571M6nJvVs7FJx3xWGJdixMkAz8xLn eQ/CIxMIbZep/r2b9L1BCsNKj0K9jW0Qza/m76AG4SFGlmaY1sOPhyI9FdWVwIR76P9gWc lDlAqJlpp9iBwDYdt55063gr2F0EA8Mf94W2znfY/iv4+v64RGN/DLyWyq1uXA== Date: Fri, 28 Jul 2023 00:51:02 +0800 Message-ID: <3590dc684dbd7caaabd605685614d5d1c0f542e6.1690476218.git.hako@ultrarare.space> In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spamd-Bar: -- X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Hilton Chain X-ACL-Warn: , Hilton Chain via Guix-patches From: Hilton Chain via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Spam-Score: -4.65 X-Migadu-Queue-Id: 11AE34B908 X-Migadu-Spam-Score: -4.65 X-Migadu-Scanner: mx0.migadu.com X-TUID: +4Wy5WGV/Cg5 * gnu/packages/tree-sitter.scm (tree-sitter): Update to 0.20.10. (tree-sitter-cli)[arguments]<#:cargo-test-flags>: Skip github_issue_test. <#:cargo-inputs>: Add rust-path-slash-0.2. --- gnu/packages/tree-sitter.scm | 66 +++++++++++++++++++----------------- 1 file changed, 35 insertions(+), 31 deletions(-) diff --git a/gnu/packages/tree-sitter.scm b/gnu/packages/tree-sitter.scm index 117c2acb0c..fb34e42874 100644 --- a/gnu/packages/tree-sitter.scm +++ b/gnu/packages/tree-sitter.scm @@ -94,36 +94,38 @@ (define-public python-tree-sitter (license license:expat))) (define-public tree-sitter - (package - (name "tree-sitter") - (version "0.20.8") - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/tree-sitter/tree-sitter") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "10w17lfn9asqrk612xivkx26lc620s3nnm30hhlyqd4bj19k7gyv")) - (modules '((guix build utils))) - (snippet #~(begin - ;; Remove bundled ICU parts - (delete-file-recursively "lib/src/unicode"))))) - (build-system gnu-build-system) - (inputs (list icu4c)) - (arguments - (list #:phases - #~(modify-phases %standard-phases - (delete 'configure)) - #:tests? #f ; there are no tests for the runtime library - #:make-flags - #~(list (string-append "PREFIX=" #$output) - (string-append "CC=" #$(cc-for-target))))) - (home-page "https://tree-sitter.github.io/tree-sitter/") - (synopsis "Incremental parsing system for programming tools") - (description - "Tree-sitter is a parser generator tool and an incremental parsing + ;; Untagged + (let ((commit "0e4ff0bb27edf37b76fc7d35aa768b02cf4392ad")) + (package + (name "tree-sitter") + (version "0.20.10") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/tree-sitter/tree-sitter") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1bai4gdhf8w5p1i9np2kl2ms0jq6rgq98qpiipipzayb9jjjlxcy")) + (modules '((guix build utils))) + (snippet #~(begin + ;; Remove bundled ICU parts + (delete-file-recursively "lib/src/unicode"))))) + (build-system gnu-build-system) + (inputs (list icu4c)) + (arguments + (list #:phases + #~(modify-phases %standard-phases + (delete 'configure)) + #:tests? #f ; there are no tests for the runtime library + #:make-flags + #~(list (string-append "PREFIX=" #$output) + (string-append "CC=" #$(cc-for-target))))) + (home-page "https://tree-sitter.github.io/tree-sitter/") + (synopsis "Incremental parsing system for programming tools") + (description + "Tree-sitter is a parser generator tool and an incremental parsing library. It can build a concrete syntax tree for a source file and efficiently update the syntax tree as the source file is edited. @@ -138,7 +140,7 @@ (define-public tree-sitter @end itemize This package includes the @code{libtree-sitter} runtime library.") - (license license:expat))) + (license license:expat)))) (define-public tree-sitter-cli (package @@ -173,6 +175,7 @@ (define-public tree-sitter-cli ;; good compromise compared to maintaining two different sets of ;; grammars (Guix packages vs test fixtures). "--skip=tests::corpus_test" + "--skip=tests::github_issue_test" "--skip=tests::highlight_test" "--skip=tests::node_test" "--skip=tests::parser_test" @@ -194,6 +197,7 @@ (define-public tree-sitter-cli ("rust-dirs" ,rust-dirs-3) ("rust-html-escape" ,rust-html-escape-0.2) ("rust-libloading" ,rust-libloading-0.7) + ("rust-path-slash" ,rust-path-slash-0.2) ("rust-rand" ,rust-rand-0.8) ("rust-rustc-hash" ,rust-rustc-hash-1) ("rust-semver" ,rust-semver-1) -- 2.41.0