From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C358E1584AD for ; Sat, 10 May 2025 18:47:58 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id A6C473430A3 for ; Sat, 10 May 2025 18:47:58 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id A959B110278; Sat, 10 May 2025 18:47:57 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 9EC81110278 for ; Sat, 10 May 2025 18:47:57 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 51E443430A3 for ; Sat, 10 May 2025 18:47:57 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id ECDDADA7 for ; Sat, 10 May 2025 18:47:55 +0000 (UTC) From: "David Roman" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "David Roman" Message-ID: <1746902779.bfce42c504f03fd3b5825566ba9589ea3d9e6f95.davidroman@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-zig/zls/ X-VCS-Repository: repo/proj/guru X-VCS-Files: dev-zig/zls/zls-0.14.0.ebuild X-VCS-Directories: dev-zig/zls/ X-VCS-Committer: davidroman X-VCS-Committer-Name: David Roman X-VCS-Revision: bfce42c504f03fd3b5825566ba9589ea3d9e6f95 X-VCS-Branch: dev Date: Sat, 10 May 2025 18:47:55 +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: d7029fa4-3661-49c6-a2fd-21940a961076 X-Archives-Hash: 9bd9de96ab24ac348efa1eda9c3dd1b1 commit: bfce42c504f03fd3b5825566ba9589ea3d9e6f95 Author: Filip Kobierski pm me> AuthorDate: Mon Apr 7 14:58:22 2025 +0000 Commit: David Roman gmail com> CommitDate: Sat May 10 18:46:19 2025 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=bfce42c5 dev-zig/zls: improve ebuild a bit - DESCRIPTION: reflect the `--help` message - redefine live's src_unpack near git-r3 inherit - inspired by 06ba1f0f708bd11d5e4710dcaad1ed99c829678c - do not hardcode ZIG_SLOT Signed-off-by: Filip Kobierski pm.me> Part-of: https://github.com/gentoo/guru/pull/313 Closes: https://github.com/gentoo/guru/pull/313 Signed-off-by: David Roman gmail.com> dev-zig/zls/zls-0.14.0.ebuild | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-) diff --git a/dev-zig/zls/zls-0.14.0.ebuild b/dev-zig/zls/zls-0.14.0.ebuild index c37929d1e..f8651590d 100644 --- a/dev-zig/zls/zls-0.14.0.ebuild +++ b/dev-zig/zls/zls-0.14.0.ebuild @@ -3,7 +3,7 @@ EAPI=8 -DESCRIPTION="The officially unofficial Ziglang language server" +DESCRIPTION="Non-official language server for Zig" HOMEPAGE="https://zigtools.org/zls/ https://github.com/zigtools/zls" declare -g -r -A ZBS_DEPENDENCIES=( @@ -12,14 +12,18 @@ declare -g -r -A ZBS_DEPENDENCIES=( [N-V-__8AABhrAQAQLLLGadghhPsdxTgBk9N9aLVOjXW3ay0V.tar.gz]='https://github.com/ziglibs/diffz/archive/ef45c00d655e5e40faf35afbbde81a1fa5ed7ffb.tar.gz' ) -# Sync with "minimum_build_zig_version" from upstream's "build.zig". if [[ ${PV} == 9999 ]]; then ZIG_SLOT="9999" EGIT_REPO_URI="https://github.com/zigtools/zls" inherit git-r3 + src_unpack() { + git-r3_src_unpack + zig_live_fetch -Denable-tracy=false + } else - ZIG_SLOT="0.14" + # Should be the "minimum_build_zig_version" from upstream's "build.zig". + ZIG_SLOT="$(ver_cut 1-2)" # works only for releases, but that's okay SRC_URI=" https://github.com/zigtools/zls/archive/refs/tags/${PV}.tar.gz -> zls-${PV}.tar.gz @@ -43,15 +47,6 @@ RDEPEND=" DOCS=( README.md ) -src_unpack() { - if [[ ${PV} == 9999 ]]; then - git-r3_src_unpack - zig_live_fetch -Denable-tracy=false - else - zig_src_unpack - fi -} - src_configure() { local my_zbs_args=( -Dpie=true From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B57201584AD for ; Sat, 10 May 2025 19:08:41 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id A0815343336 for ; Sat, 10 May 2025 19:08:41 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 346B31104B0; Sat, 10 May 2025 19:08:14 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 2C5251104B0 for ; Sat, 10 May 2025 19:08:14 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id DAF4C3432F3 for ; Sat, 10 May 2025 19:08:13 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3B3D5288A for ; Sat, 10 May 2025 19:08:10 +0000 (UTC) From: "David Roman" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "David Roman" Message-ID: <1746902779.bfce42c504f03fd3b5825566ba9589ea3d9e6f95.davidroman@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: dev-zig/zls/ X-VCS-Repository: repo/proj/guru X-VCS-Files: dev-zig/zls/zls-0.14.0.ebuild X-VCS-Directories: dev-zig/zls/ X-VCS-Committer: davidroman X-VCS-Committer-Name: David Roman X-VCS-Revision: bfce42c504f03fd3b5825566ba9589ea3d9e6f95 X-VCS-Branch: master Date: Sat, 10 May 2025 19:08:10 +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: 6a5ca351-6176-4765-9a8b-4c64e07bf6bc X-Archives-Hash: 52036194c944502419a779b80ff77163 Message-ID: <20250510190810.8KLA4QJHjwdj5MiTi-J3RuVZzM7_IJ2nKm8Gb47hwPE@z> commit: bfce42c504f03fd3b5825566ba9589ea3d9e6f95 Author: Filip Kobierski pm me> AuthorDate: Mon Apr 7 14:58:22 2025 +0000 Commit: David Roman gmail com> CommitDate: Sat May 10 18:46:19 2025 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=bfce42c5 dev-zig/zls: improve ebuild a bit - DESCRIPTION: reflect the `--help` message - redefine live's src_unpack near git-r3 inherit - inspired by 06ba1f0f708bd11d5e4710dcaad1ed99c829678c - do not hardcode ZIG_SLOT Signed-off-by: Filip Kobierski pm.me> Part-of: https://github.com/gentoo/guru/pull/313 Closes: https://github.com/gentoo/guru/pull/313 Signed-off-by: David Roman gmail.com> dev-zig/zls/zls-0.14.0.ebuild | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-) diff --git a/dev-zig/zls/zls-0.14.0.ebuild b/dev-zig/zls/zls-0.14.0.ebuild index c37929d1e..f8651590d 100644 --- a/dev-zig/zls/zls-0.14.0.ebuild +++ b/dev-zig/zls/zls-0.14.0.ebuild @@ -3,7 +3,7 @@ EAPI=8 -DESCRIPTION="The officially unofficial Ziglang language server" +DESCRIPTION="Non-official language server for Zig" HOMEPAGE="https://zigtools.org/zls/ https://github.com/zigtools/zls" declare -g -r -A ZBS_DEPENDENCIES=( @@ -12,14 +12,18 @@ declare -g -r -A ZBS_DEPENDENCIES=( [N-V-__8AABhrAQAQLLLGadghhPsdxTgBk9N9aLVOjXW3ay0V.tar.gz]='https://github.com/ziglibs/diffz/archive/ef45c00d655e5e40faf35afbbde81a1fa5ed7ffb.tar.gz' ) -# Sync with "minimum_build_zig_version" from upstream's "build.zig". if [[ ${PV} == 9999 ]]; then ZIG_SLOT="9999" EGIT_REPO_URI="https://github.com/zigtools/zls" inherit git-r3 + src_unpack() { + git-r3_src_unpack + zig_live_fetch -Denable-tracy=false + } else - ZIG_SLOT="0.14" + # Should be the "minimum_build_zig_version" from upstream's "build.zig". + ZIG_SLOT="$(ver_cut 1-2)" # works only for releases, but that's okay SRC_URI=" https://github.com/zigtools/zls/archive/refs/tags/${PV}.tar.gz -> zls-${PV}.tar.gz @@ -43,15 +47,6 @@ RDEPEND=" DOCS=( README.md ) -src_unpack() { - if [[ ${PV} == 9999 ]]; then - git-r3_src_unpack - zig_live_fetch -Denable-tracy=false - else - zig_src_unpack - fi -} - src_configure() { local my_zbs_args=( -Dpie=true