mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-18 02:59:07 -07:00
dev-util/claude-code: drop 1.0.18
Signed-off-by: Jay Faulkner <jayf@gentoo.org>
This commit is contained in:
@@ -1,2 +1,2 @@
|
||||
DIST claude-code-1.0.18.tgz 55917243 BLAKE2B 13d5f866db1f43b162be472a92198fbc97757ea9cf44d0849c36e5e4591a5d5af119258d93a33f18893784cb2b0b55a224142bad05b1443fac06705df67f8463 SHA512 5178370e44fae0855bb5d1f2aea525cb9fc81c60b5278317c8d3fa478cb271e3ee70d2b9f55895a6b3072a458c76109e898331f03900e9fadbb814d860a6afc1
|
||||
DIST claude-code-1.0.21.tgz 55923241 BLAKE2B 2b3a19807a8535fed60b48e44813cbff6247186f1573035ce135aa800ec27337d25a871e7beff125a1ecc047d6470db7fb0703effb48dbc9546747b23f705b9b SHA512 220f8e3d297b7bbed226b1368c1f29e2a9e7c92ffe88622db6d231874a31919237a922aefcadd9ef3c7caf86130c2a3b5c9b2862757430db0305c5d66bf60a52
|
||||
DIST claude-code-1.0.22.tgz 55925069 BLAKE2B cafc7257dd1baae4e9fb9d3f16063cb26a7f4caac0856f99d2f478b15e9268345fc69eae12ef498dfd7b45afe40eaedf2f325dc60aa058afff21d9c352226b08 SHA512 bea7c31eae0a36d533522c1db25b3cfb6693ac2d519fdea21fec8ec82ac18c78c9c288f353aa6ddcc38032424731e12b29e1aabdef88ec733a985c343a0660ab
|
||||
|
||||
@@ -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