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 C5D1415823F for ; Sat, 18 Nov 2023 09:53:11 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 090722BC015; Sat, 18 Nov 2023 09:53:11 +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 E547C2BC015 for ; Sat, 18 Nov 2023 09:53:10 +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 2B6DA335D12 for ; Sat, 18 Nov 2023 09:53:10 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B850413A2 for ; Sat, 18 Nov 2023 09:53:08 +0000 (UTC) From: "Andrew Ammerlaan" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andrew Ammerlaan" Message-ID: <1700165790.9836eabc67ddb422808ca5489191b7d5deaaaefb.andrewammerlaan@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: app-shells/carapace/ X-VCS-Repository: repo/proj/guru X-VCS-Files: app-shells/carapace/Manifest app-shells/carapace/carapace-0.28.3.ebuild app-shells/carapace/metadata.xml X-VCS-Directories: app-shells/carapace/ X-VCS-Committer: andrewammerlaan X-VCS-Committer-Name: Andrew Ammerlaan X-VCS-Revision: 9836eabc67ddb422808ca5489191b7d5deaaaefb X-VCS-Branch: master Date: Sat, 18 Nov 2023 09:53:08 +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: abe2acd4-1b32-4964-99c6-1992292f8e23 X-Archives-Hash: afa70c3b087dcbf53383de2cbc9108d3 commit: 9836eabc67ddb422808ca5489191b7d5deaaaefb Author: Jonas Frei pm me> AuthorDate: Thu Nov 16 20:16:02 2023 +0000 Commit: Andrew Ammerlaan gentoo org> CommitDate: Thu Nov 16 20:16:30 2023 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9836eabc app-shells/carapace: new package, add 0.28.3 Signed-off-by: Jonas Frei pm.me> app-shells/carapace/Manifest | 2 ++ app-shells/carapace/carapace-0.28.3.ebuild | 35 ++++++++++++++++++++++++++++++ app-shells/carapace/metadata.xml | 12 ++++++++++ 3 files changed, 49 insertions(+) diff --git a/app-shells/carapace/Manifest b/app-shells/carapace/Manifest new file mode 100644 index 0000000000..f4b253e40a --- /dev/null +++ b/app-shells/carapace/Manifest @@ -0,0 +1,2 @@ +DIST carapace-0.28.3-deps.tar.xz 2151948 BLAKE2B ac5e1c09b2cfc6bfc45ae6db274ab676de4dc33b9da458951d44d930d7cc48dedeb2cc8496e434fef09ef066275631ddc30a51bab1da30cc40c2a528bbc11f89 SHA512 3faf83a36b030d961ebb097e9acfd4c1a41c8acdb8e3a60b782e41a66793778e690d4aba0e0e869cdfea29f4c4e6fbdde5e9aef2c1bfa5ff1ff704dc99276e42 +DIST carapace-0.28.3.tar.gz 12415261 BLAKE2B b77ddf40a715b9175e54cc447ae1fd3886dc71254157fc1e22632eebb898a9c89a7fe0b89682bcc71f8d11069a18f144edaf11e00409a3a6366f2e2ec6a68c4d SHA512 e6d71a05f347a9002ecf80090cb50342cf24e085b393d29aa10878c9b79796950836c019027ce2d8519251a88c0f1cd9fa9a39b5907f8aa55558a98fc6249462 diff --git a/app-shells/carapace/carapace-0.28.3.ebuild b/app-shells/carapace/carapace-0.28.3.ebuild new file mode 100644 index 0000000000..4ebb5c8543 --- /dev/null +++ b/app-shells/carapace/carapace-0.28.3.ebuild @@ -0,0 +1,35 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit go-module + +DESCRIPTION="Multi-shell multi-command argument completer" +HOMEPAGE="https://rsteube.github.io/carapace-bin/" +SRC_URI="https://github.com/rsteube/${PN}-bin/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +# Using a dependency tarball as per https://devmanual.gentoo.org/eclass-reference/go-module.eclass/index.html +DEPS_URI="https://gitlab.com/freijon_gentoo/${CATEGORY}/${PN}/-/raw/main/${P}-deps.tar.xz" +SRC_URI+=" ${DEPS_URI}" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +S="${WORKDIR}/${PN}-bin-${PV}" + +src_compile() { + pushd "cmd/${PN}" + ego generate ./... + ego build -ldflags="-s -w" -tags release +} + +src_install() { + dobin "cmd/${PN}/${PN}" + mv "docs/src" "docs/book" || die + rm -r "docs/book/changelog" || die + dodoc "README.md" + dodoc -r "docs/book" +} diff --git a/app-shells/carapace/metadata.xml b/app-shells/carapace/metadata.xml new file mode 100644 index 0000000000..de3ba19130 --- /dev/null +++ b/app-shells/carapace/metadata.xml @@ -0,0 +1,12 @@ + + + + + freijon@pm.me + Jonas Frei + + + rsteube/carapace-bin + https://github.com/rsteube/carapace-bin/issues + +