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 8CE0E158074 for ; Thu, 26 Jun 2025 20:30:15 +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 73B25340F69 for ; Thu, 26 Jun 2025 20:30:15 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 808B811055B; Thu, 26 Jun 2025 20:30:12 +0000 (UTC) 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) server-digest SHA256) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 7259D11055B for ; Thu, 26 Jun 2025 20:30:12 +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 2C1C9340E2B for ; Thu, 26 Jun 2025 20:30:12 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8CC512A9C for ; Thu, 26 Jun 2025 20:30:10 +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: <1750969791.723bd40c191e9cacba276198b32570832bc555a1.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.35.ebuild X-VCS-Directories: dev-util/claude-code/ X-VCS-Committer: jayf X-VCS-Committer-Name: Jay Faulkner X-VCS-Revision: 723bd40c191e9cacba276198b32570832bc555a1 X-VCS-Branch: master Date: Thu, 26 Jun 2025 20:30:10 +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: 2bf76ea1-049a-4614-b427-8d2b391cde70 X-Archives-Hash: 9412f6524dafb6c55e4e94d6a5e6eaa3 commit: 723bd40c191e9cacba276198b32570832bc555a1 Author: Jay Faulkner gentoo org> AuthorDate: Thu Jun 26 20:29:51 2025 +0000 Commit: Jay Faulkner gentoo org> CommitDate: Thu Jun 26 20:29:51 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=723bd40c dev-util/claude-code: add 1.0.35 Signed-off-by: Jay Faulkner gentoo.org> dev-util/claude-code/Manifest | 1 + dev-util/claude-code/claude-code-1.0.35.ebuild | 56 ++++++++++++++++++++++++++ 2 files changed, 57 insertions(+) diff --git a/dev-util/claude-code/Manifest b/dev-util/claude-code/Manifest index b793a773f3c2..514cfcda150b 100644 --- a/dev-util/claude-code/Manifest +++ b/dev-util/claude-code/Manifest @@ -1 +1,2 @@ DIST claude-code-1.0.30.tgz 55958500 BLAKE2B e86ff2c831823194d441bf21f86fe3984ce149c761c417620dbc7dc30ac0fd4e79b629e5851ca4a022aee7bf2c710b07611f43c0cdc1a3490d4163908183533d SHA512 a88b3dd82ab7845c27f7f95906d6bec1625f1a842cadb16e8959b46e4babc062b168957af486ebea161f494fe520a2dc6ef4b282467fb56471150b78e209c585 +DIST claude-code-1.0.35.tgz 56032230 BLAKE2B e5c00e4a4fd1f994adb8a07850dfa0c1a9ae30c44dd51705106b616ebb17896bad16a812d6c906c0635632d9445074910d8a795ce0efc85ea0c4ccb263183627 SHA512 ad0af4de6a15c5465247d8591875dab63ba4c6680af55a22862546fe59145856fa343c611be11907e8d263682d4ecc49c27135a507222ef38f548fd4c57a384c diff --git a/dev-util/claude-code/claude-code-1.0.35.ebuild b/dev-util/claude-code/claude-code-1.0.35.ebuild new file mode 100644 index 000000000000..01d2191addbc --- /dev/null +++ b/dev-util/claude-code/claude-code-1.0.35.ebuild @@ -0,0 +1,56 @@ +# 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" +}