mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-21 10:37:22 -08:00
dev-util/claude-code: drop 1.0.81
Signed-off-by: Jay Faulkner <jayf@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST claude-code-1.0.81.tgz 54857098 BLAKE2B 6a6f65cf3dbe6dc7a9359a8d864b258f2f2aa49e83311b112b34727d7feb28c985f60005fa46dbcd7aab5e33d805f97766a50e57644c8a05f6f3e0aebdf1dd1f SHA512 922460021436beea1d9070c0663b91d1a68d72197d4992ead10178e892ac3b0d089357b210dd2d76c17ef8057ffd46f58f8892d5f188ad4d74b84edaa857ca63
|
||||
DIST claude-code-1.0.83.tgz 54857444 BLAKE2B d5561cc43ca911c7fde56b333357fafbe960ccc4109738e24acf9f52bacfda33a018c58deb09175e0a5a208a047f5a5c4d22dfb8f4a3fc1146da5a2a802fe227 SHA512 326fbcf2484f6e0f5e0146eb5868ab8a059e0b8c6eda11f49ecdfe9677ca597ddef11243395f6f9c21e3cdb108557befbf0d5899e20eed3c6c164e7f315ba118
|
||||
|
||||
@@ -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="bindist 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"
|
||||
}
|
||||
Reference in New Issue
Block a user