dev-util/gemini-cli: new package, add 0.1.9_pre20250709

Signed-off-by: Huang Rui <vowstar@gmail.com>
This commit is contained in:
Huang Rui
2025-07-09 15:35:49 +08:00
parent 30f243c579
commit 817e052fbf
3 changed files with 63 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST gemini-cli-0.1.9_pre20250709.js 10768974 BLAKE2B 2f1b5ffaa91baf32338646fe382fa5f81f7676364379f5974f2e2d6c452a695d79c715b90bead04ed245d3020f0dc31af5c9f3e3e81afedb29b8fb96c1ec993f SHA512 ae9568e73ed8c77b47ff02e34904cf2587812afd43306ed1b925ccaaf4bb6bd653b517491154c2cd70ee7ddb74c7fcae822b7c3d72d02a57e10274dd6b98358c

View File

@@ -0,0 +1,36 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
MY_TAG="v0.1.9-nightly.250709.c8cf954e"
DESCRIPTION="Gemini CLI - a command-line AI workflow tool by Google"
HOMEPAGE="https://github.com/google-gemini/gemini-cli"
SRC_URI="https://github.com/google-gemini/gemini-cli/releases/download/${MY_TAG}/gemini.js -> ${P}.js"
S="${WORKDIR}"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
QA_PREBUILT="usr/lib64/node_modules/@google/gemini-cli/dist/*"
RESTRICT="strip"
RDEPEND="
>=net-libs/nodejs-20
"
src_unpack() {
# npm installs the tarball directly
:
}
src_compile() {
# Skip, nothing to compile here.
:
}
src_install() {
newbin "${DISTDIR}/${P}.js" gemini
}

View File

@@ -0,0 +1,26 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>vowstar@gmail.com</email>
<name>Huang Rui</name>
</maintainer>
<longdescription lang="en">
Gemini CLI is a command-line AI workflow tool that connects to your tools,
understands your code and accelerates your workflows. With the Gemini CLI
you can query and edit large codebases, generate new apps from PDFs or
sketches using Gemini's multimodal capabilities, automate operational tasks,
and use tools and MCP servers to connect new capabilities.
</longdescription>
<longdescription lang="zh">
Gemini CLI 是一个命令行 AI 工作流工具,可以连接到您的工具,理解您的代码并
加速您的工作流程。使用 Gemini CLI您可以查询和编辑大型代码库从 PDF 或
草图生成新应用程序,利用 Gemini 的多模态功能,自动化操作任务,并使用工具和
MCP 服务器连接新功能。
</longdescription>
<upstream>
<doc>https://github.com/google-gemini/gemini-cli/blob/HEAD/docs/index.md</doc>
<remote-id type="github">google-gemini/gemini-cli</remote-id>
</upstream>
</pkgmetadata>