From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 75F2315827B for ; Fri, 22 Aug 2025 16:32:14 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 600D1340C57 for ; Fri, 22 Aug 2025 16:32:14 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 5B6261102F8; Fri, 22 Aug 2025 16:32:13 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 4FA161102F8 for ; Fri, 22 Aug 2025 16:32:13 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 088F5340C40 for ; Fri, 22 Aug 2025 16:32:13 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4D63E261E for ; Fri, 22 Aug 2025 16:32:11 +0000 (UTC) From: "Jay Faulkner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jay Faulkner" Message-ID: <1755880311.c93b57a570f6a99801b4a431683733794172bf2c.jayf@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/claude-code/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/claude-code/Manifest dev-util/claude-code/claude-code-1.0.83-r1.ebuild dev-util/claude-code/claude-code-1.0.83.ebuild X-VCS-Directories: dev-util/claude-code/ X-VCS-Committer: jayf X-VCS-Committer-Name: Jay Faulkner X-VCS-Revision: c93b57a570f6a99801b4a431683733794172bf2c X-VCS-Branch: master Date: Fri, 22 Aug 2025 16:32:11 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 92090088-a0b3-4840-8a1f-49773ba1976e X-Archives-Hash: 84700d8062e15af15168d3b2e56c0552 commit: c93b57a570f6a99801b4a431683733794172bf2c Author: Jay Faulkner gentoo org> AuthorDate: Fri Aug 22 16:28:02 2025 +0000 Commit: Jay Faulkner gentoo org> CommitDate: Fri Aug 22 16:31:51 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c93b57a5 dev-util/claude-code: drop 1.0.83, 1.0.83-r1 Signed-off-by: Jay Faulkner gentoo.org> dev-util/claude-code/Manifest | 1 - dev-util/claude-code/claude-code-1.0.83-r1.ebuild | 64 ----------------------- dev-util/claude-code/claude-code-1.0.83.ebuild | 56 -------------------- 3 files changed, 121 deletions(-) diff --git a/dev-util/claude-code/Manifest b/dev-util/claude-code/Manifest index e5fa90263467..6f856b5c4cd5 100644 --- a/dev-util/claude-code/Manifest +++ b/dev-util/claude-code/Manifest @@ -1,2 +1 @@ -DIST claude-code-1.0.83.tgz 54857444 BLAKE2B d5561cc43ca911c7fde56b333357fafbe960ccc4109738e24acf9f52bacfda33a018c58deb09175e0a5a208a047f5a5c4d22dfb8f4a3fc1146da5a2a802fe227 SHA512 326fbcf2484f6e0f5e0146eb5868ab8a059e0b8c6eda11f49ecdfe9677ca597ddef11243395f6f9c21e3cdb108557befbf0d5899e20eed3c6c164e7f315ba118 DIST claude-code-1.0.85.tgz 35955799 BLAKE2B 9c7dc6f93440917e1b9a6b5a73fb42ad10d52af2741dee06960f096c85b90d93f6a7eb9d238f057942f5e994d8127982dcb0e1fccda551ed63c708a718bbffb4 SHA512 aef2c61929c740b248ddd3fb0bf7773abe4b42f80311a7b9c2eacc1b816cf68babcedfa4f1803a5801deb8999252aee8ed9d9f6536a88dc33754e2f3501125ef diff --git a/dev-util/claude-code/claude-code-1.0.83-r1.ebuild b/dev-util/claude-code/claude-code-1.0.83-r1.ebuild deleted file mode 100644 index d61630d430fd..000000000000 --- a/dev-util/claude-code/claude-code-1.0.83-r1.ebuild +++ /dev/null @@ -1,64 +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="" - -IUSE="jetbrains vscode" -RESTRICT="bindist strip" - -RDEPEND=" - net-libs/nodejs - 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 - use vscode || rm -r vendor/${PN}.vsix || 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 - - insinto /etc/${PN} - doins "${FILESDIR}/policies.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" -} diff --git a/dev-util/claude-code/claude-code-1.0.83.ebuild b/dev-util/claude-code/claude-code-1.0.83.ebuild deleted file mode 100644 index be4d7d4c5cec..000000000000 --- a/dev-util/claude-code/claude-code-1.0.83.ebuild +++ /dev/null @@ -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="bindist 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" -}