summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2023-11-02 11:22:50 -0500
committerWilliam Hubbs <williamh@gentoo.org>2023-11-02 11:23:56 -0500
commit5613a51a41565c41bdd8337df5d15a0390fee64b (patch)
treed0f30d1e6c37689e4d8d043240d48fc0e704face /dev-util/src-cli
parentdev-util/src-cli: add 5.1.2 (diff)
downloadgentoo-5613a51a41565c41bdd8337df5d15a0390fee64b.tar.gz
gentoo-5613a51a41565c41bdd8337df5d15a0390fee64b.tar.bz2
gentoo-5613a51a41565c41bdd8337df5d15a0390fee64b.zip
dev-util/src-cli: add 5.2.0
Signed-off-by: William Hubbs <williamh@gentoo.org>
Diffstat (limited to 'dev-util/src-cli')
-rw-r--r--dev-util/src-cli/Manifest2
-rw-r--r--dev-util/src-cli/src-cli-5.2.0.ebuild25
2 files changed, 27 insertions, 0 deletions
diff --git a/dev-util/src-cli/Manifest b/dev-util/src-cli/Manifest
index 35de999f1ba9..f8c8430d3063 100644
--- a/dev-util/src-cli/Manifest
+++ b/dev-util/src-cli/Manifest
@@ -6,3 +6,5 @@ DIST src-cli-5.0.2-deps.tar.xz 188982528 BLAKE2B 6478547fb684cb9e424f8255d15837f
DIST src-cli-5.0.2.tar.gz 283733 BLAKE2B 0eac40c038cb74e35f5bf8244615ed8db82750ce5beef0fb815d04e790b149958c0a7ec977ed757d26bc09dfde43f087ab25f74157d716a39434b06bd0ef1f36 SHA512 51d68f58ffa62d825013b70f3eace43ff4435552634d03ccee448fa524d816ae2383539df1648f8cfefcfcaa60bc250d2e83dfc99224f4cb5dcd23ae69ac9889
DIST src-cli-5.1.2-deps.tar.xz 190693612 BLAKE2B 1a3d94336b55f6492798583b55e49d3e0cccacf1176b045ab49dbe31667b83d28185d9608e91c42a6f58c6eac4412208b07139d5de99bc9e3d83b06946aef4a9 SHA512 b2d5d78918eff0b5066d1cf12727bfdcc7f4f9980aaf2e5d88ea5965a2d85834d36dcc5e1c52242a672d86f8c4484d3ec92fc3ce6d49e16f57106b0728260030
DIST src-cli-5.1.2.tar.gz 334220 BLAKE2B ab934c9805023a48fa4e9eb10869b41f6d434a1922d26e4756a79da30b8c20be16114ff4a866153d645cfd3d3214869dcaa3b6a3c4ea7b2e84ddf22529a8c891 SHA512 1cf34f43b920788cfc5d6cde4cdbbc978dc1df3ebdb5050bcd609b5a5c294104de6f8cb3563b039f3c501cca511c1025d1897a768134cc9f44647a965957597e
+DIST src-cli-5.2.0-deps.tar.xz 204974900 BLAKE2B 64c85c56c0b58932b8c21bb200757a6160fd286a5a3af83d663bce208f8365e9c628c0847ef15697efe83f10b18f74e8abf5f490b655e64a8d2d1917d55ac036 SHA512 fc8a9de973eb5787dd24daaf09b95278494e9b44535b210d2e54e9a850c6cf34b59a645e7c5da912bcc4ba8bf1b3e324fdfd309539805c040f65ff1e63219f86
+DIST src-cli-5.2.0.tar.gz 330746 BLAKE2B 54bb73be045baa26387492ecda425b65cebf5e22a09a861a161436e7b61bf98dd08e78523aa4ef286842826c388a4ccb2914588f265f684d8c7e4ebe5e423499 SHA512 87a5199552fc1ff8aa375fd97323b6a4b3f376fd94c4572ddf405dc1e3c906081a5e4b1e9c5fdb051bb4fbe2b73a9a07ac20c656e6ab4de710163801f6da646f
diff --git a/dev-util/src-cli/src-cli-5.2.0.ebuild b/dev-util/src-cli/src-cli-5.2.0.ebuild
new file mode 100644
index 000000000000..fa13edbff873
--- /dev/null
+++ b/dev-util/src-cli/src-cli-5.2.0.ebuild
@@ -0,0 +1,25 @@
+# Copyright 2022-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit go-module
+
+DESCRIPTION="command line interface for the Sourcegraph code search tool"
+HOMEPAGE="https://sourcegraph.com https://docs.sourcegraph.com/cli"
+SRC_URI="https://github.com/sourcegraph/src-cli/archive/${PV}.tar.gz -> ${P}.tar.gz"
+SRC_URI+=" https://dev.gentoo.org/~williamh/dist/${P}-deps.tar.xz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="amd64"
+
+src_compile() {
+ ego build \
+ -ldflags "-X github.com/sourcegraph/src-cli/internal/version.BuildTag=${PV}" \
+ ./cmd/src
+}
+
+src_install() {
+ dobin src
+ dodoc AUTH_PROXY.md CHANGELOG.md
+}