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 E4AB9158041 for ; Sun, 24 Mar 2024 07:47:06 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 332542BC020; Sun, 24 Mar 2024 07:47:06 +0000 (UTC) Received: from smtp.gentoo.org (dev.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 181D52BC020 for ; Sun, 24 Mar 2024 07:47:06 +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 2FF9234300C for ; Sun, 24 Mar 2024 07:47:05 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 502BD14C6 for ; Sun, 24 Mar 2024 07:47:02 +0000 (UTC) From: "Jonas Frei" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jonas Frei" Message-ID: <1711258908.2c7b74f622dcaef79f98eb550be9ca0be52d5476.freijon@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: app-shells/carapace/ X-VCS-Repository: repo/proj/guru X-VCS-Files: app-shells/carapace/Manifest app-shells/carapace/carapace-1.0.0.ebuild X-VCS-Directories: app-shells/carapace/ X-VCS-Committer: freijon X-VCS-Committer-Name: Jonas Frei X-VCS-Revision: 2c7b74f622dcaef79f98eb550be9ca0be52d5476 X-VCS-Branch: dev Date: Sun, 24 Mar 2024 07:47:02 +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: 1137aa03-bdeb-4bba-ae19-9d877e3d1564 X-Archives-Hash: 0b67699ece2153677116632b928cf534 commit: 2c7b74f622dcaef79f98eb550be9ca0be52d5476 Author: Jonas Frei pm me> AuthorDate: Sun Mar 24 05:36:34 2024 +0000 Commit: Jonas Frei pm me> CommitDate: Sun Mar 24 05:41:48 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2c7b74f6 app-shells/carapace: add 1.0.0 Signed-off-by: Jonas Frei pm.me> app-shells/carapace/Manifest | 2 ++ app-shells/carapace/carapace-1.0.0.ebuild | 40 +++++++++++++++++++++++++++++++ 2 files changed, 42 insertions(+) diff --git a/app-shells/carapace/Manifest b/app-shells/carapace/Manifest index 058dc3119c..db16418cff 100644 --- a/app-shells/carapace/Manifest +++ b/app-shells/carapace/Manifest @@ -2,3 +2,5 @@ DIST carapace-0.28.5-deps.tar.xz 2166312 BLAKE2B 9ae03183e1f3f8e3b121f76f226bfe0 DIST carapace-0.28.5.tar.gz 12432252 BLAKE2B ae5b0e30d88fdd79eea05094d7b7e2c5365f115a369aef57200175a48eee755cd4e964c8eb0c42fffe1f1d951db4d217af3aa0ff1c814c4643769479694ee9e0 SHA512 ce1746a05075afed1a394b424c8dc796f3c9a9215010fb4f716fde8c230f8a50b616e83883c292f524dff87697a2e5837b9739bb546dc8e58edcbe12f416df9b DIST carapace-0.30.2-deps.tar.xz 2206908 BLAKE2B 7ed05934d8512f8e091397c8aa6ca45b4843fb1ab3d5f6cc7ecb7e9c3d75314d919c6f784f214c6f836385e0722faa59e94a48765ca338f0914bb232c9b2b95a SHA512 dd597c786f09798c3c8a6029972e8d4627fa2d3d4f5dce2771d4a88c969daa85738b99b8e34896a26a168e115310231b7b6898b8e607375de0840be42d3bc7a1 DIST carapace-0.30.2.tar.gz 13819214 BLAKE2B 8dce39ece1f216dbf9a109be5f8bbaf0d1dd9d7756402bdee64caf50ebf2770c24f068e541b0528f98e429acb1aa43231300fe74590385629ec69b7c73718869 SHA512 142cfb1d99df10507f27f1fc20b6639f84307182bd37eed3a6797f39b646f2315875873cd6ecfeb497dfdaf4b3bf9293dc96bd2e494661612bd949a62c2e495b +DIST carapace-1.0.0-deps.tar.xz 3057572 BLAKE2B e61f5e496ab6e349d2ec1ee56e2ff85e904fe7dd2e85f32e78a0cfcc1cf94ddd8d3b9e23a478f42c8b3e373261fa02843221fe691d33bfc7ed645f6d0aa52a96 SHA512 3f3d427f3d4fc6e649fd4066f486ecde9bfdc8b8e0b27af8d96f59734ea02d833b96daa77f6e4882a1b9d3c9558739bc917d637631555eadb10042be6cd17a2e +DIST carapace-1.0.0.tar.gz 14593185 BLAKE2B 2021c05a964e68f12551a6f44c9e95bc095631e98f5e00eef21ed870f8926b854813cc5d15777f0fbd27b9a90a0b456dd729b761d0019dc1c7784fbe80db7c8a SHA512 0a65597438852a03d1fcd2fb974b02cc0e68ff39d47daa75a51a0650232f11e7916992bc80a0b1f907e2325a8e7b70baab008f0a1061b6032b70a0c27ead3623 diff --git a/app-shells/carapace/carapace-1.0.0.ebuild b/app-shells/carapace/carapace-1.0.0.ebuild new file mode 100644 index 0000000000..e8000b304a --- /dev/null +++ b/app-shells/carapace/carapace-1.0.0.ebuild @@ -0,0 +1,40 @@ +# 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" + +DOCS=( + "README.md" +) +HTML_DOCS=( + "docs/book/" +) + +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/release_notes" || die + einstalldocs +}