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 EA85F158020 for ; Fri, 4 Nov 2022 17:22:49 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3319AE0809; Fri, 4 Nov 2022 17:22:49 +0000 (UTC) Received: from smtp.gentoo.org (mail.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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1A3C8E0809 for ; Fri, 4 Nov 2022 17:22:48 +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 0EF75341489 for ; Fri, 4 Nov 2022 17:22:48 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 714AB6E8 for ; Fri, 4 Nov 2022 17:22:46 +0000 (UTC) From: "Eric Joldasov" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Eric Joldasov" Message-ID: <1667582375.eaad72328d91430a3ca4ecdc86b06b135c5efecd.bratishkaerik@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/metadata.xml dev-zig/zls/zls-9999.ebuild X-VCS-Directories: dev-zig/zls/ X-VCS-Committer: bratishkaerik X-VCS-Committer-Name: Eric Joldasov X-VCS-Revision: eaad72328d91430a3ca4ecdc86b06b135c5efecd X-VCS-Branch: dev Date: Fri, 4 Nov 2022 17:22:46 +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: a219949e-b1ca-43f7-b7ce-5e4e40a8a9bf X-Archives-Hash: 80879ba6e0afdd287e56dc71886fd02e commit: eaad72328d91430a3ca4ecdc86b06b135c5efecd Author: Eric Joldasov getgoogleoff me> AuthorDate: Fri Nov 4 17:19:35 2022 +0000 Commit: Eric Joldasov getgoogleoff me> CommitDate: Fri Nov 4 17:19:35 2022 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=eaad7232 dev-zig/zls: new package, add 9999 Signed-off-by: Eric Joldasov getgoogleoff.me> dev-zig/zls/metadata.xml | 12 ++++++++++++ dev-zig/zls/zls-9999.ebuild | 39 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 51 insertions(+) diff --git a/dev-zig/zls/metadata.xml b/dev-zig/zls/metadata.xml new file mode 100644 index 000000000..f7d26335b --- /dev/null +++ b/dev-zig/zls/metadata.xml @@ -0,0 +1,12 @@ + + + + + bratishkaerik@getgoogleoff.me + Eric Joldasov + + + zigtools/zls + https://github.com/zigtools/zls/issues + + diff --git a/dev-zig/zls/zls-9999.ebuild b/dev-zig/zls/zls-9999.ebuild new file mode 100644 index 000000000..bbb09a80b --- /dev/null +++ b/dev-zig/zls/zls-9999.ebuild @@ -0,0 +1,39 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit git-r3 + +EGIT_REPO_URI="https://github.com/zigtools/zls" + +HOMEPAGE="https://github.com/zigtools/zls" +DESCRIPTION="Zig LSP implementation + Zig Language Server" + +LICENSE="MIT" +SLOT="0" + +DEPEND="~dev-lang/zig-9999" +RDEPEND="${DEPEND}" + +# see https://github.com/ziglang/zig/issues/3382 +# For now, Zig doesn't support CFLAGS/LDFLAGS/etc. +QA_FLAGS_IGNORED="usr/bin/zls" + +src_compile() { + zig build -Drelease-safe -Ddata_version=master --verbose || die +} + +src_test() { + zig build test -Drelease-safe -Ddata_version=master --verbose || die +} + +src_install() { + DESTDIR="${ED}" zig build install --prefix /usr -Drelease-safe -Ddata_version=master --verbose || die + dodoc README.md +} + +pkg_postinst() { + elog "For creating or updating config run this command: zls --config" + elog "You can find more information about options here https://github.com/zigtools/zls#configuration-options" +}