summaryrefslogtreecommitdiff
path: root/dev-util
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/cbindgen/cbindgen-0.29.2.ebuild2
-rw-r--r--dev-util/claude-code/Manifest3
-rw-r--r--dev-util/claude-code/claude-code-2.0.56.ebuild80
-rw-r--r--dev-util/claude-code/claude-code-2.0.58.ebuild (renamed from dev-util/claude-code/claude-code-2.0.55.ebuild)0
4 files changed, 2 insertions, 83 deletions
diff --git a/dev-util/cbindgen/cbindgen-0.29.2.ebuild b/dev-util/cbindgen/cbindgen-0.29.2.ebuild
index 8fad39fcd8cb..319ee930a408 100644
--- a/dev-util/cbindgen/cbindgen-0.29.2.ebuild
+++ b/dev-util/cbindgen/cbindgen-0.29.2.ebuild
@@ -92,7 +92,7 @@ LICENSE+="
|| ( Apache-2.0 Boost-1.0 )
"
SLOT="0"
-KEYWORDS="amd64 arm arm64 ~loong ~ppc ~ppc64 ~riscv x86"
+KEYWORDS="amd64 arm arm64 ~loong ppc ~ppc64 ~riscv x86"
IUSE="test"
# Needs debugging enabled and lots of other problems.
diff --git a/dev-util/claude-code/Manifest b/dev-util/claude-code/Manifest
index ecd2200189e3..ad656bbac298 100644
--- a/dev-util/claude-code/Manifest
+++ b/dev-util/claude-code/Manifest
@@ -1,2 +1 @@
-DIST claude-code-2.0.55.tgz 36634669 BLAKE2B 7660be65d2bcb11845eaa48b2e7f926722ce73eaca9cbaa7f2188acb6db32e870ca59320fad40791acfa7f17571d9e1783532f4e2c0cfc7d8d5916edfcca0d30 SHA512 21563a2762a04cfe418826cb9ae3f790097c8db5df77ac86a17b6f7342f47a2670c4950c6be72e6d453453ca874675643660c08acf8ee0fd342a67ae1b348b5a
-DIST claude-code-2.0.56.tgz 36644570 BLAKE2B 613763086ea02cbe9e9567addd38c915c0cc2d5de3035e600740dc601510e74159310c806b479caf418c02b4508003d6d79ea33ab26b4f5686c51d39b864aa19 SHA512 303f7b01567ce83e8d267518f4aa57986c3f0caeb06aeb1847c21366468bb33df74ebaf0e3cba0d694337b6bd100e4ef85c9dee7ccb68d07d12d0cc354590563
+DIST claude-code-2.0.58.tgz 36651848 BLAKE2B e55328b50ddce619678d12bb764046652d0097bf18043c348ebcc3e9866cb1344372a8ad473540dbc8064212989aeb1a8ee0ed091864e0de500619c8b8dfd672 SHA512 ebf9fe3eb32b53a42e034ad5db7a229892ba47707179f5de04b9f14ee99569b9b3457e6862364b18b21d3f43c24c0eab2ae49e5d48e319dd726f9e41d1c94efb
diff --git a/dev-util/claude-code/claude-code-2.0.56.ebuild b/dev-util/claude-code/claude-code-2.0.56.ebuild
deleted file mode 100644
index 6e3380eb8890..000000000000
--- a/dev-util/claude-code/claude-code-2.0.56.ebuild
+++ /dev/null
@@ -1,80 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-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}/package"
-
-# 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"
-
-IUSE="jetbrains"
-RESTRICT="bindist strip"
-
-RDEPEND="
- >=net-libs/nodejs-18
- sys-apps/ripgrep
-"
-
-src_compile() {
- # Skip, nothing to compile here.
- :
-}
-
-src_install() {
- dodoc README.md LICENSE.md
-
- # We are using a strategy of "install everything that's left"
- # so removing these here will prevent duplicates in /opt/claude-code
- rm -f README.md LICENSE.md package.json || die
- # 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
-
- dodir /opt/bin
- dosym -r /opt/${PN}/cli.js /opt/bin/claude
-
- # https://bugs.gentoo.org/962002 indicates that Claude doesn't use
- # path to find the `rg` binary. Gross. So we symlink it into the place
- # they expect it to be. Thanks to Leo Douglas for the patch.
- if use amd64; then
- dodir /opt/${PN}/vendor/ripgrep/x64-linux
- dosym -r /usr/bin/rg /opt/${PN}/vendor/ripgrep/x64-linux/rg
- elif use arm64; then
- dodir /opt/{$PN}/vendor/ripgrep/arm64-linux
- dosym -r /usr/bin/rg /opt/${PN}/vendor/ripgrep/arm64-linux/rg
- fi
-
- insinto /etc/${PN}
- doins "${FILESDIR}/managed-settings.json"
-
- # nodejs defaults to disabling deprecation warnings when running code
- # from any path containing a node_modules directory. Since we're installing
- # outside of the realm of npm, explicitly pass an option to disable
- # deprecation warnings so it behaves the same as it does if installed via
- # npm. It's proprietary; not like Gentoo users can fix the warnings anyway.
- sed -i 's/env node/env -S node --no-deprecation/' "${ED}/opt/claude-code/cli.js"
-}
-
-pkg_preinst() {
- if test -f "${ROOT}/etc/${PN}/policies.json"; then
- mv "${ROOT}/etc/${PN}/policies.json" "${ROOT}/etc/${PN}/managed-settings.json"
- fi
-}
diff --git a/dev-util/claude-code/claude-code-2.0.55.ebuild b/dev-util/claude-code/claude-code-2.0.58.ebuild
index 6e3380eb8890..6e3380eb8890 100644
--- a/dev-util/claude-code/claude-code-2.0.55.ebuild
+++ b/dev-util/claude-code/claude-code-2.0.58.ebuild