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 CB74615827B for ; Fri, 15 Aug 2025 17:44:13 +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 B1B9B34092E for ; Fri, 15 Aug 2025 17:44:13 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id AA32E110280; Fri, 15 Aug 2025 17:44:12 +0000 (UTC) Received: from smtp.gentoo.org (mail.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 9A096110280 for ; Fri, 15 Aug 2025 17:44: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 513A5340831 for ; Fri, 15 Aug 2025 17:44:12 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 892663351 for ; Fri, 15 Aug 2025 17:44: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: <1755279496.e50e5019d87fa2f9f0ad54cd24c8371f9d6cb4b6.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.81.ebuild X-VCS-Directories: dev-util/claude-code/ X-VCS-Committer: jayf X-VCS-Committer-Name: Jay Faulkner X-VCS-Revision: e50e5019d87fa2f9f0ad54cd24c8371f9d6cb4b6 X-VCS-Branch: master Date: Fri, 15 Aug 2025 17:44: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: b4c711c2-8e55-4b2f-b51f-bc4de0e0a092 X-Archives-Hash: 529c01257b43ca1e2626995cd1f7a2ba commit: e50e5019d87fa2f9f0ad54cd24c8371f9d6cb4b6 Author: Jay Faulkner gentoo org> AuthorDate: Fri Aug 15 17:38:16 2025 +0000 Commit: Jay Faulkner gentoo org> CommitDate: Fri Aug 15 17:38:16 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e50e5019 dev-util/claude-code: add 1.0.81 Signed-off-by: Jay Faulkner gentoo.org> dev-util/claude-code/Manifest | 1 + dev-util/claude-code/claude-code-1.0.81.ebuild | 56 ++++++++++++++++++++++++++ 2 files changed, 57 insertions(+) diff --git a/dev-util/claude-code/Manifest b/dev-util/claude-code/Manifest index c554ddc14c95..44f720bce401 100644 --- a/dev-util/claude-code/Manifest +++ b/dev-util/claude-code/Manifest @@ -1 +1,2 @@ DIST claude-code-1.0.77.tgz 54842000 BLAKE2B 5bde7c8ad005d61d1e4a803181d14fde28e61e89198c41aceb11921b14fce2fe04d07738f1030d005ee5c1801f650bfeb3b83ccb08cc4da05a4a9889776d02e3 SHA512 3f88d0f5b77d0c47204145dbf78821f21edb9dca27992daa137786507cb13408bc7e1483a80d37f1f99db82299ff4c025463da95d62814868edf933f0a146d18 +DIST claude-code-1.0.81.tgz 54857098 BLAKE2B 6a6f65cf3dbe6dc7a9359a8d864b258f2f2aa49e83311b112b34727d7feb28c985f60005fa46dbcd7aab5e33d805f97766a50e57644c8a05f6f3e0aebdf1dd1f SHA512 922460021436beea1d9070c0663b91d1a68d72197d4992ead10178e892ac3b0d089357b210dd2d76c17ef8057ffd46f58f8892d5f188ad4d74b84edaa857ca63 diff --git a/dev-util/claude-code/claude-code-1.0.81.ebuild b/dev-util/claude-code/claude-code-1.0.81.ebuild new file mode 100644 index 000000000000..dbc6bd6becb3 --- /dev/null +++ b/dev-util/claude-code/claude-code-1.0.81.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" +}