dev-util/claude-code: drop 1.0.43

Signed-off-by: Jay Faulkner <jayf@gentoo.org>
This commit is contained in:
Jay Faulkner
2025-08-07 13:05:40 -07:00
parent 4202b29af6
commit ef95cfb39f
2 changed files with 1 additions and 57 deletions

View File

@@ -1,2 +1,2 @@
DIST claude-code-1.0.43.tgz 56057308 BLAKE2B c906a8c617774860bffb5f97c586b763ccae3daebb691bdfda979aacc9cbf1a22726576b159a593785b8fe8bae2086555f29aa9dc4d0a2f1cc18f20d518b4960 SHA512 567b912b8b3f47d6514e4c07e20523b29e12881417abb634078eceb607972196154189214d6f26f84d088ac1735d7148c9342b1344a87460a9be02e1018cc60a
DIST claude-code-1.0.51.tgz 56074513 BLAKE2B 26010a7b43ec14cd5957ae1d828dc937f7094d16c9099e271ab8404486f074aaccc8a3cd9d42652378e2629adb7c366a91ed08335fb22cabf2535c49ffcf6f08 SHA512 6a79c17387b3ee70cf6e9f9d8ba6e32101a201d99d5659f8937800622a329b6331384977a72e6ced2b2847e74d4a67e07c81d474a0536ed5e75c3e6b9263b968
DIST claude-code-1.0.70.tgz 54839286 BLAKE2B 2e6d69a499460a1739526662314bab3d6827bb18c5863d8c2b72a57120df333e0040be8c0bfdd309bdc6a39b5848757f46ba52363374ff5c923d06f899f3e1c2 SHA512 809fdb753fd743f869e4428cd10a0e5a3fde2a62b7c2fb354e8b532ead6e9ea6a1881e81f84010791cbfbafc6fd946bd9c8f29e41a20c3c857075b949801dbf8

View File

@@ -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"
}