mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 17:09:10 -07:00
dev-util/claude-code: drop 1.0.77
Signed-off-by: Jay Faulkner <jayf@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST claude-code-1.0.77.tgz 54842000 BLAKE2B 5bde7c8ad005d61d1e4a803181d14fde28e61e89198c41aceb11921b14fce2fe04d07738f1030d005ee5c1801f650bfeb3b83ccb08cc4da05a4a9889776d02e3 SHA512 3f88d0f5b77d0c47204145dbf78821f21edb9dca27992daa137786507cb13408bc7e1483a80d37f1f99db82299ff4c025463da95d62814868edf933f0a146d18
|
||||
DIST claude-code-1.0.81.tgz 54857098 BLAKE2B 6a6f65cf3dbe6dc7a9359a8d864b258f2f2aa49e83311b112b34727d7feb28c985f60005fa46dbcd7aab5e33d805f97766a50e57644c8a05f6f3e0aebdf1dd1f SHA512 922460021436beea1d9070c0663b91d1a68d72197d4992ead10178e892ac3b0d089357b210dd2d76c17ef8057ffd46f58f8892d5f188ad4d74b84edaa857ca63
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
Reference in New Issue
Block a user