dev-util/kiro-cli: new package, add 2.14.1
Signed-off-by: Zakk <zakk@gentoozh.org>
This commit is contained in:
1 parent
e308e1eda2
commit
f4bd2cf66c
4 files changed
+72
No files matched your search
@@ -1124,6 +1124,12 @@ use_latest_release = true
|
||||
github_account = "liangyongxiang"
|
||||
autobump = true
|
||||
|
||||
["dev-util/kiro-cli"]
|
||||
source = "regex"
|
||||
url = "https://prod.download.cli.kiro.dev/stable/latest/manifest.json"
|
||||
regex = '"version":\s*"([\d.]+)"'
|
||||
github_account = "zakkaus"
|
||||
|
||||
["dev-util/maixvision"]
|
||||
source = "regex"
|
||||
url = "https://cdn.sipeed.com/maixvision/latest-linux.yml"
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
DIST kiro-cli-2.14.1-amd64.tar.gz 554195888 BLAKE2B 095191d8e2175934d23b5dc1b2ad374cb394dddf1ef0ea7f3eb44a636605dc0907da5523b3ecdbe3f70662136860c46f3cf144926c07b4c57d89f6a6cb1e7f6c SHA512 1e715489a651bbd86a4bfcd8ae48ec91b80bf39d92e7ec7e1c37111005d4ee1815f3fdd83d31b2ef98d8fe2350e62403b3eb9181a3ddc1eff2b69896ba5e96de
|
||||
DIST kiro-cli-2.14.1-arm64.tar.gz 509306235 BLAKE2B 14a0547729815fdbadab40214a304b3dc5b72fa496527ca46c350dd7f14fdf2e47a8f188b0b38473223ec3cf45c77fbf09808373d15521928fcca1bb697986bb SHA512 bd71a4aa3ee5593bab6bb7cd7707b226dfdb8cdb67931ca3638befafb63a4f993159f5133170e7bf07d2c20695338afaa0650b3715ae408a1eaf785894ebf9f1
|
||||
@@ -0,0 +1,48 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit shell-completion
|
||||
|
||||
DESCRIPTION="Kiro CLI, Amazon's agentic coding assistant for the terminal (prebuilt binary)"
|
||||
HOMEPAGE="https://kiro.dev/cli/"
|
||||
SRC_URI="
|
||||
amd64? (
|
||||
https://prod.download.cli.kiro.dev/stable/${PV}/kirocli-x86_64-linux.tar.gz
|
||||
-> ${P}-amd64.tar.gz
|
||||
)
|
||||
arm64? (
|
||||
https://prod.download.cli.kiro.dev/stable/${PV}/kirocli-aarch64-linux.tar.gz
|
||||
-> ${P}-arm64.tar.gz
|
||||
)
|
||||
"
|
||||
S="${WORKDIR}/kirocli"
|
||||
|
||||
LICENSE="Kiro"
|
||||
SLOT="0"
|
||||
KEYWORDS="-* ~amd64 ~arm64"
|
||||
RESTRICT="bindist mirror strip"
|
||||
|
||||
RDEPEND="sys-libs/glibc"
|
||||
|
||||
QA_PREBUILT="*"
|
||||
|
||||
src_compile() {
|
||||
# Completions are not shipped in the tarball; generate them from the binary.
|
||||
local sh
|
||||
for sh in bash zsh fish; do
|
||||
./bin/kiro-cli completion "${sh}" > "kiro-cli.${sh}" || die
|
||||
done
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# The bundled self-updater refuses to run for binaries outside
|
||||
# ~/.local/bin and defers uninstall to the package manager, so a
|
||||
# system install under /usr/bin is not self-updated.
|
||||
dobin bin/kiro-cli bin/kiro-cli-chat bin/kiro-cli-term
|
||||
|
||||
newbashcomp kiro-cli.bash kiro-cli
|
||||
newzshcomp kiro-cli.zsh _kiro-cli
|
||||
newfishcomp kiro-cli.fish kiro-cli.fish
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>zakk@gentoozh.org</email>
|
||||
<name>Zakk</name>
|
||||
</maintainer>
|
||||
<longdescription lang="en">
|
||||
Kiro CLI is the terminal interface to Amazon's Kiro agentic coding
|
||||
assistant, the successor to the Amazon Q Developer CLI. The installed
|
||||
command is kiro-cli.
|
||||
</longdescription>
|
||||
<upstream>
|
||||
<doc>https://kiro.dev/docs/cli/</doc>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
Reference in new issue
Block a user