mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-10-12 17:51:11 -04:00
dev-util/gemini-cli: add 0.62.0
Signed-off-by: Huang Rui <vowstar@gmail.com>
This commit is contained in:
2 files changed
+34
No files matched your search
@@ -1,2 +1,3 @@
|
||||
DIST gemini-cli-0.60.0.zip 21097612 BLAKE2B c09e62107452fb6e73ac9f4cc58f5e63552824e233f4f38955387ef6a4036715db02a2edb060e6a5c0c66a0427d7854e11328cb60ae5326161dcfda75c26ca93 SHA512 6254c42d3e8949501256c4cc9911b25c8e0760da21c0b219e9462f3d33ee822d000199c4e1620d1d79319daf37878b1e762f95aef7673eabf19cc0c92bbb5949
|
||||
DIST gemini-cli-0.61.0.zip 21122284 BLAKE2B be7da2702f75527455f1792137f472a4068a18e928a1138dc796a7e11899a3af0fbde60c4c255067ad77a63695c93409fae07585433d56094f42bd38c612f400 SHA512 806bf1fa1a2e0c6d3d971a0bd6e3e15e7af35a0f8ac7c93a3830e8852a83b2f290f017992e0d2cad3ba919f9045ed13b9be309acf75686873cb7d4c489eada43
|
||||
DIST gemini-cli-0.62.0.zip 21137054 BLAKE2B d8c2c72f5a223585c94c182655b60adaa9ad72569460d4aba3ae7b528419f3df70830194b7eb0ede078411cc292490a06ae3dcd57275cd4cbdcaeb4e46590f6d SHA512 6569fa1c86a90cb6511bcc2e51684a62ba64fcd81f387b8f55290c326f80109f9406c8a30dd4e418e01471117010e3ab59cce749df4ff94ca061c2f3120d72ec
|
||||
@@ -0,0 +1,33 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
MY_PV="${PV/_pre/-preview}"
|
||||
MY_PV="${MY_PV/preview[0-9]*/preview.${MY_PV##*preview}}"
|
||||
|
||||
inherit wrapper
|
||||
|
||||
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/v${MY_PV}/gemini-cli-bundle.zip -> ${P}.zip"
|
||||
S="${WORKDIR}"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="-* ~amd64 ~arm64"
|
||||
|
||||
BDEPEND="app-arch/unzip"
|
||||
RDEPEND="
|
||||
net-libs/nodejs
|
||||
"
|
||||
|
||||
src_install() {
|
||||
insinto /usr/lib/${PN}
|
||||
doins -r .
|
||||
|
||||
fperms +x /usr/lib/${PN}/gemini.js
|
||||
# Use a wrapper instead of a symlink so that Node.js ESM relative
|
||||
# imports resolve from the real install path, not the /usr/bin symlink.
|
||||
make_wrapper gemini "node /usr/lib/${PN}/gemini.js"
|
||||
}
|
||||
Reference in new issue
Block a user