mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-06 02:17:34 -08:00
dev-util/claude-code: drop 1.0.30
Signed-off-by: Jay Faulkner <jayf@gentoo.org>
This commit is contained in:
parent
38d43a8dd3
commit
ed6e245636
@ -1,2 +1 @@
|
||||
DIST claude-code-1.0.30.tgz 55958500 BLAKE2B e86ff2c831823194d441bf21f86fe3984ce149c761c417620dbc7dc30ac0fd4e79b629e5851ca4a022aee7bf2c710b07611f43c0cdc1a3490d4163908183533d SHA512 a88b3dd82ab7845c27f7f95906d6bec1625f1a842cadb16e8959b46e4babc062b168957af486ebea161f494fe520a2dc6ef4b282467fb56471150b78e209c585
|
||||
DIST claude-code-1.0.35.tgz 56032230 BLAKE2B e5c00e4a4fd1f994adb8a07850dfa0c1a9ae30c44dd51705106b616ebb17896bad16a812d6c906c0635632d9445074910d8a795ce0efc85ea0c4ccb263183627 SHA512 ad0af4de6a15c5465247d8591875dab63ba4c6680af55a22862546fe59145856fa343c611be11907e8d263682d4ecc49c27135a507222ef38f548fd4c57a384c
|
||||
|
||||
@ -1,56 +0,0 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit edo
|
||||
|
||||
DESCRIPTION="Claude Code - an agentic coding tool by Anthropic"
|
||||
HOMEPAGE="https://www.anthropic.com/claude-code"
|
||||
SRC_URI="https://registry.npmjs.org/@anthropic-ai/claude-code/-/claude-code-${PV}.tgz"
|
||||
S="${WORKDIR}"
|
||||
|
||||
# NOTE(JayF): claude-code is only usable via paid subscription and has a
|
||||
# clickthrough EULA-type license. Please see $HOMEPAGE for
|
||||
# full details.
|
||||
LICENSE="all-rights-reserved"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
QA_PREBUILT="usr/lib64/node_modules/@anthropic-ai/claude-code/vendor/*"
|
||||
RESTRICT="strip"
|
||||
|
||||
RDEPEND="
|
||||
>=net-libs/nodejs-18
|
||||
sys-apps/ripgrep
|
||||
"
|
||||
BDEPEND=">=net-libs/nodejs-18[npm]"
|
||||
|
||||
src_unpack() {
|
||||
# npm installs the tarball directly
|
||||
:
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# Skip, nothing to compile here.
|
||||
:
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local -a my_npm_opts=(
|
||||
--audit false
|
||||
--color false
|
||||
--foreground-scripts
|
||||
--global
|
||||
--offline
|
||||
--omit dev
|
||||
--prefix "${ED}/usr"
|
||||
--progress false
|
||||
--verbose
|
||||
)
|
||||
edo npm "${my_npm_opts[@]}" install "${DISTDIR}/${P}.tgz"
|
||||
|
||||
rm -r "${ED}/usr/lib64/node_modules/@anthropic-ai/claude-code/vendor/ripgrep" || die
|
||||
insinto /etc/claude-code
|
||||
doins "${FILESDIR}/policies.json"
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user