dev-util/claude-code: drop 1.0.10

Signed-off-by: Jay Faulkner <jayf@gentoo.org>
This commit is contained in:
Jay Faulkner
2025-06-09 10:01:32 -07:00
parent 83d38b8bcc
commit 73e9c280eb
2 changed files with 1 additions and 57 deletions
+1 -1
View File
@@ -1,2 +1,2 @@
DIST claude-code-1.0.10.tgz 55904599 BLAKE2B 616e97f2d214352dc8baf0a4f3dfed6fc30bba31cfc45383b5ccf6780b9102660e0f370fbe998939c6160c81ac16729b8a3fd01d0d925c10bc047857c67b0303 SHA512 310e3e6c3c2369fe41cc096e8d1132870249b81b609db348ec362211a441f817a8331a2f4582d05f2a3dfd62be348868bdff2b2503573fdabafb01eb37506967
DIST claude-code-1.0.11.tgz 55912657 BLAKE2B 02af5a63e084abce706ebf7fa5fc8f33fadbea6fbe40fac6f6e815ed077b17c15a31064f05e266a90dae96a21cb7b46bd85067292fa69ab012b1845b6e30590e SHA512 7b361f912c428908d1789a012646b24e9ce159158a99f132e9189ad9376e7c198347b2a3fe23f8218d7433924e4e007ca70ed77e36298a3827a268856665516e
DIST claude-code-1.0.17.tgz 55914403 BLAKE2B b977b3e1b408586be852d675b0b3ea08735f92b765248abc7702748ac1296e339d88cb2177cc95f9fcccc672f5893a9b36dd6fde95a875baafe00e71f6e14012 SHA512 f8c5ffa4a38a5c6d872d287b5892208882ddba6a9181c391517d224909807e7f941281d2612b855995ae581a62c5a6bc5b8b624c20b4eae378a60ce29c253a8f
@@ -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"
}