From b5d105eee957f8af4653cdfee547cabd2bd5860e Mon Sep 17 00:00:00 2001 From: Florian Albrechtskirchinger Date: Sun, 9 Aug 2026 14:37:54 +0200 Subject: [PATCH] dev-util/grok-build: drop 0.2.109 Signed-off-by: Florian Albrechtskirchinger --- dev-util/grok-build/Manifest | 2 - dev-util/grok-build/grok-build-0.2.109.ebuild | 112 ------------------ 2 files changed, 114 deletions(-) delete mode 100644 dev-util/grok-build/grok-build-0.2.109.ebuild diff --git a/dev-util/grok-build/Manifest b/dev-util/grok-build/Manifest index e7ea44b4dd..3f65218f5a 100644 --- a/dev-util/grok-build/Manifest +++ b/dev-util/grok-build/Manifest @@ -1,6 +1,4 @@ DIST async-openai-95b52ebdedf42143083cf3d6f0e0be7c84e9c808.gh.tar.gz 28205999 BLAKE2B efc04b410749efc8f6e607e8f0dc5162070c47d7c8b61317185fe638f66b6441f08e6d72b5f8237e9ea448c3b750dba4222dab1d092de5f561a0d36478886eda SHA512 9ce341a035dd11070c7b24e03ab0ad0e21f8e49426626f84e22eac716054c47c01ef7b84147231908c999bee46af54007772c0fd53759f68846c752d3dd28652 -DIST grok-build-0.2.109-crates.tar.xz 91699100 BLAKE2B 24d8caec52c512560e94e4c9fed7109090ec4d9624d07a2f4b9d0a726e69f0a8955223d9ce7831977e83d9436491c9c3ec879c14fb6e2a0bd2766abd0aa804fa SHA512 4800b1aff456206a7ea6cb853303952435a8686d019597768600013fedf128bb0940db6a0113c7e184ed7717c5f97523985fa80a69707a2c1e28e9bcdd4c39ca -DIST grok-build-0.2.109.gh.tar.gz 12635136 BLAKE2B db1e19c476a2e7efc501ad87e4369c74f59569db2149242a10f7d0e1e2b6c22fb39b6247b9dc02c99a57adc3915df4d7416a70b5b121903e30903c30bcc8982e SHA512 052b06a79dd3321a72716fb2bb5f9c4287720b03e2254dd202a545897f8cfd9287d15dec2d0ca3a3298fa16ccbeb4b17f02a2469693071c18bd5421aa13dd03a DIST grok-build-0.2.111-crates.tar.xz 90346368 BLAKE2B 2f6bc0c15318cf4783fb6d1e72db9772418d70e929fca173f8e42aeb531db43b809c73e2c94148e91f289c736cca1f92c89776006a1d0f21b2fa85f0bb48918c SHA512 3f910aa80c7faed3a229b66210c28f3d8aa59b8b577e216e21149574f37b88caffc7bfa684e66ef8927c230f55f67e34a131d8877531571cd5211f50bbb08932 DIST grok-build-0.2.111.gh.tar.gz 12900201 BLAKE2B e84292eb188c07aeb3302472baed204a4774a14fa8e8144a210705052682ffeba5711a38c612d1925606ff340b5c7c2d0bdc428e68395f364be404746f2afdc2 SHA512 c31567ea8aa54ea3d08a254571d7e314454903b227fdff362ee4eeced3e8b87a3f26957541fc6640ca879f8cb50e17f4926092d9d7fc1a23bdbb73ce13975479 DIST grok-build-1.0.0-crates.tar.xz 91686332 BLAKE2B 316dc33207b5c883d2a524ca61add3274807d1039923673db51d3ed7593ae6150f9bac3eba83d2f1bb852fe14b81be0c7b98e11ab7c2fbae2a94bb2f2c0e1d96 SHA512 de915725d8ba4adfab4c58e027d44bac5fc46f6ba64050d8d81df2a5a15ead361fca2be406a2f47dd7b2d388644e5bc55486096f416fc07ba47ee707e071654d diff --git a/dev-util/grok-build/grok-build-0.2.109.ebuild b/dev-util/grok-build/grok-build-0.2.109.ebuild deleted file mode 100644 index 5fa5094b15..0000000000 --- a/dev-util/grok-build/grok-build-0.2.109.ebuild +++ /dev/null @@ -1,112 +0,0 @@ -# Copyright 2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -# Autogenerated by pycargoebuild 0.16.0 - -EAPI=8 - -RUST_MIN_VER="1.92.0" - -CRATES=" -" - -declare -A GIT_CRATES=( - [async-openai-macros]='https://github.com/our-forks/async-openai;95b52ebdedf42143083cf3d6f0e0be7c84e9c808;async-openai-%commit%/async-openai-macros' - [async-openai]='https://github.com/our-forks/async-openai;95b52ebdedf42143083cf3d6f0e0be7c84e9c808;async-openai-%commit%/async-openai' - [nucleo-matcher]='https://github.com/helix-editor/nucleo;5b74652e482f7c07d827f18c6d21e7540c242c69;nucleo-%commit%/matcher' - [nucleo]='https://github.com/helix-editor/nucleo;5b74652e482f7c07d827f18c6d21e7540c242c69;nucleo-%commit%' -) - -inherit cargo check-reqs shell-completion - -# no tagged releases -MY_COMMIT="98a7d5949053c02d631757dd9272b09b73c463e0" -DESCRIPTION="SpaceXAI's coding agent harness and TUI" -HOMEPAGE=" - https://x.ai/cli - https://x.ai/open-source - https://github.com/xai-org/grok-build -" -SRC_URI=" - https://github.com/xai-org/${PN}/archive/${MY_COMMIT}.tar.gz -> ${P}.gh.tar.gz - https://github.com/fasys-crate-dist/${PN}/releases/download/v${PV}/${P}-crates.tar.xz - ${CARGO_CRATE_URIS} -" -S="${WORKDIR}/${PN}-${MY_COMMIT}" - -LICENSE="Apache-2.0" -# Dependent crate licenses -LICENSE+=" - Apache-2.0 BSD-2 BSD Boost-1.0 CC0-1.0 CDLA-Permissive-2.0 EPL-2.0 - ISC MIT MIT-0 MPL-2.0 MPL-2.0 Unicode-3.0 Unicode-DFS-2016 WTFPL-2 - ZLIB -" -SLOT="0" -KEYWORDS="~amd64" # ~arm64: ugrep -# TODO add feature USE flags? - -DEPEND=" - sys-apps/bfs - sys-apps/ripgrep - sys-apps/ugrep -" -RDEPEND="${DEPEND}" -BDEPEND=" - >=dev-libs/protobuf-25.6[protoc] -" - -QA_FLAGS_IGNORED="usr/bin/.*" - -CHECKREQS_DISK_BUILD=10G # 9.7G - -pkg_setup() { - check-reqs_pkg_setup - rust_pkg_setup -} - -src_prepare() { - default - - # Do not bundle ripgrep - local f - for f in crates/codegen/xai-grok-{shell,tools}/build.rs; do - sed \ - -e '1i #![allow(unreachable_code)]' \ - -e '/fn main()/a \ return Ok(());' \ - -i "$f" || die - done - - # Disable auto-updates - sed \ - -e '1i #![allow(unreachable_code)]' \ - -e '/fn env_installer(/a \ return Some("portage");' \ - -i crates/codegen/xai-grok-update/src/auto_update.rs || die - - # Cargo offline fetch workaround - local url commit path - IFS=";" read -r url commit path <<<"${GIT_CRATES[async-openai]}" - local ASYNC_OPENAI_GIT="async-openai = { git = \"${url}.git\", rev = \"${commit}\"" - local ASYNC_OPENAI_PATH="async-openai = \\{ path = \"${WORKDIR}/async-openai-${commit}/async-openai\"" - - sed "s|${ASYNC_OPENAI_GIT}|${ASYNC_OPENAI_PATH}|" \ - -i "${S}/Cargo.toml" || die -} - -src_test() { - # TODO more tests - cargo_src_test --package xai-grok-pager-bin -} - -src_install() { - newbin "$(cargo_target_dir)/xai-grok-pager" grok - dosym grok /usr/bin/agent - - local grok_bin="${ED}/usr/bin/grok" - "${grok_bin}" completions bash > grok || die - "${grok_bin}" completions fish > grok.fish || die - "${grok_bin}" completions zsh > _grok || die - - dobashcomp grok - dofishcomp grok.fish - dozshcomp _grok -}