diff --git a/app-laptop/framework_tool/Manifest b/app-laptop/framework_tool/Manifest index 05702a0f528da..4a487828e354f 100644 --- a/app-laptop/framework_tool/Manifest +++ b/app-laptop/framework_tool/Manifest @@ -44,6 +44,7 @@ DIST equivalent-1.0.2.crate 7419 BLAKE2B 7ce4fb7b911961cd4ccfb48323eea4952110a06 DIST form_urlencoded-1.1.0.crate 8734 BLAKE2B eaca73d73d16242f3fa3e38e23531c67c01404697bc7b7eb7c64fa04167dcb403a41818487fc46c5d9118842818472d549a2f5fcef5e4d962461e1c103d895d1 SHA512 9e245495dbf235b147e4216b313f2e6a96357d2782a66d71c08c2902c6a065701ca8ecdbb6b2035983a83c44cf36c921b5c71d63af0e02dd39bf5f8347117e11 DIST framework_tool-0.3.0.gh.tar.gz 1179695 BLAKE2B f06306d13cc804f143c1fb6556ad52c8bdb1a48028904458fb8f5d3c59b05e430a1118d78c06083bf07c7584bf7d5f683f8fbb24ede934c6c7c96bb7db7c335c SHA512 6a459828f2d441d8ab2cc5a8720756e1b44e9a3af80c769089a96b4be770ecbe541d4298c9dfe8212613ac23f4b488cff8abe48352e6264eb208784d2bb6ac6c DIST framework_tool-0.4.1.gh.tar.gz 1196392 BLAKE2B 18bb5a42a31f7a30b86d98c51e57f9b74ed6bd500f3c8fdbbbb210accc9644a76f6cd965d38b0c7cd49b4c11617269a09797271bd811135a5b8870995c4b59fa SHA512 b25fa227904457a94d20b2172a357c469cf2296d43904847a235d345bc26f8f13295df00374b07fb60981997229ce931ff01c5fa4826e6e7ec16657a11bbc719 +DIST framework_tool-0.4.2.gh.tar.gz 1195871 BLAKE2B fbdc282a544283cec776d4ee997cdd776d2d42849870dbbd8986365cdc987bce8aa06866485771a6e93acb13d14886a015c459971b1cd593aeb6a25802056250 SHA512 ba4bec60bc2f4213e8ec6c94ade6a38010de3664d42f55b67f5d0a56c734191b26b394bc0a2e58b882b4b5b784cf55d5fd459238c5c2639dca18b1d3cdb6e162 DIST futures-0.3.30.crate 53828 BLAKE2B 4e595639500f7147ceb994359ef1656ed096ea679409a5721c05ff84ba439fe4e82563a7cf8dca9aed4cd16b03e89ba1385b0a34feed9d4923871225e131b91e SHA512 98fc67bf1047609c8bb0763c00ab9cb39b6a6d0cb7d993bce4966ddc2492a6578b789e98095981b207ddd73ac4b1dfcd5224b352a0e970eed347537c6fbea43e DIST futures-channel-0.3.30.crate 31736 BLAKE2B 57461dbb723fd53daa07b2fe6164125508cc3901e0138d2a60da5c814ade415a3611baa45c71487f1853812282ef358c132785ff40c630408e8544d57eee3483 SHA512 689531748821529c528772a6dd0f27362078ff5803d2e0b431ee5a0ecf8787b5a15262d65d52f48486ded46b88f7a9c477ad95cc2c5a3e8f5f9b9f53f367832c DIST futures-core-0.3.30.crate 14071 BLAKE2B 76a9fa5aedd0d4ae8dd9db9639839b6b342125759c1b9f9bbf58aacb4ecca316ff1f24ff8f3c15f559ffbf974e4c2cd02a5418cb4c4d7612dac8449c8234eeb8 SHA512 3c7259ddacbe02e47a84178b75e5f13523bd0c8f8bc0b2375f7ecca60b7075695ee0a5cc4e1c1de26665cf250271173be803661e2f2f53e2a3b96380a8efe7c4 @@ -56,6 +57,7 @@ DIST futures-util-0.3.30.crate 159977 BLAKE2B 9012edf76336952dab02cb61db48dfc74b DIST generic-array-0.14.6.crate 15889 BLAKE2B 7beac5446f5da4d077598af43c238eb7e71a12b0b91e6be5dbfc1ca33dc21d128fc93c9c8b18caac4b88830c8c8a643f2033acaca1d9a9f3d95329d042276156 SHA512 254e6fb6658f083f26e022916795c9ebfac241b9df2d811aac8316b17e1375e1c5aa54d72f1bf6c2627a88484a7df4b14eca231c90578e9aa3d9997047fa0f20 DIST getopts-0.2.21.crate 18457 BLAKE2B 10651e947e49acc768d99ae56ca5a7f37c1f61bbd1674e2ca58e3ae563fd64f3563d53ccdd0ae7a878710a39e13a99ac8c274974157db2c691f8c222de14992d SHA512 5515ae6ccb0f03efb783683f46cfd1755342c4e83bb673ff8914c7f9dea0dae333f8d9703865e992659a359067df0e8b0e2253de0d4b0c7707cbe7d73401bb1f DIST git2-0.15.0.crate 198983 BLAKE2B 0e340dedef36339cc6ce4cf9ac79014e7bcbdf9ebf688986d1836c3e2f480998a60a2722017381124682edc5dc511368497f03c9bd9a8c4d0e7690682789bf88 SHA512 8ea32850e592cb9bc8caa0d7a04042e284c11b9d46959807d8e6d496d93946342dc37fcdf1ed354010434798a404f415e8e980fee2ce4f5cb998e0f8736b5bc5 +DIST guid-create-84c3ad2e8b64a12beebb460804a65da55434cfd9.gh.tar.gz 5575 BLAKE2B 8ab83efaafea824b27390389e1b1993c6100f55a5553ec0d1a444fb151d4dd974a005d25738535dbb7f1a7790f3ca0404c680b8a31494182640541d112e13b67 SHA512 b69cd5c6cced4ccde1512c49a24eec9f8be1d99f549b5b61b02265412238840652b42b365a236e40f3fb3df2fe7a2c6852dd1031249269c741eb0c6a3e66715d DIST hashbrown-0.15.3.crate 140413 BLAKE2B c67ca4d608e82126b7411349135409d4bc6e4ddb561d04060b5e27f08c350ef3eae0eba12974e9ebfd894fdf90e1481f51e90f5a58f987b88d32e061235f7df9 SHA512 dd82780d0668d6e6eda00b0e2960ab8ad6ab7ca9cb8c87c9c276ad571522676075a675e757416094e382f2607629b80a419b00bb30b5612c1dcf71aa6a97c691 DIST heck-0.5.0.crate 11517 BLAKE2B 5365ec43b2239a76b33a174f1a4292ece4147f9d382a68c6c60db78fdc8bad0afb1d51a65bcb25e96675372faa4ea37c318265030b0546ba51942f7c929e1835 SHA512 f044fc9c3d22466629fd8f772ec0555350fd611c0cfadca51d99a3d2f10e155f77c1091916c8a95a6b9b499f366c2e99a5fbf45b010f988bfb9b2501bf9f6a76 DIST hidapi-2.6.3.crate 128080 BLAKE2B 372c40f4908078b18bae9dc3cdf20c923ae3120e024e8cea76d560b35b86b47775ee27ee48ffecc8ba1a3080c066768943c59300bdca54a0ba3b6c50f59e86a3 SHA512 d513bfd5cfdf494bbd868b59c398af0cfb04376e7fa3c299d2e5c1ce1f2ec404c2c5a8bff1c1be18c76e59aa1f56cc78a96c5a99f6424c3d85068efb4e6ff92f diff --git a/app-laptop/framework_tool/framework_tool-0.4.2.ebuild b/app-laptop/framework_tool/framework_tool-0.4.2.ebuild new file mode 100644 index 0000000000000..33f8900a0caf6 --- /dev/null +++ b/app-laptop/framework_tool/framework_tool-0.4.2.ebuild @@ -0,0 +1,254 @@ +# Copyright 2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# Autogenerated by pycargoebuild 0.15.0 + +EAPI=8 + +CRATES=" + aho-corasick@1.1.3 + android_system_properties@0.1.5 + anstream@0.6.15 + anstyle-parse@0.2.5 + anstyle-query@1.1.1 + anstyle-wincon@3.0.4 + anstyle@1.0.8 + autocfg@1.1.0 + bit_field@0.10.1 + bitflags@1.3.2 + bitflags@2.6.0 + block-buffer@0.10.3 + built@0.5.2 + bumpalo@3.12.1 + cargo-lock@8.0.3 + cc@1.0.79 + cfg-if@1.0.0 + cfg_aliases@0.2.1 + chrono@0.4.24 + clap-num@1.2.0 + clap-verbosity-flag@2.2.1 + clap@4.5.13 + clap_builder@4.5.13 + clap_derive@4.5.13 + clap_lex@0.7.2 + codespan-reporting@0.11.1 + colorchoice@1.0.2 + convert_case@0.4.0 + core-foundation-sys@0.6.2 + core-foundation-sys@0.8.4 + core-foundation@0.6.4 + cpufeatures@0.2.5 + crypto-common@0.1.6 + cxx-build@1.0.94 + cxx@1.0.94 + cxxbridge-flags@1.0.94 + cxxbridge-macro@1.0.94 + derive_more@0.99.17 + digest@0.10.7 + embed-resource@3.0.2 + env_filter@0.1.2 + env_logger@0.11.5 + equivalent@1.0.2 + form_urlencoded@1.1.0 + futures-channel@0.3.30 + futures-core@0.3.30 + futures-executor@0.3.30 + futures-io@0.3.30 + futures-macro@0.3.30 + futures-sink@0.3.30 + futures-task@0.3.30 + futures-util@0.3.30 + futures@0.3.30 + generic-array@0.14.6 + getopts@0.2.21 + git2@0.15.0 + hashbrown@0.15.3 + heck@0.5.0 + hidapi@2.6.3 + humantime@2.1.0 + iana-time-zone-haiku@0.1.1 + iana-time-zone@0.1.56 + idna@0.3.0 + indexmap@2.9.0 + io-kit-sys@0.1.0 + is_terminal_polyfill@1.70.1 + itoa@1.0.5 + jobserver@0.1.26 + js-sys@0.3.61 + lazy_static@1.4.0 + libc@0.2.155 + libgit2-sys@0.14.2+1.5.1 + libusb1-sys@0.7.0 + libz-sys@1.1.9 + link-cplusplus@1.0.8 + lock_api@0.4.9 + log@0.4.22 + mach@0.2.3 + mach@0.3.2 + memchr@2.7.2 + memoffset@0.6.5 + nix@0.25.1 + nix@0.29.0 + no-std-compat@0.4.1 + num-complex@0.4.2 + num-derive@0.4.2 + num-integer@0.1.45 + num-iter@0.1.43 + num-rational@0.4.1 + num-traits@0.2.15 + num@0.4.0 + once_cell@1.16.0 + percent-encoding@2.2.0 + pin-project-lite@0.2.14 + pin-utils@0.1.0 + pkg-config@0.3.26 + plain@0.2.3 + proc-macro2@1.0.93 + ptr_meta@0.2.0 + ptr_meta_derive@0.2.0 + quote@1.0.38 + regex-automata@0.4.9 + regex-syntax@0.8.5 + regex@1.11.1 + rusb@0.9.4 + rustc_version@0.4.0 + ryu@1.0.12 + scopeguard@1.1.0 + scratch@1.0.5 + semver@1.0.17 + serde@1.0.151 + serde_derive@1.0.151 + serde_json@1.0.91 + serde_spanned@0.6.8 + sha2@0.10.8 + slab@0.4.9 + spin@0.5.2 + spin@0.9.8 + static_vcruntime@2.0.0 + strsim@0.11.1 + syn@1.0.107 + syn@2.0.98 + termcolor@1.1.3 + thiserror-impl@2.0.11 + thiserror@2.0.11 + tinyvec@1.6.0 + tinyvec_macros@0.1.1 + toml@0.5.11 + toml@0.8.22 + toml_datetime@0.6.9 + toml_edit@0.22.26 + toml_write@0.1.1 + typenum@1.16.0 + ucs2@0.3.2 + uefi-macros@0.11.0 + unicode-bidi@0.3.13 + unicode-ident@1.0.6 + unicode-normalization@0.1.22 + unicode-width@0.1.10 + url@2.3.1 + utf8parse@0.2.2 + vcpkg@0.2.15 + version_check@0.9.4 + vswhom-sys@0.1.3 + vswhom@0.1.0 + wasm-bindgen-backend@0.2.84 + wasm-bindgen-macro-support@0.2.84 + wasm-bindgen-macro@0.2.84 + wasm-bindgen-shared@0.2.84 + wasm-bindgen@0.2.84 + winapi-i686-pc-windows-gnu@0.4.0 + winapi-util@0.1.5 + winapi-x86_64-pc-windows-gnu@0.4.0 + winapi@0.3.9 + windows-core@0.59.0 + windows-implement@0.59.0 + windows-interface@0.59.0 + windows-result@0.3.0 + windows-strings@0.3.0 + windows-sys@0.48.0 + windows-sys@0.52.0 + windows-targets@0.48.0 + windows-targets@0.52.6 + windows-targets@0.53.0 + windows@0.48.0 + windows@0.59.0 + windows_aarch64_gnullvm@0.48.0 + windows_aarch64_gnullvm@0.52.6 + windows_aarch64_gnullvm@0.53.0 + windows_aarch64_msvc@0.48.0 + windows_aarch64_msvc@0.52.6 + windows_aarch64_msvc@0.53.0 + windows_i686_gnu@0.48.0 + windows_i686_gnu@0.52.6 + windows_i686_gnu@0.53.0 + windows_i686_gnullvm@0.52.6 + windows_i686_gnullvm@0.53.0 + windows_i686_msvc@0.48.0 + windows_i686_msvc@0.52.6 + windows_i686_msvc@0.53.0 + windows_x86_64_gnu@0.48.0 + windows_x86_64_gnu@0.52.6 + windows_x86_64_gnu@0.53.0 + windows_x86_64_gnullvm@0.48.0 + windows_x86_64_gnullvm@0.52.6 + windows_x86_64_gnullvm@0.53.0 + windows_x86_64_msvc@0.48.0 + windows_x86_64_msvc@0.52.6 + windows_x86_64_msvc@0.53.0 + winnow@0.7.9 + winreg@0.52.0 + winresource@0.1.20 + wmi@0.15.0 +" + +declare -A GIT_CRATES=( + [guid-create]='https://github.com/FrameworkComputer/guid-create;84c3ad2e8b64a12beebb460804a65da55434cfd9;guid-create-%commit%' + [redox_hwio]='https://github.com/FrameworkComputer/rust-hwio;9bcff4277d8f3d7dce2b12c6ad81d092ae35c4ba;rust-hwio-%commit%' + [smbios-lib]='https://github.com/FrameworkComputer/smbios-lib;b3e2fff8a6f4b8c2d729467cbbf0c8c41974cd1c;smbios-lib-%commit%' + [uefi-services]='https://github.com/FrameworkComputer/uefi-rs;76130a0f1c1585012e598b8c514526bac09c68e0;uefi-rs-%commit%/uefi-services' + [uefi]='https://github.com/FrameworkComputer/uefi-rs;76130a0f1c1585012e598b8c514526bac09c68e0;uefi-rs-%commit%/uefi' +) + +RUST_MIN_VER="1.74.0" + +inherit shell-completion cargo + +DESCRIPTION="Tool to control Framework Computer systems" +HOMEPAGE="https://github.com/FrameworkComputer/framework-system" +SRC_URI=" + https://github.com/FrameworkComputer/framework-system/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz + ${CARGO_CRATE_URIS} +" +S="${WORKDIR}/framework-system-${PV}/${PN}" + +LICENSE="BSD" +# Dependent crate licenses +LICENSE+=" Apache-2.0 BSD-2 MIT MPL-2.0 Unicode-DFS-2016" +SLOT="0" +KEYWORDS="~amd64" + +QA_FLAGS_IGNORED="usr/bin/.*" + +DOCS=( + README.md + support-matrices.md +) + +src_unpack() { + cargo_src_unpack + + # if more packages require this sort of hack, probably want to change the eclass + sed -e "s|'https://github.com/FrameworkComputer/uefi-rs'|crates-io|" \ + -i ${CARGO_HOME}/config.toml || die +} + +src_install() { + cargo_src_install + + pushd "${S%${PN}}" > /dev/null || die + dodoc "${DOCS[@]}" + + dobashcomp completions/bash/${PN} + dozshcomp completions/zsh/_${PN} + popd > /dev/null || die +}