diff options
Diffstat (limited to 'app-misc/broot')
-rw-r--r-- | app-misc/broot/Manifest | 2 | ||||
-rw-r--r-- | app-misc/broot/broot-1.7.5.ebuild | 263 |
2 files changed, 265 insertions, 0 deletions
diff --git a/app-misc/broot/Manifest b/app-misc/broot/Manifest index 3002c273c5b1..0bc273858f3c 100644 --- a/app-misc/broot/Manifest +++ b/app-misc/broot/Manifest @@ -24,6 +24,7 @@ DIST bitflags-1.3.2.crate 23021 BLAKE2B eb990bb27b2bdeb66fd7212ce582cb36e1c616de DIST broot-1.6.6.tar.gz 8714930 BLAKE2B 8e0a649dc7d022c4be12eb7c7ba5925de46a59c739f1b7a0c3b238bde8edcc3ea226ddeea5b553376b198c66fd6d745b516afcb2ae49c0df1c3f8c732cd492aa SHA512 c1e3b375904c5589fda5950617142675a9f7c16656c954cda141b3bf32acd3bb1db0fec095bfe77f648be48865b3c7251e3b6ca94da7f5ff0f72915a3a1eb90a DIST broot-1.7.3.tar.gz 9416268 BLAKE2B 7d1836e6d60693361aba0da25a51919d169e0d4701c98dbaac46bb36c51c0cf7c209b80c96b785f9693eecfad55a645b68620734320671fd269258ba26a9e2c1 SHA512 c3eb6c4444d5bab5bc38888b20844fd4c86b8f7c24646811e8b9a3f36fac36ccd7a96d94838e21ca02f292d879d2a04f03b1d44a48ba0eef8b239130b7c5712a DIST broot-1.7.4.tar.gz 9416319 BLAKE2B ff9605379f9bd881ea5dc3710f1b03c1be6cbcebe2baaa45b73a430542fed1043e2cbfa646a0f374b7f12cdfb22309c895da1d9be7bbde2de279dbd233669330 SHA512 832c792a3a905040c5e7915b9defa82d2bd70b113025d3357d8ba9b521fb93617bbb17a6b74f7320365ed3a703c864e1e6db887c74f347ed669cb2c950334e44 +DIST broot-1.7.5.tar.gz 9416330 BLAKE2B 33aadc9f03a3645fdb3013f68a30e8cc3ace6b9306644ce695855cc89f5d6ae43ab65730908a89623905451c1be31fd796a34a389726d021a43ec831d33c3b22 SHA512 54c1a57dba53a6ba889fc19034787cbaac154552e568f42d38bffb98ad606a3a43e63f51bb4da68306f82e41e27444a3343c729d3d47b7da869867a7e763a25a DIST bstr-0.2.16.crate 330346 BLAKE2B 75a345f3a5d428ec7278cd10fa676f5bb72685c65c4fe68163943cf3142b43ac45d458bce9323447b201ffcc91aa82cd8c762cb1954c055e34b1a5cebc686ee8 SHA512 33e82e5637efdc2f404ab9405331ae135df12586785491c3e61e70ea8406c67e2109e550cc70a4ab8e95d054e8519c48257fd3b55ef0b67b2530914a9a0b0fac DIST bstr-0.2.17.crate 330350 BLAKE2B 90c3a48d78b73d7e36a3da9fda0beae6e91ce534d17198ea8ceee0b613d03297f9dd8bca30e1ec5da01d1da359a1da72b2c2771b77c82bebab5006cafd665192 SHA512 883eac8210d14f89517b4dd5e25d02c97cf31602ec74498b5e186112ba0f154d47de8d1c41a8f4e5503f3b53c064e2c976b60bbfd63fc28b186bc006e00f20c2 DIST bytemuck-1.7.2.crate 27489 BLAKE2B 2541a7561eb34351f58266451a020858d8ac1ad30ecb95b97d576e72532cae37ef0b747e2259aaf6052b65f951586425044f824a00dfabf54bba9462edf94c2a SHA512 fae361f5abe67215a7591d421a0b713b77b437123c56e21dd00421e95ab86d9dd9b0bf1daa6623b833ea65681fbeeb58f6feab9d323964304a3250f24df1ace2 @@ -259,4 +260,5 @@ DIST yaml-rust-0.4.5.crate 47783 BLAKE2B 3e888c5cc7afb43eaf3aaab2b6f47b86df164a6 EBUILD broot-1.6.6.ebuild 4641 BLAKE2B 76d3feda454feaa5702d32df04941d7d3f763f7c13ae04689f277b53b3be4588fc9164f9fbf9b557ddb096fad391e49fe5e734aab8e2a3e1151f48661c19d6c5 SHA512 15df95cf92947c5c4a728bf3d52136d25dc3703e45753e258ee2a96eb830c23c4cb050963ab7d242f31af7518aa24bff184ad4d600a98b4476fe5fb6955c5778 EBUILD broot-1.7.3.ebuild 4565 BLAKE2B 801dc9e568488353d380df9a9ae15721cbcd7184498afa17afbc342cb40281bcaede4a3504198b6518d029c09e08ce672e771a14a76c93a3864a0a0f02f7a655 SHA512 3ccb697bb65c7a91e5f52a81776454a5b88f09db01e56f3203d9c2c462f049dbb0e5e417f376e5b5d18a6631616854535009d8915f7dc7f37ce55ddf7a5cf5e3 EBUILD broot-1.7.4.ebuild 4565 BLAKE2B e5d55d14c4e3553966fd01bd6b352f5106fa874c248bcc6842cd094a5f452166605b0451768f7d11d3a1526be98f7fc606db30cd7ebc7ae856d2e4ea9aa48453 SHA512 a67771c36a527a8125cbdfdf2be44ae7c8c8de7cec51a4237e4eabab9766f726d3f6412946b9a65cb2b560f47b2e3029962de16d67dfb65b30c394d2f6578898 +EBUILD broot-1.7.5.ebuild 4565 BLAKE2B e5d55d14c4e3553966fd01bd6b352f5106fa874c248bcc6842cd094a5f452166605b0451768f7d11d3a1526be98f7fc606db30cd7ebc7ae856d2e4ea9aa48453 SHA512 a67771c36a527a8125cbdfdf2be44ae7c8c8de7cec51a4237e4eabab9766f726d3f6412946b9a65cb2b560f47b2e3029962de16d67dfb65b30c394d2f6578898 MISC metadata.xml 564 BLAKE2B 0c694d4996ceefd6b05c3ff74f313d775c820d3eb0ae327cc2c130a608fd8595c64aa1217599d61952c6ade05415eaac53056c3fad30ccb5347df134715bb573 SHA512 5533ba0526ff6cbb801696c8ddba2dc393b158bdc2cf5dedc3b245362d924172e4bd321412cd6976735bcabe01d5e7e191e11b2718412b5e389e9251ca5ea695 diff --git a/app-misc/broot/broot-1.7.5.ebuild b/app-misc/broot/broot-1.7.5.ebuild new file mode 100644 index 000000000000..601332f18614 --- /dev/null +++ b/app-misc/broot/broot-1.7.5.ebuild @@ -0,0 +1,263 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CRATES=" +adler-1.0.2 +adler32-1.2.0 +ahash-0.4.7 +ahash-0.7.6 +aho-corasick-0.7.18 +ansi_colours-1.0.4 +ansi_term-0.11.0 +anyhow-1.0.45 +argh-0.1.6 +argh_derive-0.1.6 +argh_shared-0.1.6 +atty-0.2.14 +autocfg-1.0.1 +base64-0.13.0 +bet-1.0.0 +bincode-1.3.3 +bitflags-1.3.2 +bstr-0.2.17 +bytemuck-1.7.2 +byteorder-1.4.3 +cc-1.0.72 +cfg-if-1.0.0 +char_reader-0.1.1 +chrono-0.4.19 +clap-2.33.3 +cli-log-0.1.0 +cli-log-2.0.0 +clipboard-win-4.2.2 +color_quant-1.1.0 +coolor-0.3.1 +crc32fast-1.2.1 +crossbeam-0.8.1 +crossbeam-channel-0.5.1 +crossbeam-deque-0.8.1 +crossbeam-epoch-0.9.5 +crossbeam-queue-0.3.2 +crossbeam-utils-0.8.5 +crossterm-0.19.0 +crossterm-0.22.1 +crossterm_winapi-0.7.0 +crossterm_winapi-0.9.0 +csv-1.1.6 +csv-core-0.1.10 +csv2svg-0.1.5 +custom_error-1.9.2 +deflate-0.8.6 +deser-hjson-1.0.2 +directories-3.0.2 +directories-next-2.0.0 +dirs-sys-0.3.6 +dirs-sys-next-0.1.2 +either-1.6.1 +error-code-2.3.0 +fallible-iterator-0.2.0 +fallible-streaming-iterator-0.1.9 +file-size-1.0.3 +flate2-1.0.22 +fnv-1.0.7 +form_urlencoded-1.0.1 +getrandom-0.2.3 +gif-0.11.3 +git2-0.13.24 +glassbench-0.3.0 +glob-0.3.0 +hashbrown-0.9.1 +hashbrown-0.11.2 +hashlink-0.6.0 +heck-0.3.3 +hermit-abi-0.1.19 +id-arena-2.2.1 +idna-0.2.3 +image-0.23.14 +indexmap-1.7.0 +instant-0.1.12 +is_executable-1.0.1 +itoa-0.4.8 +jobserver-0.1.24 +jpeg-decoder-0.1.22 +lazy-regex-2.2.2 +lazy-regex-proc_macros-2.2.2 +lazy_static-1.4.0 +lazycell-1.3.0 +lfs-core-0.4.2 +libc-0.2.107 +libgit2-sys-0.12.25+1.3.0 +libsqlite3-sys-0.20.1 +libz-sys-1.1.3 +line-wrap-0.1.1 +linked-hash-map-0.5.4 +lock_api-0.4.5 +log-0.4.14 +matches-0.1.9 +memchr-2.4.1 +memmap-0.7.0 +memoffset-0.6.4 +minimad-0.7.1 +minimad-0.9.0 +miniz_oxide-0.3.7 +miniz_oxide-0.4.4 +mio-0.7.14 +miow-0.3.7 +ntapi-0.3.6 +num-integer-0.1.44 +num-iter-0.1.42 +num-rational-0.3.2 +num-traits-0.2.14 +num_cpus-1.13.0 +once_cell-1.8.0 +onig-6.3.1 +onig_sys-69.7.1 +open-1.7.1 +open-2.0.1 +parking_lot-0.11.2 +parking_lot_core-0.8.5 +pathdiff-0.2.1 +percent-encoding-2.1.0 +phf-0.9.0 +phf_generator-0.9.1 +phf_macros-0.9.0 +phf_shared-0.9.0 +pkg-config-0.3.22 +plist-1.3.1 +png-0.16.8 +ppv-lite86-0.2.15 +proc-macro-hack-0.5.19 +proc-macro2-1.0.32 +proc-status-0.1.1 +quick-xml-0.22.0 +quote-1.0.10 +rand-0.8.4 +rand_chacha-0.3.1 +rand_core-0.6.3 +rand_hc-0.3.1 +rayon-1.5.1 +rayon-core-1.9.1 +redox_syscall-0.2.10 +redox_users-0.4.0 +regex-1.5.4 +regex-automata-0.1.10 +regex-syntax-0.6.25 +remove_dir_all-0.5.3 +rusqlite-0.24.2 +ryu-1.0.5 +safemem-0.3.3 +same-file-1.0.6 +scoped_threadpool-0.1.9 +scopeguard-1.1.0 +secular-1.0.1 +serde-1.0.130 +serde_derive-1.0.130 +serde_json-1.0.71 +signal-hook-0.1.17 +signal-hook-0.3.10 +signal-hook-mio-0.2.1 +signal-hook-registry-1.4.0 +siphasher-0.3.7 +smallvec-1.7.0 +splitty-0.1.0 +str-buf-1.0.5 +strict-0.1.4 +strsim-0.8.0 +svg-0.8.2 +syn-1.0.81 +syntect-4.6.0 +tempfile-3.2.0 +termimad-0.10.3 +termimad-0.19.3 +terminal-clipboard-0.3.1 +termux-clipboard-0.1.0 +textwrap-0.11.0 +thiserror-1.0.30 +thiserror-impl-1.0.30 +tiff-0.6.1 +time-0.1.43 +time-0.3.5 +tinyvec-1.5.1 +tinyvec_macros-0.1.0 +toml-0.5.8 +umask-1.0.0 +unicode-bidi-0.3.7 +unicode-normalization-0.1.19 +unicode-segmentation-1.8.0 +unicode-width-0.1.9 +unicode-xid-0.2.2 +url-2.2.2 +users-0.11.0 +vcpkg-0.2.15 +vec_map-0.8.2 +version_check-0.9.3 +walkdir-2.3.2 +wasi-0.10.2+wasi-snapshot-preview1 +weezl-0.1.5 +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 +x11-clipboard-0.5.3 +xcb-0.10.1 +xml-rs-0.8.4 +yaml-rust-0.4.5 +" + +inherit bash-completion-r1 cargo + +DESCRIPTION="A new way to see and navigate directory trees" +HOMEPAGE="https://dystroy.org/broot/ https://github.com/Canop/broot" +SRC_URI="https://github.com/Canop/broot/archive/v${PV}.tar.gz -> ${P}.tar.gz + $(cargo_crate_uris)" + +LICENSE="Apache-2.0 BSD-2 BSD LGPL-3+ MIT ZLIB" +SLOT="0" +KEYWORDS="~amd64" +IUSE="X" + +RDEPEND=" + dev-libs/libgit2:= + X? ( x11-libs/libxcb:= ) +" +DEPEND="${RDEPEND}" +BDEPEND=">=virtual/rust-1.56" + +QA_FLAGS_IGNORED="usr/bin/broot" + +src_configure() { + local myfeatures=( $(usev X clipboard) ) + + cargo_src_configure --no-default-features +} + +src_prepare() { + default + + local mandate=$(date -r man/page +'%Y/%m/%d' || die) + sed -e "s|#version|${PV}|" \ + -e "s|#date|${mandate}|" \ + man/page > "${T}"/${PN}.1 || die +} + +src_install() { + cargo_src_install + + doman "${T}"/${PN}.1 + + local build_dir=( target/$(usex debug{,} release)/build/${PN}-*/out ) + cd ${build_dir[0]} || die + + newbashcomp ${PN}.bash ${PN} + newbashcomp br.bash br + + insinto /usr/share/zsh/site-functions + doins _${PN} + doins _br + + insinto /usr/share/fish/vendor_completions.d + doins ${PN}.fish + doins br.fish +} |