dev-util/claude-code: add 2.0.61, drop 2.0.58

Note that claude-code no longer ships the jetbrains ide plugin in the
npm package, so it's been removed. I've removed the related use flags
and added an elog informing users.

Signed-off-by: Jay Faulkner <jayf@gentoo.org>
This commit is contained in:
Jay Faulkner
2025-12-08 08:38:11 -08:00
parent 81f7e41d88
commit 8bf592f374
3 changed files with 6 additions and 12 deletions

View File

@@ -1 +1 @@
DIST claude-code-2.0.58.tgz 36651848 BLAKE2B e55328b50ddce619678d12bb764046652d0097bf18043c348ebcc3e9866cb1344372a8ad473540dbc8064212989aeb1a8ee0ed091864e0de500619c8b8dfd672 SHA512 ebf9fe3eb32b53a42e034ad5db7a229892ba47707179f5de04b9f14ee99569b9b3457e6862364b18b21d3f43c24c0eab2ae49e5d48e319dd726f9e41d1c94efb
DIST claude-code-2.0.61.tgz 25360237 BLAKE2B 4255fbd17d2ed2a070a62e4c10b5b9edc676fe533380f7a7d6a9f128dbe652f251d7f11d4f12feb79bf69cc29b32eb475e1c650f6bfe46cf02f55a8a1cc79e79 SHA512 dc791bd49e89e76bb291c1ff5279e691816405bbd5113d07bc5e8adc0e09d9a6567732e8f5a8096deafd00ce7278fa689a98e6c0369c8013029ff4a8258b2735

View File

@@ -15,7 +15,6 @@ LICENSE="all-rights-reserved"
SLOT="0"
KEYWORDS="amd64"
IUSE="jetbrains"
RESTRICT="bindist strip"
RDEPEND="
@@ -37,13 +36,6 @@ src_install() {
# remove vendored ripgrep
rm -rf vendor/ripgrep || die
# Install extentions these under /opt, and let users configure their
# IDEs appropriately if they have opted-into having them installed.
# Normally I wouldn't allow a few megs of data to be USE-flag-toggled,
# but removing these cuts the already-small package size in half, so
# it seems worth it.
use jetbrains || rm -r vendor/${PN}-jetbrains-plugin || die
insinto /opt/${PN}
doins -r ./*
fperms a+x opt/claude-code/cli.js
@@ -78,3 +70,8 @@ pkg_preinst() {
mv "${ROOT}/etc/${PN}/policies.json" "${ROOT}/etc/${PN}/managed-settings.json"
fi
}
pkg_postinst() {
elog "As of claude-code 2.0.61, the jetbrains plugin is no longer bundled."
elog "Users of the jetbrains IDE plugin should source it elsewhere."
}

View File

@@ -9,9 +9,6 @@
<longdescription>
Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster through natural language commands.
</longdescription>
<use>
<flag name="jetbrains">Install Jetbrains IDE extension to /opt/claude-code. Does not automatically load extension.</flag>
</use>
<upstream>
<doc>https://docs.anthropic.com/en/docs/claude-code/overview</doc>
<remote-id type="github">anthropics/claude-code</remote-id>