diff options
| author | root <root@alpha.trunkmasters.com> | 2026-09-15 17:26:46 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-09-15 17:26:46 -0500 |
| commit | 55aad44920efe2d1d3f4ffdd4c2df83c13cfbd28 (patch) | |
| tree | 8432b1894bf9cf6f5c5f2b763e74c61f7a4d140d /dev-util | |
| parent | 088e0ca78556300b2d083c91ff7daae04e3e4110 (diff) | |
| download | baldeagleos-repo-55aad44920efe2d1d3f4ffdd4c2df83c13cfbd28.tar.gz baldeagleos-repo-55aad44920efe2d1d3f4ffdd4c2df83c13cfbd28.tar.xz baldeagleos-repo-55aad44920efe2d1d3f4ffdd4c2df83c13cfbd28.zip | |
Adding metadata
Diffstat (limited to 'dev-util')
| -rw-r--r-- | dev-util/grok-build/Manifest | 4 | ||||
| -rw-r--r-- | dev-util/grok-build/grok-build-1.0.16.ebuild | 113 | ||||
| -rw-r--r-- | dev-util/grok-build/grok-build-1.0.24.ebuild | 116 |
3 files changed, 0 insertions, 233 deletions
diff --git a/dev-util/grok-build/Manifest b/dev-util/grok-build/Manifest index f209c7074148..2b7ce0a3aaec 100644 --- a/dev-util/grok-build/Manifest +++ b/dev-util/grok-build/Manifest @@ -1,8 +1,4 @@ DIST async-openai-95b52ebdedf42143083cf3d6f0e0be7c84e9c808.gh.tar.gz 28205999 BLAKE2B efc04b410749efc8f6e607e8f0dc5162070c47d7c8b61317185fe638f66b6441f08e6d72b5f8237e9ea448c3b750dba4222dab1d092de5f561a0d36478886eda SHA512 9ce341a035dd11070c7b24e03ab0ad0e21f8e49426626f84e22eac716054c47c01ef7b84147231908c999bee46af54007772c0fd53759f68846c752d3dd28652 -DIST grok-build-1.0.16-crates.tar.xz 91540604 BLAKE2B de78dd102425546638b911c111feccabe090fd942859369b249092e0d50e0ebfe2cdf2396c6c3f3bf9bbe7cef8743ae11291e09fcb36d8297a676372e2886f90 SHA512 1d38a1ceffed2fce78b948713a3c1f183d7c84cbe33d12e27b2e09129def6e31096e669941525ad72344992f0cdb811f35dbad65bb9896dc412b443e419c6613 -DIST grok-build-1.0.16.gh.tar.gz 15089581 BLAKE2B 287a201cf7510a3a1ddc62d6acf2eebb59a192f879393014bc05fa2031c643db917fdb0987770f629c056c1d611df3613b175e9793bd000cfe34643c6d3ee0dd SHA512 170de8cb3a079abc34a92ee6e82102fffaed5fc1c96ec151e842fe3111e7856899c48ad4378b3afb0201e9c4d051731872e4e5ba3bfb413241c4e65b835eca0f -DIST grok-build-1.0.24-crates.tar.xz 95670580 BLAKE2B dc3223f413825b9acad1314017dc493429bb50f6d0c11be65c79d09aee757ad4ccd8234fbc56c573d2422ae5c5a0246be530ad21dd175ab5ed18bc414aca2215 SHA512 ae33ce5a2340499809f38d9bc0de568d7a41c6a82e89c48d8fb7f99c2bb5f50813c616b812a71687594091c33177613e6f68347bc0bb1619ce6d4a7a6d662870 -DIST grok-build-1.0.24.gh.tar.gz 15282296 BLAKE2B 58be7b132f090b5de6be8b9f5b4f5d902ac7266dc94e17601c199faa04d94c5eebe31174678be680f814f0b62a985902cccb8502bacc4b2b37415a9850bca190 SHA512 439c0f1c85edbb330b64b2925c1c320d55d4c505a47524339e55810f47a044a3d149652661381a7650b427e3700cac6cfceff222f679f38a0887b02cb769c552 DIST grok-build-1.0.32-crates.tar.xz 96212156 BLAKE2B e1ac09a71ad95b65ea172818774d27c7c132f07164ab0ce245365d902874050291a29e1e48387546e54136f3e3e49834df92e28e0cf9e3ef55a207598470a107 SHA512 7fc64a328ddeb0432f659c3d4bc2e641ba0b43cf4c079f49cbac3656d0541dd99a3589cfe2d12b71fa26a82a13c2e62982dfc5442246b44bae3b13c11298615d DIST grok-build-1.0.32.gh.tar.gz 15928023 BLAKE2B 983cf7b9e492ac41d1fc83aa7160976eadd8fc68ac2c367c3d34305e251d1d484324917cf7d539ef2f013becd0cfc4605f433548219237c3daa7860c087e77bc SHA512 5eb07f536e5d0ce72dfb9170116d202553c8997c6ad400d7158190b62ad7651c3ad40671cf5cc58b4dacd934b23f4c39b4864670259f571f769a697dfe2b671d DIST nucleo-5b74652e482f7c07d827f18c6d21e7540c242c69.gh.tar.gz 86764 BLAKE2B 006ac7e8c4c7e35a9fd690cd699c7c6d45f9368ed5ac8e1ad2b098128b530ef1f72aeccc6e87dd7d84f98b402f72313be8716f1eeae954b25898359f1037b41a SHA512 a8762638ef79da9dc344664342779c9aecb1b19facc23614d87b639d21b356aab3715cbdb51e541b7dd569a2d4e5cbf97591d4341e3ae538e5aa4a620f4f72f6 diff --git a/dev-util/grok-build/grok-build-1.0.16.ebuild b/dev-util/grok-build/grok-build-1.0.16.ebuild deleted file mode 100644 index b96c9de63672..000000000000 --- a/dev-util/grok-build/grok-build-1.0.16.ebuild +++ /dev/null @@ -1,113 +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="38683198c71c9be623bf3f7346414ae1c330ac1c" -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 - virtual/zlib:= -" -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 -} diff --git a/dev-util/grok-build/grok-build-1.0.24.ebuild b/dev-util/grok-build/grok-build-1.0.24.ebuild deleted file mode 100644 index 744d0b1f3316..000000000000 --- a/dev-util/grok-build/grok-build-1.0.24.ebuild +++ /dev/null @@ -1,116 +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 linux-info shell-completion - -# no tagged releases -MY_COMMIT="f21225f2d463e1629769c7b4939807923c0ef83e" -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 - virtual/zlib:= -" -RDEPEND="${DEPEND}" -BDEPEND=" - >=dev-libs/protobuf-25.6[protoc] -" - -QA_FLAGS_IGNORED="usr/bin/.*" - -CHECKREQS_DISK_BUILD=10G # 9.7G - -pkg_setup() { - local CONFIG_CHECK="~SECURITY_LANDLOCK" - - check-reqs_pkg_setup - linux-info_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 -} |
