From beb8a48bf678c4fc60f088bf2fbfb94b7163da89 Mon Sep 17 00:00:00 2001 From: Randy Barlow Date: Wed, 17 May 2023 19:51:32 -0400 Subject: sys-process/bottom: Add 0.9.1 Closes: https://bugs.gentoo.org/906654 Signed-off-by: Randy Barlow Closes: https://github.com/gentoo/gentoo/pull/31081 Signed-off-by: Joonas Niilola --- sys-process/bottom/Manifest | 4 + sys-process/bottom/bottom-0.9.1.ebuild | 238 +++++++++++++++++++++++++++++++++ 2 files changed, 242 insertions(+) create mode 100644 sys-process/bottom/bottom-0.9.1.ebuild (limited to 'sys-process/bottom') diff --git a/sys-process/bottom/Manifest b/sys-process/bottom/Manifest index 6944e962875d..c232876bc37e 100644 --- a/sys-process/bottom/Manifest +++ b/sys-process/bottom/Manifest @@ -28,6 +28,7 @@ DIST bitflags-1.3.2.crate 23021 BLAKE2B eb990bb27b2bdeb66fd7212ce582cb36e1c616de DIST blocking-1.2.0.crate 18494 BLAKE2B 252a17536290d3898015b6eb844225c7fb78cd84424fda2459331d5eda56d19efff48c670b692288d32d870f62a539449a9b3ad7aef947de50f8862d44fbd9a7 SHA512 aa5cc62a340fb94859e90bd54b9e61d897026ee66570f15f94a0be287b470f5222233dbf30cdf1b0860c4a24abdb0c40f925d9ccbabfbf38fa27b5b17917aa33 DIST bottom-0.8.0.crate 179574 BLAKE2B 5d860baea5c2390a99e5189180b76e1e961c89a380d1af8551d407c88939cdf0e44779da39bcb0f04c2de735b3ef6b3bc2cca6d4a79568dcd249490bc758cb2d SHA512 df2b1c4c4d88a107cb050513e8c8507c0de8e10f844622e85c1d08c531fd09298b952708076a724ec011d470483fd9697d609bc8d2a61087ecd93e62246f0fb2 DIST bottom-0.9.0.crate 195867 BLAKE2B 05e021e5adb29218b499709e087a5a13d2597914476e3c50dd6ac8032377440ea11acc4f48ea20ead763ba1e24a5f3a9a63b802450f5729aef4bb6f0ef2e2df8 SHA512 42fe911b086b07d6391e2e618b1a1a304101144967820a464c90a1ad2e61059467d5ff5f92724bd21b8ce7ab90cde2be05c5cedccb9d5137be439bbc20612043 +DIST bottom-0.9.1.crate 195488 BLAKE2B 37807ed65331b1987d556f54e3fdf2708771d9930a7af0a5b79a7e03b6283ededf1a317f9835a326d3ed60740538237eca52b2a3eba02eecc0d8471e089b7309 SHA512 3d3ea99bfe8f63793014b3d7059383680c241c06fab9d4b3145935161502e56153d3a4f9f903d1c138676bbcaa73519fe1fa152d32b2822eee76c3b40a0daa4c DIST bstr-0.2.17.crate 330350 BLAKE2B 90c3a48d78b73d7e36a3da9fda0beae6e91ce534d17198ea8ceee0b613d03297f9dd8bca30e1ec5da01d1da359a1da72b2c2771b77c82bebab5006cafd665192 SHA512 883eac8210d14f89517b4dd5e25d02c97cf31602ec74498b5e186112ba0f154d47de8d1c41a8f4e5503f3b53c064e2c976b60bbfd63fc28b186bc006e00f20c2 DIST bstr-1.4.0.crate 345921 BLAKE2B 39a3cb366a7ceb784b7a6626f81338e8047498c5755ed60fce1f6460ea5aa907ab5df4bcf30a07ed699c7af7d2d0dbc48b2c5cb674b863c22fd63b5080b52fae SHA512 98dc7bdcc1a307eae2ed202b2b785a4ad27719c4b3289408edc710beabedb78d16b3042b41de04fca5dbdba19d8567df69c35431e33a3c02924820e1a601df36 DIST byteorder-1.4.3.crate 22512 BLAKE2B d39c546ba7346df315297fc53da4bfc77ecb1f38567ddb788549ee31cae2719a8bc0b7d1f1705abb3cff033aa57af004987d90748f5a31765273b3223a011c0d SHA512 8c8000eb8ecf40351c9ce36a3a8acd7a02f81786d1b11aab85adfeffa0f2267ed74df29b2ca5d1d38128484d1d3cad2b673aa0d0441dcd0620dfd3934bb888fa @@ -42,6 +43,7 @@ DIST clap-4.2.7.crate 54028 BLAKE2B 612e954a1e87922c3008d61d98d9884b473c7e2c4788 DIST clap_builder-4.2.7.crate 162405 BLAKE2B 380f1444d7f3cd7eb106be1389886718a9d56249f342a6e0b6c54917980e34691f871543a0981bbce7f288188d99d99b941effca3228013db30d14dc26247919 SHA512 05f06a5c749f0c8cab00c780b464428e13fdda65b5c7a83376aae0f48f1d62764ee9b1ec6d289c88d75efc1b04ae2d5c82956010704543c1c5b70fbcf35b1cf7 DIST clap_complete-3.1.2.crate 23138 BLAKE2B db3741e86ed29b52c7dec82c4d957265bf2d7f10b641f579336d2893f5355233507bf4b2385cbbff1a6ed25fb7a3855e2c0b889257679aaa997be351d3bf3fd4 SHA512 94b176115fa0edf12f1af62388c8f175074fca980f4006f9bb755e9be773785bca80b3b11821bdc8498b06f5d3aaae169f7daceda5a352eb39312f48b255ebc5 DIST clap_complete-4.2.2.crate 33932 BLAKE2B e24d9d0cac36ccf99600ce119dea97a4c235ed2bc8db4998efa7cf76a59d20e67609d7f63131e849a3072bcdae8546874af622cfa83c0437ca5a55a81ad22ee9 SHA512 8d0477a225f0dbd3d865b37323521021a49b5e5b35764532daf4730ff4a5ba00f164e637359a18787d3b7444d0c135b40e657b72303a226ba16ca663d448ae03 +DIST clap_complete-4.2.3.crate 33988 BLAKE2B 7befddaeda6578157f8db62940a87e4be9e6e175e00167cf50e943a9b7b451a22368edb91164fd89da95fa9f92df641b1eebdff81416b6d7bfa34e543e4ea4af SHA512 809e8f7a6dfe69a26faa2e6c13f31760ade912fb3ccbc98368dd0a6cb7ed32b3313cf1c15dd4a3b1dfb5e3f278c846c33bfdf48e670eb0cb3cd6558241a1a0ee DIST clap_lex-0.1.1.crate 9603 BLAKE2B fa128dbc85152ef312373283fdd84db5b9f9c519d6382a737de2ac9ba8df16e74afafc0c1602a2ae31cc62e8d83232899b1c4eff41be6e7e5f286513f83785f8 SHA512 4d7667fb4cc86fd820262c4642c37a073e558ac5c05e1a8efc2813f54c364e2c4e980a8ddd81e72b11b02f494b20ad89c77e9649d1a6c0ed418194db808f1383 DIST clap_lex-0.4.1.crate 12122 BLAKE2B b06dae9978865bdc63dcac66358f7d63f16c736a9b9cddd3b25a89c8d18d5648d107c2ebc3cf756f9e20af723381f574532add12ad4454312ea3379efd92f68c SHA512 012f5b3bfd252a2278a4089bf05340b03f73866c18612b2a4572a81b3182c00bf13dcf47e61fff49eb9fb2e091602999e6c27dee275c7de7559b27955ad082d9 DIST clap_mangen-0.1.6.crate 12792 BLAKE2B f945354be0043d7c8a16ff0914b037fc04998c902a7939ae1fa4fd16c4052b14019bc89d2f6fc5ba74e1387589d702f010183b25121a9613b614bbb5aa8d403c SHA512 b46dfeda87905dbaedb854c0776f7a80844cbe755c0571cb4ffe718b63517aebcddff6e2fe4949ea43b7a5ae995175767a1c56aad843dc414bd4cb1cd49d2bce @@ -226,8 +228,10 @@ DIST same-file-1.0.6.crate 10183 BLAKE2B a320c8343e0b38078ba81c4f0159d886bf47764 DIST scopeguard-1.1.0.crate 11470 BLAKE2B f774eb90b7d3ffb2efba47518e9d1dead4017ab4b38a4bd74914daa84a5af4bf9eb63da0496e3924499d79cd0439c37447aeda4a21226f95645bddcd6becfabe SHA512 368fa5726df8f42b599993681579a9ffd0196480ee3cd0f9f671e8493f3bedd1e1779bdf2beb329e77e0005fa09b816e3385f309490c0f2781568db275d4d17d DIST serde-1.0.152.crate 77091 BLAKE2B 89c01ce359042ebe6b1b64ea710580886f965a98e1d6085c58a75269a9b43401e2cace080c4c93ee51982855fb7e2f09fdefe9bd237bbf30c5537f3a4258283b SHA512 b47bd58fdc1a81d96cc0c9d14c8b19153b6689e893851975b1d7c7010c4448750e7fa09056dd4f13ed475a4aea2a3950952ff528832976919a6e78504a37bea7 DIST serde-1.0.162.crate 77030 BLAKE2B 27e6a9bfabcd66a2250be36ac9987ec12a864c15eabea4bb793f796a19d85db097bf46426462fbdd22ccde24af3581638c2e14634701a0b14a3bfcc624c40a8d SHA512 e9b112999b69a14f1d05cce985448378c889a497dfa00f86e0c611b17d98fe7d942e9142fdf8c95c6d0a32e2016b3f384b52efae3bd75012c12299b02d055578 +DIST serde-1.0.163.crate 77030 BLAKE2B 0d7ead66faab8ae01c693c9bbcadfd0a7a736c8bf46f50ef43ba261eec9e0f0c43477feadb2e134f0ed6dda3115dcbc3d22daa28592f343739f1ea03d9c25723 SHA512 752738ef5f67f1b4435bdd4e76e740ba192bd93e83cac55fd667809af26ceaf02db7083aaf7b2074644b38964021af206000b6130199e7994c12c9c57cd31a34 DIST serde_derive-1.0.152.crate 55586 BLAKE2B f133c6cdb87d435ea0c05144e685047fec22b93df7c61df4aa139358c2732326c98d0f62fda629da0f648aaacfc9d6f312813940238f45b359546dd435e7a516 SHA512 2f4dffb5671b4758f0b7dc0939f6b5cfe3b3ba02a53c62c75b5a0ec89d2db26bdd95f3e269d1fd4b07ec921bc0ca5f0741c26fdfcd25bd6532ac698c6c701e91 DIST serde_derive-1.0.162.crate 55076 BLAKE2B 1d83bd6a397b27c412f07462e4898e4aad2f724acf5d2d3a295efa3b311bd94186aefb2bd2ce5b5ca74e779814c87e694b005ea25a65695388d4a30bce00ff32 SHA512 edd1bd42b130df0625cd762a827ab44ee49420c704eb581205f6010270550a9f22eeb3b658a52645877537d29b81b324ec209f21aa3bcd09a2749007b27cde4a +DIST serde_derive-1.0.163.crate 54447 BLAKE2B 284d02fcbdd05c53c8da737fac422fd61ff53669b140686d1732ef727a1e873945b1ebdb85fbda1d79f2c563b2c7b81d3ac51c76fe0cf5205dc6ab4d46a9d4d8 SHA512 744c4235330781c8d9c6ab4f49f6ddd11fcd70b97c97fcbf1434ccac02ba7d29eacfed21ee8e005f5541dd8ab4a34023e95d85231f11c5f4d6e24fcf806f7283 DIST serde_json-1.0.82.crate 144514 BLAKE2B dd4b5ee1b93f04be09b1c204f8484091d608acc3966ed4c8252a1d46003dd154666e2731e761828dda4123da5c45bda653f453454c5c7c11977aef05bd0e9e9a SHA512 39e4cb0d8b22c9beae6decb87b9692581698c6309b2e9fd78e5e199a200da563e7459d34435b7890e274e13357195392cab69d73d3ee2ff537c1667de32f92c3 DIST serde_json-1.0.96.crate 144652 BLAKE2B 2754e63479aa07507015dcb0f989d6447f5b2c01e5f02cf8a843d90c90c6fd0acd3ecb68d80d76c249efdabe0bd0670649a9e576269928d2276ba00a3153131d SHA512 39779419900e1d395d81e70cff0e7a688564a66124b08e74da54ac30f389c912707f4bf5e29afab6fa106faf4bf4e0b841f42fef125cf7bec185482ff6bbba0e DIST serde_spanned-0.6.1.crate 7828 BLAKE2B 78d39bca0850b78f0835167ca7786c0bf356d668389aaaf3ace946e91d9a7db8dcba895e833d87e88502b2ba969cac9aad6c1a053c5ecb37f845ebb3b0bb5b32 SHA512 6271aa2af243021002a10cdbd16cb081bf10ab53a61cace104182eb4f28e0c0d7c447b7dcedb350ce78debf5ed6ce6502cb823ae9177d98c5288310094eb22d9 diff --git a/sys-process/bottom/bottom-0.9.1.ebuild b/sys-process/bottom/bottom-0.9.1.ebuild new file mode 100644 index 000000000000..cb0886114b43 --- /dev/null +++ b/sys-process/bottom/bottom-0.9.1.ebuild @@ -0,0 +1,238 @@ +# Copyright 2020-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CRATES=" + addr2line-0.19.0 + adler-1.0.2 + ahash-0.8.3 + aho-corasick-1.0.1 + anstream-0.3.2 + anstyle-1.0.0 + anstyle-parse-0.2.0 + anstyle-query-1.0.0 + anstyle-wincon-1.0.1 + anyhow-1.0.71 + assert_cmd-2.0.11 + autocfg-1.1.0 + backtrace-0.3.67 + bitflags-1.3.2 + bottom-0.9.1 + bstr-1.4.0 + byteorder-1.4.3 + cargo-husky-1.5.0 + cassowary-0.3.0 + cc-1.0.79 + cfg-if-1.0.0 + clap-4.2.7 + clap_builder-4.2.7 + clap_complete-4.2.3 + clap_lex-0.4.1 + clap_mangen-0.2.10 + colorchoice-1.0.0 + concat-string-1.0.1 + core-foundation-0.9.3 + core-foundation-sys-0.8.4 + crossbeam-channel-0.5.8 + crossbeam-deque-0.8.3 + crossbeam-epoch-0.9.14 + crossbeam-utils-0.8.15 + crossterm-0.26.1 + crossterm_winapi-0.9.0 + ctrlc-3.2.5 + darling-0.10.2 + darling_core-0.10.2 + darling_macro-0.10.2 + difflib-0.4.0 + dirs-5.0.1 + dirs-sys-0.4.1 + doc-comment-0.3.3 + either-1.8.1 + enum-as-inner-0.5.1 + errno-0.3.1 + errno-dragonfly-0.1.2 + fern-0.6.2 + filedescriptor-0.8.2 + float-cmp-0.9.0 + fnv-1.0.7 + getrandom-0.2.9 + gimli-0.27.2 + hashbrown-0.12.3 + hashbrown-0.13.2 + heck-0.4.1 + hermit-abi-0.2.6 + hermit-abi-0.3.1 + hex-0.4.3 + humantime-2.1.0 + humantime-serde-1.1.1 + ident_case-1.0.1 + indexmap-1.9.3 + io-lifetimes-1.0.10 + is-terminal-0.4.7 + itertools-0.10.5 + itoa-1.0.6 + kstring-2.0.0 + lazy_static-1.4.0 + lazycell-1.3.0 + libc-0.2.144 + libloading-0.7.4 + linux-raw-sys-0.1.4 + linux-raw-sys-0.3.7 + lock_api-0.4.9 + log-0.4.17 + mach2-0.4.1 + memchr-2.5.0 + memoffset-0.8.0 + miniz_oxide-0.6.2 + mio-0.8.6 + nix-0.26.2 + normalize-line-endings-0.3.0 + ntapi-0.4.1 + num-traits-0.2.15 + num_cpus-1.15.0 + nvml-wrapper-0.9.0 + nvml-wrapper-sys-0.7.0 + object-0.30.3 + once_cell-1.17.1 + option-ext-0.2.0 + parking_lot-0.12.1 + parking_lot_core-0.9.7 + predicates-3.0.3 + predicates-core-1.0.6 + predicates-tree-1.0.9 + proc-macro2-1.0.56 + procfs-0.15.1 + quote-1.0.27 + ratatui-0.20.1 + rayon-1.7.0 + rayon-core-1.11.0 + redox_syscall-0.2.16 + redox_users-0.4.3 + regex-1.8.1 + regex-automata-0.1.10 + regex-syntax-0.7.1 + roff-0.2.1 + rustc-demangle-0.1.23 + rustix-0.36.13 + rustix-0.37.19 + ryu-1.0.13 + same-file-1.0.6 + scopeguard-1.1.0 + serde-1.0.163 + serde_derive-1.0.163 + serde_json-1.0.96 + serde_spanned-0.6.1 + signal-hook-0.3.15 + signal-hook-mio-0.2.3 + signal-hook-registry-1.4.1 + smallvec-1.10.0 + starship-battery-0.8.0 + static_assertions-1.1.0 + strsim-0.9.3 + strsim-0.10.0 + syn-1.0.109 + syn-2.0.15 + sysctl-0.5.4 + sysinfo-0.29.0 + terminal_size-0.2.6 + termtree-0.4.1 + thiserror-1.0.40 + thiserror-impl-1.0.40 + time-0.3.21 + time-core-0.1.1 + time-macros-0.2.9 + toml_datetime-0.6.1 + toml_edit-0.19.8 + typed-builder-0.14.0 + typenum-1.16.0 + unicode-ident-1.0.8 + unicode-segmentation-1.10.1 + unicode-width-0.1.10 + uom-0.34.0 + utf8parse-0.2.1 + version_check-0.9.4 + wait-timeout-0.2.0 + walkdir-2.3.3 + wasi-0.11.0+wasi-snapshot-preview1 + winapi-0.3.9 + winapi-i686-pc-windows-gnu-0.4.0 + winapi-util-0.1.5 + winapi-x86_64-pc-windows-gnu-0.4.0 + windows-0.48.0 + windows-sys-0.45.0 + windows-sys-0.48.0 + windows-targets-0.42.2 + windows-targets-0.48.0 + windows_aarch64_gnullvm-0.42.2 + windows_aarch64_gnullvm-0.48.0 + windows_aarch64_msvc-0.42.2 + windows_aarch64_msvc-0.48.0 + windows_i686_gnu-0.42.2 + windows_i686_gnu-0.48.0 + windows_i686_msvc-0.42.2 + windows_i686_msvc-0.48.0 + windows_x86_64_gnu-0.42.2 + windows_x86_64_gnu-0.48.0 + windows_x86_64_gnullvm-0.42.2 + windows_x86_64_gnullvm-0.48.0 + windows_x86_64_msvc-0.42.2 + windows_x86_64_msvc-0.48.0 + winnow-0.4.6 + wrapcenum-derive-0.4.0 +" + +inherit bash-completion-r1 cargo + +DESCRIPTION="A graphical process/system monitor with a customizable interface" +HOMEPAGE="https://github.com/ClementTsang/bottom" +SRC_URI="$(cargo_crate_uris)" + +LICENSE="0BSD Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 Boost-1.0 ISC MIT MPL-2.0 Unicode-DFS-2016 Unlicense ZLIB" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64" +IUSE="+battery +gpu +zfs" + +# Rust packages ignore CFLAGS and LDFLAGS so let's silence the QA warnings +QA_FLAGS_IGNORED="usr/bin/btm" + +src_prepare() { + # Stripping symbols should be the choice of the user. + sed -i '/strip = "symbols"/d' Cargo.toml || die "Unable to patch out symbol stripping" + + eapply_user +} + +src_configure() { + myfeatures=( + $(usev battery) + $(usev gpu) + $(usev zfs) + ) + + # This will turn on generation of shell completion scripts + export BTM_GENERATE=true + + # https://github.com/ClementTsang/bottom/blob/bacaca5548c2b23d261ef961ee6584b609529567/Cargo.toml#L63 + # fern and log features are for debugging only, so disable default features + cargo_src_configure $(usev !debug --no-default-features) +} + +src_install() { + cargo_src_install + + # Find generated shell completion files. btm.bash can be present in multiple dirs if we build + # additional features, so grab the first match only. + local BUILD_DIR="$(dirname $(find target -name btm.bash -print -quit || die) || die)" + + newbashcomp "${BUILD_DIR}"/btm.bash btm + + insinto /usr/share/fish/vendor_completions.d + doins "${BUILD_DIR}"/btm.fish + + insinto /usr/share/zsh/site-functions + doins "${BUILD_DIR}"/_btm + + local DOCS=( README.md ) + einstalldocs +} -- cgit v1.2.3-65-gdbad