diff options
author | Sam James <sam@gentoo.org> | 2021-10-30 00:21:10 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-10-30 00:21:10 +0100 |
commit | 656325ace74176cde52db14940c8a225367609c1 (patch) | |
tree | 5aa470503b6b994df638bcee51485681f4c391ab /dev-util/git-delta | |
parent | sci-libs/tensorflow: add hwloc subslot operator (diff) | |
download | gentoo-656325ace74176cde52db14940c8a225367609c1.tar.gz gentoo-656325ace74176cde52db14940c8a225367609c1.tar.bz2 gentoo-656325ace74176cde52db14940c8a225367609c1.zip |
dev-util/git-delta: add 0.9.2
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-util/git-delta')
-rw-r--r-- | dev-util/git-delta/Manifest | 1 | ||||
-rw-r--r-- | dev-util/git-delta/git-delta-0.9.2.ebuild | 170 |
2 files changed, 171 insertions, 0 deletions
diff --git a/dev-util/git-delta/Manifest b/dev-util/git-delta/Manifest index ba7611d4bd2a..fdd244638aaf 100644 --- a/dev-util/git-delta/Manifest +++ b/dev-util/git-delta/Manifest @@ -39,6 +39,7 @@ DIST getrandom-0.2.3.crate 26261 BLAKE2B 3e52a87b9355f850e07e5080c20e1ab3acfa927 DIST git-delta-0.7.1.tar.gz 1064009 BLAKE2B 3932d4adb5f696b92bf9d8987d90b2521401211944f9a8c0e5587e5dbcdf9ba93406547dee42885ca248687209c56d59e0f079f9e583f9b70104c09a306516a3 SHA512 cac2fdb9460ee49e8855a99ba2d9625205f050ef6be286c5ab55950aa256243ee5f367b8c2a333759a6a0399c89edb33ec97014296403a9ca4ab9b3d9704530d DIST git-delta-0.8.3.tar.gz 1069452 BLAKE2B a27fe07538acfd6346bc12f2e4ad03396737e268ce4653b25c908fbcc7bb47fe2ed76550dc431ab80bf9ab86746d4cd9b551ea68a47e603ae9fe99aa935df7bf SHA512 8cda4255c878be8dc4dc841dc1778f992c7b01c7a56965babfff9cd0dd085b751e79ffb87450d50d78fd094f2ab851f468c0e88ca4e2f0becf6ebbc122ce602d DIST git-delta-0.9.1.tar.gz 1126328 BLAKE2B aba95ca232a23522ef9d5e32c1263f9597c88f3e397a1f2a5cda2fad3256f1a17adfcca4ca2f4ae0f3eb98e7398a238f9b31251c494a0ff8650df59946f56a6a SHA512 e667a08a7d2ea8db8033cb7c9c19b7c0536894557089ee5e9f811cb264154798840085b1151f3410772f7e00b35f0ac2508cb4f82f8d78cf0ed395b0c0beda7a +DIST git-delta-0.9.2.tar.gz 1126468 BLAKE2B 46ed5598965553f6c9df28863efd0304deecedc41970701fe46d8698494cdfd371bc463845586b9e3a1150034a36abde403d6eb5185c79bf65d918418690beea SHA512 14557103e0a5edf1c307c5036dc092fbab119952d2eef95709e3a363d913ae11e3d8fb7bf16e7dd26bd36e8a7d51c49e70edb002fce8f00b428c7ee330d49d01 DIST git2-0.13.17.crate 181726 BLAKE2B be159d2f3602a65b133d6bdb3d949a48b34029b7a491961469d7a5a6dd8d471b0460ea53e802f69a216ed6111d0329e8a8ee29024af3753a185258f1268b5ead SHA512 5d95ff8d5c62df55b9995f2319dc350dfc9c44b90bb594f6b90df4985f8ebed50211e380885826251aa4e86eef1cfac99f648fba5f91cd4b725b0d05b3800fc9 DIST git2-0.13.20.crate 190365 BLAKE2B c4f3420f19cdfb420576bc8c38dc45d1c7f3b74b5a2d23c85154dec35916d3d588c86aaa50eca52b427e5d044a07ede7cd1445ef1ba53ce08c70ff39f7ac56bc SHA512 2c0a9cf3391f4ea5eaa48c8fcc08a1cf27b877cc4960332bfdbb95620f9b161f720c35f87bf98e3771749a01444bf8e2337e6d8fc1a34962d4b041473115293f DIST git2-0.13.23.crate 192186 BLAKE2B d3bd3c54abc7b04c2948edaf35adac671a391c03ecc80c53e6ad0c9f14798d0d9fcd308a9a30424ffe5b1f6da1e6e20751d98eb47c62e123e3bbb16cb11ca32a SHA512 e60f21affcef26aac16181d48ecaa67b6a9578ce5fe9e62b6c460b21bc02feb858fe25f07f7d7443b8eeae88974f1ad76a998972e002a6c5da5aec4c1172c401 diff --git a/dev-util/git-delta/git-delta-0.9.2.ebuild b/dev-util/git-delta/git-delta-0.9.2.ebuild new file mode 100644 index 000000000000..b8bc703508aa --- /dev/null +++ b/dev-util/git-delta/git-delta-0.9.2.ebuild @@ -0,0 +1,170 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CRATES=" + adler-0.2.3 + aho-corasick-0.7.15 + ansi_colours-1.0.4 + ansi_term-0.11.0 + ansi_term-0.12.1 + arrayvec-0.5.2 + atty-0.2.14 + autocfg-1.0.1 + base64-0.13.0 + bincode-1.3.1 + bitflags-1.3.2 + box_drawing-0.1.2 + bstr-0.2.15 + bytelines-2.2.2 + byteorder-1.3.4 + cc-1.0.66 + cfg-if-0.1.10 + cfg-if-1.0.0 + chrono-0.4.19 + clap-2.33.3 + console-0.15.0 + crc32fast-1.2.1 + ctrlc-3.2.1 + dirs-3.0.2 + dirs-next-2.0.0 + dirs-sys-0.3.6 + dirs-sys-next-0.1.1 + either-1.6.1 + encode_unicode-0.3.6 + error-chain-0.12.4 + flate2-1.0.19 + fnv-1.0.7 + form_urlencoded-1.0.0 + getrandom-0.1.16 + getrandom-0.2.3 + git2-0.13.23 + globset-0.4.8 + grep-cli-0.1.6 + hashbrown-0.8.2 + heck-0.3.2 + hermit-abi-0.1.17 + idna-0.2.0 + indexmap-1.5.2 + itertools-0.10.1 + itoa-0.4.7 + jobserver-0.1.21 + lazy_static-1.4.0 + lazycell-1.3.0 + libc-0.2.103 + libgit2-sys-0.12.24+1.3.0 + libz-sys-1.1.2 + line-wrap-0.1.1 + linked-hash-map-0.5.3 + log-0.4.11 + matches-0.1.8 + memchr-2.3.4 + memoffset-0.6.4 + miniz_oxide-0.4.3 + nix-0.23.0 + num-integer-0.1.44 + num-traits-0.2.14 + once_cell-1.8.0 + onig-6.1.1 + onig_sys-69.6.0 + pathdiff-0.2.1 + percent-encoding-2.1.0 + pkg-config-0.3.19 + plist-1.0.1 + proc-macro-error-1.0.4 + proc-macro-error-attr-1.0.4 + proc-macro2-1.0.24 + quote-1.0.8 + redox_syscall-0.1.57 + redox_syscall-0.2.10 + redox_users-0.3.5 + redox_users-0.4.0 + regex-1.4.6 + regex-automata-0.1.10 + regex-syntax-0.6.22 + ryu-1.0.5 + safemem-0.3.3 + same-file-1.0.6 + serde-1.0.118 + serde_derive-1.0.118 + serde_json-1.0.61 + shell-words-1.0.0 + smol_str-0.1.18 + strsim-0.8.0 + structopt-0.3.25 + structopt-derive-0.4.18 + syn-1.0.57 + syntect-4.6.0 + termcolor-1.1.2 + terminal_size-0.1.15 + textwrap-0.11.0 + tinyvec-1.1.0 + tinyvec_macros-0.1.0 + unicode-bidi-0.3.4 + unicode-normalization-0.1.16 + unicode-segmentation-1.8.0 + unicode-width-0.1.9 + unicode-xid-0.2.1 + url-2.2.0 + utf8parse-0.2.0 + vcpkg-0.2.11 + vec_map-0.8.2 + version_check-0.9.2 + vte-0.10.1 + vte_generate_state_changes-0.1.1 + walkdir-2.3.1 + wasi-0.9.0+wasi-snapshot-preview1 + wasi-0.10.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 + xdg-2.4.0 + xml-rs-0.8.3 + yaml-rust-0.4.5 +" + +inherit bash-completion-r1 cargo + +DESCRIPTION="A syntax-highlighting pager for git" +HOMEPAGE="https://github.com/dandavison/delta" +SRC_URI="https://github.com/dandavison/delta/archive/${PV}.tar.gz -> ${P}.tar.gz" +SRC_URI+=" $(cargo_crate_uris ${CRATES})" +S="${WORKDIR}/${P/git-/}" + +LICENSE="0BSD Apache-2.0 Apache-2.0-with-LLVM-exceptions Boost-1.0 LGPL-3+ MIT Unlicense ZLIB" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64" + +BDEPEND="virtual/pkgconfig" +DEPEND=" + dev-libs/libgit2:= + dev-libs/oniguruma:= +" +RDEPEND=" + ${DEPEND} + !app-text/delta +" + +QA_FLAGS_IGNORED="/usr/bin/delta" + +src_configure() { + # Some crates will auto-build and statically link C libraries(!) + # Tracker bug #709568 + export RUSTONIG_SYSTEM_LIBONIG=1 + export LIBGIT2_SYS_USE_PKG_CONFIG=1 + export PKG_CONFIG_ALLOW_CROSS=1 +} + +src_install() { + cargo_src_install + + # No man page (yet?) + + # Completions + newbashcomp "${S}/etc/completion/completion.bash" delta + + insinto /usr/share/zsh/site-functions + newins "${S}/etc/completion/completion.zsh" _delta +} |