diff options
Diffstat (limited to 'sys-apps/bat')
-rw-r--r-- | sys-apps/bat/Manifest | 1 | ||||
-rw-r--r-- | sys-apps/bat/bat-0.17.1-r1.ebuild | 200 |
2 files changed, 201 insertions, 0 deletions
diff --git a/sys-apps/bat/Manifest b/sys-apps/bat/Manifest index 14ff114c82f6..4f9d3822fd81 100644 --- a/sys-apps/bat/Manifest +++ b/sys-apps/bat/Manifest @@ -238,5 +238,6 @@ DIST xml-rs-0.8.3.crate 52547 BLAKE2B cffdece0269b9c04c763481af3a3a25df53d759355 DIST yaml-rust-0.4.3.crate 45768 BLAKE2B 6af7374439000dc5e8795b26fccb1bc691040846f844e10765fe5df06237f5cf52752b0f9d25ed7c6f62337f628ee7be2e024f8aeb6b55a7c76f0d3b2ad0489c SHA512 31b0236fe041706befa938cdeb9c74940daccd2f80bdbd4e0e890901c868ecffc39367a41914c8bb98373d1002904f18b18ff13a08bbecd19dec634c08b7a7a3 DIST yaml-rust-0.4.4.crate 48359 BLAKE2B 3c504a593663eff6ccdc96b949f2bf5ff9e9030b2cb08dd4bdb6ab2d0409513d4454ae99af4afe69a1dea1d7560454f2eed434cc6ded2c0cbaf9bedea2f3be85 SHA512 63cb5518101a8c841700efa556a14199d136ab390da3b79c9d11a54789e497d0ca0f420bfa31fa75257864beac619d1b28182714c99a8c92f44e333b299d1d6a EBUILD bat-0.15.4.ebuild 3975 BLAKE2B 1f53e7236725360091e06e9568a0b00f4e5193c7842ad4fe1929feb0021cd1c3f24dada83504b97d149517687802b33feb8760159a8f9f7f93127ffed69452e7 SHA512 301acd3940aad422b93aaae0cc7f6695cc7e6fcf3d93b70a40141c7e4e4000ca0dc40ff8e23dde4424b2f08b79e841e66e728677bf62fadbd5962685b38b30a7 +EBUILD bat-0.17.1-r1.ebuild 3825 BLAKE2B 0e3129e4e0a406384f96b0669836708e20c655b782bc8cdf31772c3adb487018c89f794a319092901b3497e85625260db3680a5b7dd813b7461fd58c3d20ed63 SHA512 3d4d476f9c020c583c681752c0d039fc7abbc31c9ecfe5ef4fef04786e3b77a27ae619f2231c4fb54de4c60bc79d2b74668bca5fd45d5111f916f5e18df6d4dc EBUILD bat-0.17.1.ebuild 3817 BLAKE2B 2b07c6231ec1cf4380875f5b8384fc357fc24be96d3f2545d60f5ba189b2414e35a666d70173f10fb8e88b760b8482a0f9e5134a806a853dd2571fa571c2612f SHA512 444fe3586c0f429fb26c87cb495c1dcde535f52257363fcfc0081277d06fecbe3fb7ce998b20eca164758aa73f30f29f9081f34e621e5049c50d80ff23677477 MISC metadata.xml 818 BLAKE2B a006c6a94fd0c73b87ec6395c42e29e0b6986224606ee98d1eb058b22bb7530048035fbad80f58696d651e4192bcd0c841610011390a7e043a425520b92a9df8 SHA512 0f74f00f4e135e8daaa1744b3d3c7b05d1d5b8c1bc1a6bdeb72d9a7375c5ec2a15be332489ba8d9f7bb24d3d2c695ed592407b672990e58a762bf754780a100e diff --git a/sys-apps/bat/bat-0.17.1-r1.ebuild b/sys-apps/bat/bat-0.17.1-r1.ebuild new file mode 100644 index 000000000000..a3647111ee7a --- /dev/null +++ b/sys-apps/bat/bat-0.17.1-r1.ebuild @@ -0,0 +1,200 @@ +# Copyright 2019-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +CRATES=" +adler-0.2.3 +aho-corasick-0.7.13 +ansi_colours-1.0.1 +ansi_term-0.11.0 +ansi_term-0.12.1 +arrayref-0.3.6 +arrayvec-0.5.1 +assert_cmd-1.0.1 +atty-0.2.14 +autocfg-1.0.1 +base64-0.12.3 +bincode-1.3.1 +bitflags-1.2.1 +bit-set-0.5.2 +bit-vec-0.6.2 +blake2b_simd-0.5.10 +block-buffer-0.7.3 +block-padding-0.1.5 +bstr-0.2.13 +byteorder-1.3.4 +byte-tools-0.3.1 +cc-1.0.60 +cfg-if-0.1.10 +chrono-0.4.19 +clap-2.33.3 +clircle-0.1.3 +console-0.13.0 +constant_time_eq-0.1.5 +content_inspector-0.2.4 +crc32fast-1.2.0 +crossbeam-utils-0.7.2 +difference-2.0.0 +digest-0.8.1 +dirs-3.0.1 +dirs-sys-0.3.5 +doc-comment-0.3.3 +dtoa-0.4.6 +encode_unicode-0.3.6 +encoding-0.2.33 +encoding-index-japanese-1.20141219.5 +encoding-index-korean-1.20141219.5 +encoding-index-simpchinese-1.20141219.5 +encoding-index-singlebyte-1.20141219.5 +encoding_index_tests-0.1.4 +encoding-index-tradchinese-1.20141219.5 +error-chain-0.12.4 +fake-simd-0.1.2 +fancy-regex-0.3.5 +flate2-1.0.18 +float-cmp-0.8.0 +fnv-1.0.7 +fuchsia-cprng-0.1.1 +generic-array-0.12.3 +getrandom-0.1.15 +git2-0.13.12 +glob-0.3.0 +globset-0.4.6 +hashbrown-0.9.1 +hermit-abi-0.1.16 +idna-0.2.0 +indexmap-1.6.0 +itoa-0.4.6 +jobserver-0.1.21 +lazycell-1.3.0 +lazy_static-1.4.0 +libc-0.2.78 +libgit2-sys-0.12.14+1.1.0 +libz-sys-1.1.2 +line-wrap-0.1.1 +linked-hash-map-0.5.3 +log-0.4.11 +maplit-1.0.2 +matches-0.1.8 +memchr-2.3.3 +miniz_oxide-0.4.2 +nix-0.19.0 +normalize-line-endings-0.3.0 +num-integer-0.1.43 +num-traits-0.2.12 +onig-6.1.0 +onig_sys-69.5.1 +opaque-debug-0.2.3 +path_abs-0.5.0 +percent-encoding-2.1.0 +pest-2.1.3 +pest_derive-2.1.0 +pest_generator-2.1.3 +pest_meta-2.1.3 +pkg-config-0.3.18 +plist-1.0.0 +predicates-1.0.5 +predicates-core-1.0.0 +predicates-tree-1.0.0 +proc-macro2-1.0.24 +quote-1.0.7 +rand-0.4.6 +rand_core-0.3.1 +rand_core-0.4.2 +rdrand-0.4.0 +redox_syscall-0.1.57 +redox_users-0.3.5 +regex-1.3.9 +regex-syntax-0.6.18 +remove_dir_all-0.5.3 +rust-argon2-0.8.2 +ryu-1.0.5 +safemem-0.3.3 +same-file-1.0.6 +semver-0.11.0 +semver-parser-0.10.0 +serde-1.0.117 +serde_derive-1.0.117 +serde_json-1.0.58 +serde_yaml-0.8.14 +sha-1-0.8.2 +shell-words-1.0.0 +std_prelude-0.2.12 +strsim-0.8.0 +syn-1.0.42 +syntect-4.4.0 +tempdir-0.3.7 +terminal_size-0.1.13 +term_size-0.3.2 +textwrap-0.11.0 +thread_local-1.0.1 +tinyvec-0.3.4 +treeline-0.1.0 +typenum-1.12.0 +ucd-trie-0.1.3 +unicode-bidi-0.3.4 +unicode-normalization-0.1.13 +unicode-width-0.1.8 +unicode-xid-0.2.1 +url-2.1.1 +vcpkg-0.2.10 +vec_map-0.8.2 +version_check-0.9.2 +wait-timeout-0.2.0 +walkdir-2.3.1 +wasi-0.9.0+wasi-snapshot-preview1 +wild-2.0.4 +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 +xml-rs-0.8.3 +yaml-rust-0.4.4 +" + +inherit cargo + +DESCRIPTION="cat(1) clone with syntax highlighting and Git integration" +HOMEPAGE="https://github.com/sharkdp/bat" +SRC_URI="https://github.com/sharkdp/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" +SRC_URI+=" $(cargo_crate_uris ${CRATES})" + +LICENSE="Apache-2.0 Boost-1.0 BSD BSD-2 CC0-1.0 ISC LGPL-3+ MIT Apache-2.0 Unlicense ZLIB" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" + +BDEPEND="virtual/pkgconfig" +DEPEND=" + >=dev-libs/libgit2-1.1.0:=[threads] + dev-libs/oniguruma:= + sys-libs/zlib +" +# >app-backup/bacula-9.2[qt5] has file collisions, #686118 +RDEPEND="${DEPEND} + !>app-backup/bacula-9.2[qt5] +" + +DOCS=( README.md doc/alternatives.md ) + +QA_FLAGS_IGNORED="/usr/bin/bat" + +src_configure() { + export RUSTONIG_SYSTEM_LIBONIG=1 + export LIBGIT2_SYS_USE_PKG_CONFIG=1 + export PKG_CONFIG_ALLOW_CROSS=1 +} + +src_install() { + cargo_src_install + + einstalldocs + + doman target/release/build/bat-*/out/assets/manual/bat.1 + + insinto /usr/share/fish/vendor_completions.d/ + doins target/release/build/bat-*/out/assets/completions/bat.fish + + insinto /usr/share/zsh/site-functions/ + newins target/release/build/bat-*/out/assets/completions/bat.zsh _${PN} +} |