From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 855BD158041 for ; Mon, 1 Apr 2024 15:34:51 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C3FA2E2A6E; Mon, 1 Apr 2024 15:34:50 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A158BE2A6E for ; Mon, 1 Apr 2024 15:34:50 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id CDB7C33BF39 for ; Mon, 1 Apr 2024 15:34:49 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 07E74F6E for ; Mon, 1 Apr 2024 15:34:48 +0000 (UTC) From: "Matthew Smith" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Matthew Smith" Message-ID: <1711985580.a18074ab3baeceb198e6457a365d0a57d987b237.matthew@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/tree-sitter-css/, dev-libs/tree-sitter-css/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/tree-sitter-css/files/tree-sitter-css-0.20.0-test-selector.patch dev-libs/tree-sitter-css/tree-sitter-css-0.20.0.ebuild X-VCS-Directories: dev-libs/tree-sitter-css/ dev-libs/tree-sitter-css/files/ X-VCS-Committer: matthew X-VCS-Committer-Name: Matthew Smith X-VCS-Revision: a18074ab3baeceb198e6457a365d0a57d987b237 X-VCS-Branch: master Date: Mon, 1 Apr 2024 15:34:48 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 4bd1a313-5ab1-4ec6-aeef-7358d6c6771a X-Archives-Hash: 66a923a18f7fe74be81fabdfeea5a3e2 commit: a18074ab3baeceb198e6457a365d0a57d987b237 Author: Matthew Smith gentoo org> AuthorDate: Mon Apr 1 15:33:00 2024 +0000 Commit: Matthew Smith gentoo org> CommitDate: Mon Apr 1 15:33:00 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a18074ab dev-libs/tree-sitter-css: fix test with >tree-sitter-0.22 Closes: https://bugs.gentoo.org/928010 Signed-off-by: Matthew Smith gentoo.org> .../files/tree-sitter-css-0.20.0-test-selector.patch | 14 ++++++++++++++ dev-libs/tree-sitter-css/tree-sitter-css-0.20.0.ebuild | 6 ++++++ 2 files changed, 20 insertions(+) diff --git a/dev-libs/tree-sitter-css/files/tree-sitter-css-0.20.0-test-selector.patch b/dev-libs/tree-sitter-css/files/tree-sitter-css-0.20.0-test-selector.patch new file mode 100644 index 000000000000..bbcec7e47e23 --- /dev/null +++ b/dev-libs/tree-sitter-css/files/tree-sitter-css-0.20.0-test-selector.patch @@ -0,0 +1,14 @@ +https://bugs.gentoo.org/928010 +https://github.com/tree-sitter/tree-sitter-css/issues/47 +https://github.com/tree-sitter/tree-sitter/issues/3238 +--- a/test/corpus/selectors.txt ++++ b/test/corpus/selectors.txt +@@ -102,7 +102,7 @@ a::first-line {} + (block))) + + ========================= +-::slotted pseudo element ++slotted pseudo element + ========================= + + ::slotted(button) {} diff --git a/dev-libs/tree-sitter-css/tree-sitter-css-0.20.0.ebuild b/dev-libs/tree-sitter-css/tree-sitter-css-0.20.0.ebuild index a1f48ed9e145..632f1a55a2fa 100644 --- a/dev-libs/tree-sitter-css/tree-sitter-css-0.20.0.ebuild +++ b/dev-libs/tree-sitter-css/tree-sitter-css-0.20.0.ebuild @@ -11,3 +11,9 @@ HOMEPAGE="https://github.com/tree-sitter/tree-sitter-css" LICENSE="MIT" SLOT="0" KEYWORDS="amd64" + +PATCHES=( + # https://bugs.gentoo.org/928010 + # Test name beginning with :: is incompatible with tree-sitter >0.22 + "${FILESDIR}"/${PN}-0.20.0-test-selector.patch +)