mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-17 02:39:08 -07:00
dev-util/claude-code: drop 1.0.11
Signed-off-by: Jay Faulkner <jayf@gentoo.org>
This commit is contained in:
@@ -1,2 +1,2 @@
|
||||
DIST claude-code-1.0.11.tgz 55912657 BLAKE2B 02af5a63e084abce706ebf7fa5fc8f33fadbea6fbe40fac6f6e815ed077b17c15a31064f05e266a90dae96a21cb7b46bd85067292fa69ab012b1845b6e30590e SHA512 7b361f912c428908d1789a012646b24e9ce159158a99f132e9189ad9376e7c198347b2a3fe23f8218d7433924e4e007ca70ed77e36298a3827a268856665516e
|
||||
DIST claude-code-1.0.17.tgz 55914403 BLAKE2B b977b3e1b408586be852d675b0b3ea08735f92b765248abc7702748ac1296e339d88cb2177cc95f9fcccc672f5893a9b36dd6fde95a875baafe00e71f6e14012 SHA512 f8c5ffa4a38a5c6d872d287b5892208882ddba6a9181c391517d224909807e7f941281d2612b855995ae581a62c5a6bc5b8b624c20b4eae378a60ce29c253a8f
|
||||
DIST claude-code-1.0.18.tgz 55917243 BLAKE2B 13d5f866db1f43b162be472a92198fbc97757ea9cf44d0849c36e5e4591a5d5af119258d93a33f18893784cb2b0b55a224142bad05b1443fac06705df67f8463 SHA512 5178370e44fae0855bb5d1f2aea525cb9fc81c60b5278317c8d3fa478cb271e3ee70d2b9f55895a6b3072a458c76109e898331f03900e9fadbb814d860a6afc1
|
||||
|
||||
@@ -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