diff options
author | Karl-Johan Karlsson <creideiki@lysator.liu.se> | 2022-10-09 11:30:54 +0200 |
---|---|---|
committer | Florian Schmaus <flow@gentoo.org> | 2022-10-28 15:41:09 +0200 |
commit | 0fdd7c481533094c025276311a45e0e4d2787da0 (patch) | |
tree | 065444c7cebd13a834cac6eca1a2e837990c5713 /app-misc/broot | |
parent | dev-util/bats: bump version to 1.8.2 (diff) | |
download | gentoo-0fdd7c481533094c025276311a45e0e4d2787da0.tar.gz gentoo-0fdd7c481533094c025276311a45e0e4d2787da0.tar.bz2 gentoo-0fdd7c481533094c025276311a45e0e4d2787da0.zip |
app-misc/broot: add 1.16.1
Drop upgrade notice from pre-1.14.0, since no such versions remain in
the tree.
Signed-off-by: Karl-Johan Karlsson <creideiki@lysator.liu.se>
Closes: https://github.com/gentoo/gentoo/pull/27706
Signed-off-by: Florian Schmaus <flow@gentoo.org>
Diffstat (limited to 'app-misc/broot')
-rw-r--r-- | app-misc/broot/Manifest | 5 | ||||
-rw-r--r-- | app-misc/broot/broot-1.16.1.ebuild | 301 |
2 files changed, 306 insertions, 0 deletions
diff --git a/app-misc/broot/Manifest b/app-misc/broot/Manifest index 02e52db1aae7..c2d8bcb54aa6 100644 --- a/app-misc/broot/Manifest +++ b/app-misc/broot/Manifest @@ -15,11 +15,13 @@ DIST atty-0.2.14.crate 5470 BLAKE2B 2db856a9e898a430258f059aeaf7c844a153293e8856 DIST autocfg-1.1.0.crate 13272 BLAKE2B 7724055c337d562103f191f4e36cab469e578f0c51cc24d33624dea155d108a07578703766341fd6a4cc1ef52acda406e7dba1650d59115f18261281e5b40203 SHA512 df972c09abbdc0b6cb6bb55b1e29c7fed706ece38a62613d9e275bac46a19574a7f96f0152cccb0239efea04ee90083a146b58b15307696c4c81878cd12de28f DIST base64-0.13.0.crate 62070 BLAKE2B b957f65cdb1e28baeca0cefc92fa98be797409b7dabd15e0e88db6cdfb89779b662cba9f2270fbf3b7b66948fdc46c118b8040a78ab72049c48a928fa802bee0 SHA512 991a72999839daa232f508c5b24e7d3225e8a26db8d1d0e747881b115af9e408b92374e163b31e0b0d324c1c2e57e8e38d66861b61eb0a1dba87bb5871940151 DIST bet-1.0.1.crate 7163 BLAKE2B 173f38b378ec7a3bfbe6c180d0988af381cbec39d7637406c1d9a70ede2ba097dffcffe79161be9fbe82816c9b02e6d950eeec035882974232bf160db29459e5 SHA512 15309942fd6d8365d7dd31dd0051fc795236c08b098edb605465375d2132a40bc898bdefbac71f5717b248cea6d7b70b8cc72b9046daf684db76458d99288b48 +DIST bet-1.0.2.crate 7388 BLAKE2B 12f4177fe03ba6aabc8f09834c52f68d00d55331d27881afd0f1bde4d19284d3202e11dfecc8b4b5ce4874e0c18ecf70d66c9b01b725d80288e0df2e4181c890 SHA512 f674a4aec85da8aea93d07babed4f18700137332538eaf8dde5ce7a2eacac049b913758026af32987b1931b0047751a855409ce2c88108840677fb120320585e DIST bincode-1.3.3.crate 28958 BLAKE2B ea01d2efd8149ecba5e240ed989268b683d542a5f369902d316a4fd1ae4b8edd94e2d4a8cbff0e96646eb29facb04a84b249d74f0781dc3d29c8797ac975aa9f SHA512 49e39d71214dbb623a18e3852f6f2f2a5c3f951b64107d66c8adaa95a442a3283fba978bca41b126c9879b12833b945f478d2c77d35482b3577fc1a894e8e5f3 DIST bit_field-0.10.1.crate 10576 BLAKE2B 3a906092be85cce6af9e2ac48632d8545864c5fd1610e7e28731bd5cc44c9513f2c7eb52fa1be0b4eed65bffe130ddc98c95dfeba2f9de28ada4091396e5695d SHA512 4848d7ec592642913c7bd06cd3a0da49d3bb14291866cd22ead8e9a6b2939a787035d5cded87be3d2d3491283e31ea2cfb105885df4114720da98beb82990ee6 DIST bitflags-1.3.2.crate 23021 BLAKE2B eb990bb27b2bdeb66fd7212ce582cb36e1c616debbac85df642d0c82b25439e6bf9b1e811fac76b59e58ea3c1bbea6170d03a61e8f9a395e4334a0e2e2987eda SHA512 3c698f757b5cc62f815f9a1cce365c3d2dd88e4db71f331dff8bba86c2865f755b81cb4c9bfc59bd86b7643b0943f9e09a7c4f8ad75eb2ab0e714803d0129f62 DIST broot-1.14.2.tar.gz 10043403 BLAKE2B eabedf5eb0830b78563f8cdf146f86d972efacbc490db73937a1a3dcd2108e798b90cb4e24c53d5a62172c5f053ec25f006ea995ae233b200640e6a6090c87ef SHA512 ae48ca96a4c99a50bcb1ad752b3a83b6831c337ddfab6b7c4618f5b57f6262bab7ac677f5dea351d57eb708364be6213eab0f74aef9b18a800b38fdf91f991d5 DIST broot-1.15.0.tar.gz 10107762 BLAKE2B 753cb852483316ecb0a7ce74042fe53550f344eef2576951271d0290b9f6001c0c84a85b13f481698c6054ae06aa085e6c80e3e4cc5bb735a38fa8c1f256d853 SHA512 0a0e4c800ed43ed317c81202a5d18a8b6a4df4362d2e1c9383955dfc4a30b6b28e0bfb07e89a66ec10edc37250a65c0206a816e07bec6f810df32a2c48f4cc65 +DIST broot-1.16.1.tar.gz 10131628 BLAKE2B 645dc29aa994badd0f6ca8f2f52374edaad089618d0255a8ab61bc12a4207e7ea8c77af7e351908190ccd77bdd49bd824d14c9a188ddf867da54fff4c31e35b0 SHA512 4f71d4a1b46d346b7281fe7ae6d6f649bc8bd6ca0f8a0b138c36d13e2febdfa29d4a117253408b1834312c68702ceb4496ed768846dd5e3b1ea9f820b526adbf DIST bstr-0.2.17.crate 330350 BLAKE2B 90c3a48d78b73d7e36a3da9fda0beae6e91ce534d17198ea8ceee0b613d03297f9dd8bca30e1ec5da01d1da359a1da72b2c2771b77c82bebab5006cafd665192 SHA512 883eac8210d14f89517b4dd5e25d02c97cf31602ec74498b5e186112ba0f154d47de8d1c41a8f4e5503f3b53c064e2c976b60bbfd63fc28b186bc006e00f20c2 DIST bumpalo-3.10.0.crate 78915 BLAKE2B 94515190837765b47feaf94946c7e4da5b84e6faf7975bd5452bd9388d34e51c84315b80bc15b37c7f4ea8b4aaa0112707cdfc82d0651eeb8b63d2e7bd247660 SHA512 60c686534588524250ea7cb43510dba69d24999769b719127ee07f6015530ac2c5778d9b93477ab075bfc15c13e3ef9adc29ac24059067ac32e109347cd509f8 DIST bumpalo-3.11.0.crate 80945 BLAKE2B a740a674d0922794cc71b87a8bd686f677f8d0b38d88cc43467b7f8f6d1368ef5cff99bf10867d3c8af9b79b71deca7e5bfe78670b7890b04e468359780d8c76 SHA512 f747b5743bd2825c62c363ec49f1eccc492d7cf8cca8101aa9733f32489685c1777344dc6183f83c772f1067f9648b953d3ae1034976a14295f252f1ee7788fa @@ -149,6 +151,7 @@ DIST memmap-0.7.0.crate 15214 BLAKE2B 44a5bde9b85b2c378fd4c6ebfaa322ef8d0076472d DIST memmap2-0.5.7.crate 26229 BLAKE2B 4e7751946a870dc3a3978daa51e524a7bb993f100debb778fe1fabe64f61dbe9c01042f02242d8b8be583a35672696454355e79981accc29fdb78989f8e0f12f SHA512 467e55a193497749f3dc7ed228f85622d072e07929a0c76904f0aa7a605f7689188e2b980ab17737301656edfcf86d851a482088c2f73f2132421612bbf08375 DIST memoffset-0.6.5.crate 7686 BLAKE2B 9a797388702389076c426052c3d54dc62802d5db8bc5c9c83990429f2ffaec4fab4c7dd3f09cd0704d1ea555e87976563bb43408ba54b5e66ce7e406d4604009 SHA512 11bdd9185b99dfee8e659e051b09ee301c7142a372a8117864745a5085c015436d2efbb1478192886f09cbc562529e209d2e3325d94938a64bc75b1d91d2bf3f DIST minimad-0.9.0.crate 19223 BLAKE2B 2d54da14a5eccb00e34b475d394f58a4fd24924ffc83fd8693659c0c5983806af41f9d17acfe50cc58e5e3f764074ed53fba15917b81cec0eafbddd4913d001b SHA512 e4deb76ea2f9e1cb0ca05406108ffa1d9a9ecf8af3752f6d3272e0fa595c4b659357084dc12f769ac843e13f7a9216fb7b470801788d9b0476001251bb950845 +DIST minimad-0.9.1.crate 19494 BLAKE2B e2380d676d1635409d013dda401289f52c0db05e6e0318c8c73ef109c7d5c4f99ebc731d2164a22d19ef63af020887faa792c552c4f5e116abf9043c47b6a197 SHA512 6b98b28322db8bcac5e1b6a095baf335e8049eff8430fdf5ec50c78589e971b32abe5821dc2151d39c3ae64a1f47c16f677c78b53393f9eaf321a59a32a1ccf8 DIST miniz_oxide-0.5.3.crate 53452 BLAKE2B ae99baa01c493b5eb779595be0d77a064c4624397676d3a023cc2a54941b0b3e7c80492ac47c8a28d78ec36e2f04aebe5af79f0e714380061c5e0139b9dfd9fb SHA512 cc2971ee2a2e891cdb05c1942f533b11a557199421910266ec2e4848a16dfe6882f1c08843035443935d695882720402356b4df4a50ed131a8f5fcc0591a72c5 DIST miniz_oxide-0.5.4.crate 53485 BLAKE2B 8836697bdc3707f89fa869e6b09a36ee4d83ce2ae0a53bc7b06bbad70ed7ac25f8f67d841f3f611f6756d891f0eddb0abf7fcaf87570f8ab32220f113583ea6d SHA512 589dac16ca9c2f94e6fa92b68bcf51d140f46562cbb3a1b791b75c59feae51da5ec16042604bbd6bcb7d7f0c7f75e98ea1af8cf42d177133a5eaa86429cf3114 DIST mio-0.8.4.crate 93013 BLAKE2B bc9722d2211195dcfaf574d83b2967d299eb02ff40b4fb4df2eb6b08d78e018ae1a9e198f43268ab2d38733feaa8298e9736dec9fb9add66c401d57406fd1292 SHA512 b44675c90daa37336a25e7eef53cdc664e6f52590ed4955bac82641baf8099d3d94850da79d985255eb74b61a499b1ea4a9d7309f6ea4c41454b3dbb090b70ee @@ -248,8 +251,10 @@ DIST syntect-no-panic-4.6.1.crate 732925 BLAKE2B c93d1a0c3ad61c4c091968b5c033022 DIST tempfile-3.3.0.crate 27578 BLAKE2B e98c5ed4c59b6ff411e89ad4eb529bbe15264d6744edca8675c89bfb4397fbbb8da60bbc582da24bf9953afd9bb17cdb22654d933468697e9fa9e9903e6a7c77 SHA512 ba6faafb2dd56d694efe424752099a2efb50316afc0a4db9fdb7620ae3f1a31dfbb2a7b41724878cb977fa11f7568a406bd3b6a4f7cfc0b88b86b2cc616b953e DIST termcolor-1.1.3.crate 17242 BLAKE2B 5aef69c0004081bd3cc4d531d13d63627cc02313868c0faab62358d13abfa7b4ba82f142c2801d25a6ae46ecbc8b7bdbeaa21c9105ea3b8950ab6a38cdb88513 SHA512 5838fcbfd70f300cb4b62aab50565db52074c56b152ccc8ac1173e4676c0d5a636271bf5a645a77da6e1d4edbf0091af2cd4dd6d73b85c3d198c760898c06f3a DIST termimad-0.20.2.crate 353272 BLAKE2B f5b79041f015c4891772184764e6f8fbdf96b5fe1b8a9e5df5212f24ee4c065d6aa65352f1cc45eade14ee499a97f547f12f73003fdcbf575aab43b2888715cb SHA512 424a54b7368ba9aba244f857f5600c0719e6be28dd968d6542080ae1ea646ad24de934ffe3abd27f6edbb42e0c103c7baffa3be691d3015fb36d319528323f60 +DIST termimad-0.20.3.crate 354190 BLAKE2B e405b20d67f5d54805d2906569e7a817a040693b1e2c15b7b9a3603701a9d4cc30ea64b69cbc1419e43590b0367d5ca24951774eee6177214c1d15c3453ab307 SHA512 7d83d49c0ce02ae91872c92f4d9a4c6ecc52d59afa4d948ee32bb7bfea01527b4af61557bca1b8bee1378fc72d22ed68b43e959dc96eee4f18c47ed6b35c51c7 DIST terminal-clipboard-0.3.1.crate 5597 BLAKE2B a05f67c1ebce2129a2b8130cd84fbed579c67ae4d46bc4f233e6ae647a2693e5c1257ce3882a21345b596c487cbf5b339ef907f417aafea4bb6f980113aa31eb SHA512 b29a81d2737271cc4e60115e473ea3af80ce45f078c99fee573cbd35da8e27c939ff1aa86dd86a3e2ea9352a28f2fd3492e28be63c3eb0dad53974d06b43c346 DIST terminal-light-1.0.0.crate 38533 BLAKE2B b4b42796d84d18414955eabac8798ca26479e1189ecd0ba037c89ad4ec6fd3f9291cc2d6f87bdb3e9e4bf671006c8b0555b9e18d95f195ee4e82d4611109b6c9 SHA512 2414c6cd98ae293556552ad0a5fb198f148be05dc1336bee65b31d864aaecf4f85442ed9f1c34bd1a5968e10e6d015307e32173e75c2a80fca9f3df3374db598 +DIST terminal-light-1.0.1.crate 39115 BLAKE2B b4a8ec843c84a22b7de0f607ed4ad212f503142ff3e0085903c7faa2a9c0058f7de019501dd04becb7913f7ab6f988d79d07efdd6d42cfe233f0ba3468367edb SHA512 0547e006add17b0a363bbe792a1cab67832af3fe148e85b5a00a70651a01e8d8fd8a7cc1e720093d4223e50fe10277389d72acd5b3b738bfa6027be35e7fbb80 DIST termux-clipboard-0.1.0.crate 2033 BLAKE2B 33003b25e6236370b2423472e87deaac8ee282c375e02faa3575aaec7ef547674f0218a50f0a2d42ff75dcf088ef31d94f44c4b05c0f526dddbaef2e06a8c722 SHA512 acd972d9c9eaa20dfadf1ec01274ed27fb33d16d97b504d8f41fea9c6598557a32d939d0a8a8585d919ee9d1b411d714851d662b5bc7d1a5f3b97d8cd423a434 DIST textwrap-0.15.0.crate 52998 BLAKE2B f6c3057ea6ffde88dd9824cd3159d398316d9d21f327d2af59239ff84d79f893a9d0e96dfbd883aab6c64b631dc99457018e38baf14d40789f02d633425ded86 SHA512 f44271c542c22f17a4e3a459255f95e6c02d999f7d6bc8414d3973fd4ac9353aa4ef436932a45340738126905463d776902715feaa9329371f8a14f14b5a7bfd DIST thiserror-1.0.31.crate 18013 BLAKE2B 5a46332efc602f8ce864024a538379b23b4586c04b18bf01b32b3cafae3ad90ae0c1ae5639cad555c01767c20f0109f87384918cb15a7ce51437094e70a2e544 SHA512 0e11aba54d38fc164c65b9357d1738ca96af2bc7bc2bcacfc4efc6f5c26a594effbb5e47aef46772ccafbe88871825a517920030572b79fae3d305550bfa6431 diff --git a/app-misc/broot/broot-1.16.1.ebuild b/app-misc/broot/broot-1.16.1.ebuild new file mode 100644 index 000000000000..9eb76229ba4c --- /dev/null +++ b/app-misc/broot/broot-1.16.1.ebuild @@ -0,0 +1,301 @@ +# Copyright 2021-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CRATES=" +adler-1.0.2 +ahash-0.4.7 +ahash-0.7.6 +aho-corasick-0.7.19 +android_system_properties-0.1.5 +ansi_colours-1.1.1 +anyhow-1.0.64 +argh-0.1.8 +argh_derive-0.1.8 +argh_shared-0.1.8 +atty-0.2.14 +autocfg-1.1.0 +base64-0.13.0 +bet-1.0.2 +bincode-1.3.3 +bit_field-0.10.1 +bitflags-1.3.2 +bstr-0.2.17 +bumpalo-3.11.0 +bytemuck-1.12.1 +byteorder-1.4.3 +cc-1.0.73 +cfg-if-1.0.0 +char_reader-0.1.1 +chrono-0.4.22 +clap-3.2.20 +clap_complete-3.2.4 +clap_derive-3.2.18 +clap_lex-0.2.4 +cli-log-2.0.0 +clipboard-win-4.4.2 +color_quant-1.1.0 +coolor-0.5.0 +core-foundation-sys-0.8.3 +crc32fast-1.3.2 +crokey-0.4.3 +crokey-proc_macros-0.4.0 +crossbeam-0.8.2 +crossbeam-channel-0.5.6 +crossbeam-deque-0.8.2 +crossbeam-epoch-0.9.10 +crossbeam-queue-0.3.6 +crossbeam-utils-0.8.11 +crossterm-0.23.2 +crossterm_winapi-0.9.0 +csv-1.1.6 +csv-core-0.1.10 +csv2svg-0.1.8 +custom_error-1.9.2 +deser-hjson-1.0.2 +directories-4.0.1 +directories-next-2.0.0 +dirs-sys-0.3.7 +dirs-sys-next-0.1.2 +doc-comment-0.3.3 +either-1.8.0 +error-code-2.3.1 +exr-1.5.0 +fallible-iterator-0.2.0 +fallible-streaming-iterator-0.1.9 +fastrand-1.8.0 +file-size-1.0.3 +flate2-1.0.24 +flume-0.10.14 +fnv-1.0.7 +form_urlencoded-1.1.0 +futures-core-0.3.24 +futures-sink-0.3.24 +getrandom-0.2.7 +gif-0.11.4 +git2-0.14.4 +glassbench-0.3.3 +glob-0.3.0 +half-1.8.2 +hashbrown-0.12.3 +hashbrown-0.9.1 +hashlink-0.6.0 +heck-0.3.3 +heck-0.4.0 +hermit-abi-0.1.19 +iana-time-zone-0.1.47 +id-arena-2.2.1 +idna-0.3.0 +image-0.24.3 +include_dir-0.7.2 +include_dir_macros-0.7.2 +indexmap-1.9.1 +instant-0.1.12 +is_executable-1.0.1 +itoa-0.4.8 +itoa-1.0.3 +jobserver-0.1.24 +jpeg-decoder-0.2.6 +js-sys-0.3.60 +lazy-regex-2.3.0 +lazy-regex-proc_macros-2.3.0 +lazy_static-1.4.0 +lebe-0.5.2 +lfs-core-0.11.0 +libc-0.2.132 +libgit2-sys-0.13.4+1.4.2 +libsqlite3-sys-0.20.1 +libz-sys-1.1.8 +line-wrap-0.1.1 +linked-hash-map-0.5.6 +lock_api-0.4.8 +log-0.4.17 +memchr-2.5.0 +memmap2-0.5.7 +memoffset-0.6.5 +minimad-0.9.1 +miniz_oxide-0.5.4 +mio-0.8.4 +nanorand-0.7.0 +nix-0.22.3 +num-integer-0.1.45 +num-rational-0.4.1 +num-traits-0.2.15 +num_cpus-1.13.1 +num_threads-0.1.6 +once_cell-1.14.0 +onig-6.4.0 +onig_sys-69.8.1 +open-1.7.1 +opener-0.5.0 +os_str_bytes-6.3.0 +parking_lot-0.12.1 +parking_lot_core-0.9.3 +pathdiff-0.2.1 +percent-encoding-2.2.0 +phf-0.10.1 +phf_generator-0.10.0 +phf_macros-0.10.0 +phf_shared-0.10.0 +pin-project-1.0.12 +pin-project-internal-1.0.12 +pkg-config-0.3.25 +plist-1.3.1 +png-0.17.6 +ppv-lite86-0.2.16 +proc-macro-error-1.0.4 +proc-macro-error-attr-1.0.4 +proc-macro-hack-0.5.19 +proc-macro2-1.0.43 +proc-status-0.1.1 +quick-xml-0.22.0 +quote-1.0.21 +rand-0.8.5 +rand_chacha-0.3.1 +rand_core-0.6.3 +rayon-1.5.3 +rayon-core-1.9.3 +redox_syscall-0.2.16 +redox_users-0.4.3 +regex-1.6.0 +regex-automata-0.1.10 +regex-syntax-0.6.27 +remove_dir_all-0.5.3 +rgb-0.8.33 +rusqlite-0.24.2 +ryu-1.0.11 +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.144 +serde_derive-1.0.144 +serde_json-1.0.85 +signal-hook-0.3.14 +signal-hook-mio-0.2.3 +signal-hook-registry-1.4.0 +siphasher-0.3.10 +smallvec-1.9.0 +snafu-0.7.1 +snafu-derive-0.7.1 +spin-0.9.4 +splitty-1.0.0 +str-buf-1.0.6 +strict-0.1.4 +strsim-0.10.0 +svg-0.8.2 +svg-0.10.0 +syn-1.0.99 +syntect-no-panic-4.6.1 +tempfile-3.3.0 +termcolor-1.1.3 +termimad-0.20.3 +terminal-clipboard-0.3.1 +terminal-light-1.0.1 +termux-clipboard-0.1.0 +textwrap-0.15.0 +thiserror-1.0.34 +thiserror-impl-1.0.34 +threadpool-1.8.1 +tiff-0.7.3 +time-0.1.44 +time-0.3.14 +tinyvec-1.6.0 +tinyvec_macros-0.1.0 +toml-0.5.9 +umask-2.0.0 +unicode-bidi-0.3.8 +unicode-ident-1.0.3 +unicode-normalization-0.1.21 +unicode-segmentation-1.9.0 +unicode-width-0.1.9 +url-2.3.1 +users-0.11.0 +vcpkg-0.2.15 +version_check-0.9.4 +walkdir-2.3.2 +wasi-0.10.0+wasi-snapshot-preview1 +wasi-0.11.0+wasi-snapshot-preview1 +wasm-bindgen-0.2.83 +wasm-bindgen-backend-0.2.83 +wasm-bindgen-macro-0.2.83 +wasm-bindgen-macro-support-0.2.83 +wasm-bindgen-shared-0.2.83 +weezl-0.1.7 +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-sys-0.36.1 +windows_aarch64_msvc-0.36.1 +windows_i686_gnu-0.36.1 +windows_i686_msvc-0.36.1 +windows_x86_64_gnu-0.36.1 +windows_x86_64_msvc-0.36.1 +x11-clipboard-0.5.3 +xcb-0.10.1 +xml-rs-0.8.4 +xterm-query-0.1.0 +xterm-query-0.2.0 +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:= + sys-libs/zlib + X? ( x11-libs/libxcb:= ) +" +DEPEND="${RDEPEND}" +BDEPEND=">=virtual/rust-1.60" + +QA_FLAGS_IGNORED="usr/bin/${PN}" + +src_configure() { + export RUSTFLAGS="-Cstrip=none ${RUSTFLAGS}" #835400 + 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 +} |