public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Jay Faulkner" <jayf@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/claude-code/
Date: Thu, 12 Jun 2025 18:54:04 +0000 (UTC)	[thread overview]
Message-ID: <1749754419.1554e91708efebb5784a08229fd64b4fcfdf33e7.jayf@gentoo> (raw)

commit:     1554e91708efebb5784a08229fd64b4fcfdf33e7
Author:     Jay Faulkner <jayf <AT> gentoo <DOT> org>
AuthorDate: Thu Jun 12 18:50:50 2025 +0000
Commit:     Jay Faulkner <jayf <AT> gentoo <DOT> org>
CommitDate: Thu Jun 12 18:53:39 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1554e917

dev-util/claude-code: add 1.0.21

Signed-off-by: Jay Faulkner <jayf <AT> gentoo.org>

 dev-util/claude-code/Manifest                  |  1 +
 dev-util/claude-code/claude-code-1.0.21.ebuild | 56 ++++++++++++++++++++++++++
 2 files changed, 57 insertions(+)

diff --git a/dev-util/claude-code/Manifest b/dev-util/claude-code/Manifest
index 5baeeda7ad3e..2065c1168892 100644
--- a/dev-util/claude-code/Manifest
+++ b/dev-util/claude-code/Manifest
@@ -1,2 +1,3 @@
 DIST claude-code-1.0.17.tgz 55914403 BLAKE2B b977b3e1b408586be852d675b0b3ea08735f92b765248abc7702748ac1296e339d88cb2177cc95f9fcccc672f5893a9b36dd6fde95a875baafe00e71f6e14012 SHA512 f8c5ffa4a38a5c6d872d287b5892208882ddba6a9181c391517d224909807e7f941281d2612b855995ae581a62c5a6bc5b8b624c20b4eae378a60ce29c253a8f
 DIST claude-code-1.0.18.tgz 55917243 BLAKE2B 13d5f866db1f43b162be472a92198fbc97757ea9cf44d0849c36e5e4591a5d5af119258d93a33f18893784cb2b0b55a224142bad05b1443fac06705df67f8463 SHA512 5178370e44fae0855bb5d1f2aea525cb9fc81c60b5278317c8d3fa478cb271e3ee70d2b9f55895a6b3072a458c76109e898331f03900e9fadbb814d860a6afc1
+DIST claude-code-1.0.21.tgz 55923241 BLAKE2B 2b3a19807a8535fed60b48e44813cbff6247186f1573035ce135aa800ec27337d25a871e7beff125a1ecc047d6470db7fb0703effb48dbc9546747b23f705b9b SHA512 220f8e3d297b7bbed226b1368c1f29e2a9e7c92ffe88622db6d231874a31919237a922aefcadd9ef3c7caf86130c2a3b5c9b2862757430db0305c5d66bf60a52

diff --git a/dev-util/claude-code/claude-code-1.0.21.ebuild b/dev-util/claude-code/claude-code-1.0.21.ebuild
new file mode 100644
index 000000000000..01d2191addbc
--- /dev/null
+++ b/dev-util/claude-code/claude-code-1.0.21.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"
+}


             reply	other threads:[~2025-06-12 18:54 UTC|newest]

Thread overview: 74+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-06-12 18:54 Jay Faulkner [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-10-21 22:38 [gentoo-commits] repo/gentoo:master commit in: dev-util/claude-code/ Jay Faulkner
2025-10-21 16:41 Jay Faulkner
2025-10-13 16:47 Jay Faulkner
2025-10-08 19:40 Jay Faulkner
2025-10-08 19:40 Jay Faulkner
2025-10-05 19:56 Jay Faulkner
2025-10-03 18:18 Jay Faulkner
2025-09-30 19:59 Jay Faulkner
2025-09-29 21:14 Jay Faulkner
2025-09-24 22:54 Jay Faulkner
2025-09-19 16:46 Jay Faulkner
2025-09-17 16:00 Jay Faulkner
2025-09-16 15:14 Jay Faulkner
2025-09-15 17:07 Jay Faulkner
2025-09-12 18:38 Jay Faulkner
2025-09-11 15:33 Jay Faulkner
2025-09-10 15:06 Jay Faulkner
2025-09-09 22:08 Jay Faulkner
2025-09-08 14:39 Jay Faulkner
2025-09-05 18:34 Jay Faulkner
2025-09-04 17:40 Jay Faulkner
2025-09-03 22:07 Jay Faulkner
2025-09-02 17:16 Jay Faulkner
2025-08-28 15:51 Jay Faulkner
2025-08-26 15:20 Jay Faulkner
2025-08-26 15:20 Jay Faulkner
2025-08-25 15:48 Jay Faulkner
2025-08-25 15:48 Jay Faulkner
2025-08-25 15:48 Jay Faulkner
2025-08-23  3:24 Jay Faulkner
2025-08-23  3:24 Jay Faulkner
2025-08-22 16:32 Jay Faulkner
2025-08-22 16:32 Jay Faulkner
2025-08-20 14:57 Jay Faulkner
2025-08-20 14:57 Jay Faulkner
2025-08-17  4:22 Jay Faulkner
2025-08-17  1:03 Jay Faulkner
2025-08-16 23:34 Jay Faulkner
2025-08-16 23:34 Jay Faulkner
2025-08-15 17:44 Jay Faulkner
2025-08-15 17:44 Jay Faulkner
2025-08-12 22:44 Jay Faulkner
2025-08-12 22:44 Jay Faulkner
2025-08-11 16:35 Jay Faulkner
2025-08-11 16:35 Jay Faulkner
2025-08-07 20:06 Jay Faulkner
2025-08-07 20:06 Jay Faulkner
2025-07-12 22:12 Jay Faulkner
2025-07-06 20:00 Jay Faulkner
2025-07-06 20:00 Jay Faulkner
2025-07-06 20:00 Jay Faulkner
2025-06-28 17:17 Jay Faulkner
2025-06-26 20:30 Jay Faulkner
2025-06-26 20:30 Jay Faulkner
2025-06-20 19:52 Jay Faulkner
2025-06-20 19:52 Jay Faulkner
2025-06-19  3:23 Jay Faulkner
2025-06-19  3:22 Jay Faulkner
2025-06-18 21:58 Jay Faulkner
2025-06-18 21:58 Jay Faulkner
2025-06-18 21:58 Jay Faulkner
2025-06-17 22:33 Jay Faulkner
2025-06-17 15:55 Jay Faulkner
2025-06-17 15:55 Jay Faulkner
2025-06-13 21:00 Jay Faulkner
2025-06-13 21:00 Jay Faulkner
2025-06-12 18:54 Jay Faulkner
2025-06-10 20:18 Jay Faulkner
2025-06-10 20:18 Jay Faulkner
2025-06-09 17:01 Jay Faulkner
2025-06-09 17:01 Jay Faulkner
2025-06-04 18:40 Jay Faulkner
2025-06-04 18:40 Jay Faulkner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1749754419.1554e91708efebb5784a08229fd64b4fcfdf33e7.jayf@gentoo \
    --to=jayf@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox