summaryrefslogtreecommitdiff
path: root/dev-util/git-delta
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-07-03 22:39:47 +0100
committerV3n3RiX <venerix@redcorelinux.org>2021-07-03 22:39:47 +0100
commit7f0ccc917c7abe6223784c703d86cd14755691fb (patch)
tree8c6793f68896b341e22f33d7e6cef88e481f4a8b /dev-util/git-delta
parent9aa80713372911cec499b3adb2cd746790920916 (diff)
gentoo resync : 03.07.2021
Diffstat (limited to 'dev-util/git-delta')
-rw-r--r--dev-util/git-delta/Manifest8
-rw-r--r--dev-util/git-delta/git-delta-0.8.0.ebuild154
-rw-r--r--dev-util/git-delta/git-delta-0.8.1.ebuild154
-rw-r--r--dev-util/git-delta/git-delta-0.8.2.ebuild154
4 files changed, 156 insertions, 314 deletions
diff --git a/dev-util/git-delta/Manifest b/dev-util/git-delta/Manifest
index f66f2ee05bc7..194a8890955e 100644
--- a/dev-util/git-delta/Manifest
+++ b/dev-util/git-delta/Manifest
@@ -30,10 +30,8 @@ DIST fnv-1.0.7.crate 11266 BLAKE2B 81da85889c91b6567e0f555e37dd915f1bd919719d1ca
DIST form_urlencoded-1.0.0.crate 8412 BLAKE2B d65250a1d56cee26befb8733733ab67ffba9b9826755194158f336a22e792d38320292548ec73cedf18a56a806707334eb75833e54bb811c56a2ccfee05aa731 SHA512 193b8630b2790931c1ade898187637b2efdfed60b2c98a2dec6658380433fb7711fc2d8196834c19eecddd219ca7383e4a4946bef25c664bf4dc010388b60605
DIST getrandom-0.1.16.crate 25077 BLAKE2B 0cbe96c27e78100c181a064e5fe524efa9a7a267fe60f8336d2ae0125883acd5d575ff17d1d56607255d9b2c30cb9d962026fdea1a5c3c29a5e0760d27c3136a SHA512 c5450c522c07c7a38b326f9a9062bac7d089630219d577ea4b55abad4e0c31d17b7cde385fc43912dfa100b42334e7a52422c55fda8b738caae428c6f9addb53
DIST git-delta-0.7.1.tar.gz 1064009 BLAKE2B 3932d4adb5f696b92bf9d8987d90b2521401211944f9a8c0e5587e5dbcdf9ba93406547dee42885ca248687209c56d59e0f079f9e583f9b70104c09a306516a3 SHA512 cac2fdb9460ee49e8855a99ba2d9625205f050ef6be286c5ab55950aa256243ee5f367b8c2a333759a6a0399c89edb33ec97014296403a9ca4ab9b3d9704530d
-DIST git-delta-0.8.0.tar.gz 1067767 BLAKE2B eea8d5c7dfe7d00179bdc1cd8af0bdd3f9bfe7d5787c107fb353b0d4c9e5986156296f2990dcf42c75961eb6a06d62bfaafc6ef9a21beb6e4288fb7547028993 SHA512 4d9fddc91fdaddd9509f04f214053024f4d1cfee1f03c83eeff2a759d933ca40f3dc9d1269f09394f15c5c1987bedb878f6e7515bc96a8102cd4c076fa24e924
-DIST git-delta-0.8.1.tar.gz 1068448 BLAKE2B 05503fef2316184e739d58eba0a2b96ec463dc4ce80073cb9efb4cc17d59ebe82b05c86839d474b0ee918cec87056d848781c17a6d866e37a69617c2922bbcbe SHA512 2e02538859f1a162804af2352206988e70eb97f044d2b3385f8f5ef60a2b3141f8b7d51a78f4a67f98131925696220de1e23f6655ce9ce04efa65a1c6bc98119
+DIST git-delta-0.8.2.tar.gz 1068616 BLAKE2B 86d60df2bd5a42969a44dd7239ab6a6502030ab10fa7dab18ff91192843d3817b2af475765691bfae43897e9111446ba49242de48f2bcafb69df6fb569f226c0 SHA512 8e6b838477468612c12105d798f5401e3f4119f049ce721c69d3aa595ffcad2991ee8c9a609bd3eb6154806f8418e39a1b515f9c179e42608080416e1efd3e74
DIST git2-0.13.17.crate 181726 BLAKE2B be159d2f3602a65b133d6bdb3d949a48b34029b7a491961469d7a5a6dd8d471b0460ea53e802f69a216ed6111d0329e8a8ee29024af3753a185258f1268b5ead SHA512 5d95ff8d5c62df55b9995f2319dc350dfc9c44b90bb594f6b90df4985f8ebed50211e380885826251aa4e86eef1cfac99f648fba5f91cd4b725b0d05b3800fc9
-DIST git2-0.13.18.crate 189821 BLAKE2B 7ee264af12e64131d33be2161ea4be98ef3d334dbcfd88182a0aa26b7f78449571b22e43832337a24719ff5f548ca1531710f05b7c5b6dfbf8eeff2538ada3b4 SHA512 7cb932b92d81e52cb3561fa782ec1b03ef73e1ec3595ef933a0d79afa65f781ffc2f3c83766089fc06129b097d17e23d2d764fb47562f683a8d08a686377dc9f
DIST git2-0.13.20.crate 190365 BLAKE2B c4f3420f19cdfb420576bc8c38dc45d1c7f3b74b5a2d23c85154dec35916d3d588c86aaa50eca52b427e5d044a07ede7cd1445ef1ba53ce08c70ff39f7ac56bc SHA512 2c0a9cf3391f4ea5eaa48c8fcc08a1cf27b877cc4960332bfdbb95620f9b161f720c35f87bf98e3771749a01444bf8e2337e6d8fc1a34962d4b041473115293f
DIST hashbrown-0.8.2.crate 75830 BLAKE2B 9b08d98fd06e0cdf1dda7a86b8e2c6b1463d28eaf108c38c7c8fce1364ff1d752b044a46d0081b2348c6eecf0bf3e935e85a2d88c67b144e86734bf85a8e13ef SHA512 a6c5e5ae29d3068d54799efbf79b40ae95c2ab64807fe61ad44a49cd90c72b44f1e72340f5d6e2af1f9bb2684675dd86fb74eda03cfbf3a49d3dcf5080867a02
DIST heck-0.3.2.crate 54718 BLAKE2B 6514f604361932e0a8e1a86786d3ec7218d95f8b3b3bcfc9e21c5fddc58ebe28bc0781e2ad24de4dd4296da85e97c742d8473370c99a593e7e5fc7df00fc9b4c SHA512 cbc72c3473ab14fe445491b1d9586d50de9a462af344638b871f7309fa805069a1405bcb1e0859b561f48583fc71045f38d03b92332d35131c67e140ccd241ad
@@ -48,7 +46,6 @@ DIST lazy_static-1.4.0.crate 10443 BLAKE2B 25b2e61bbac48f0dcbc79c81d7bf01f2403d8
DIST lazycell-1.3.0.crate 12502 BLAKE2B dca2d3f46823a52dcf87b7d6103fc4f1f83bc5247ce361946ac2d9df239fb43ce4b418104503698dff0242480cd014996e77da4ae0a88f3cedbce4eb9d3c9ef8 SHA512 f9d627afc28b61e9687a3f72260eb013401fd64057647641ff2e763770d7380ab1d2d8cbb4a3c8818d53d504c618a3b46aaf701f72f4d7b25d226042824c2f8d
DIST libc-0.2.81.crate 513105 BLAKE2B 789a79faf2d5079f5c4248446fa7c07b11af647bbcc32521e7989928788bea7dc2f65204f396b4fe0c7b3a6cf5248882d7775b97c028a3af1ba35e8ecdb489f8 SHA512 8e121e0dcbd8218e02c2c6536ef6398cd002a92406d433c39bf84576e9b881c5b8a66fee826da6a6189f44b825f3a9d959075eeb0501d7f604bf9cc1a8b8d437
DIST libgit2-sys-0.12.18+1.1.0.crate 1434936 BLAKE2B f283177caa941757388042ca4578394e160ea8e5776f6b4d842f778218286ccf65ce2febbfc780606d7624660224b11a470849b4d61302dbc11b3ba5e8d1b49f SHA512 3d9be57074e15bb0dbed151804d401d4688a77f1d46eee171e39b00815a983c103b614509ea0bcbe3c1355fc6c47738fe9da7ef6b8ee2d040fc30062db701233
-DIST libgit2-sys-0.12.19+1.1.0.crate 1434327 BLAKE2B 3e21b7848bed79222b3b7b23a3acc356649e356c9316c02f2c621b501899587f292ca5e20cbc78f21d34ea896bb04bb451ff0ee74020ed32d7d26b904be628c1 SHA512 c12c16ea06c409b6b9b837050192de8b8fded5d5be3eba1ce51789d0d3fb2dea5ca081d4a7079f3d20a2a3363e9ff9740598d267d3b6090f3b73c7df076f9eef
DIST libgit2-sys-0.12.21+1.1.0.crate 1443245 BLAKE2B 794ff535a97d051cd12993f135e61e391e1d8406f8346dc9d1417a1ba433c0e1400f17d7e5bd90674110a3502ba7a38fffac8da008ee350a47061846ed2764f7 SHA512 fd6acaaec704fb2d159cbaf0bd1b81c7afe4d22aecd836b174001b017ed8421507739fd99da968cfb1d46db16a64fe6568f53e872aa5f9a9dd7fb2cb51b02d74
DIST libz-sys-1.1.2.crate 1339299 BLAKE2B c055fdcdeaff5d44cc95f6cef190094317644e4881f356e46b0c0347221ffb867afcd29ecd4d995bf397f714b705ce84cf34ab87010770e00b3aed1956fa46a0 SHA512 2342c738230ac570c61b466920e2ceafc0194381643540f094f6541917639a4f5b11d46d575bb03c7623ce109d376bafc3076a9d172233313e38cb6f49ed16db
DIST line-wrap-0.1.1.crate 10010 BLAKE2B 8f64561931efdb39ef256b90ad12573df76449afadc11f38b5431c1fff73da3ef1dcf9ad8ba0c30cd1ef1b0a8d894a7b34327e4a5eccfea08051ae5abedb483e SHA512 31976e14355317bab470e6716542d3cfd59083a1808bb199dc2eddd51d05fab122ab054783d0996c1feb53bdb316e6fa24b34cae9ed8e8cdb2702bc43fd805eb
@@ -113,6 +110,5 @@ DIST xdg-2.2.0.crate 13387 BLAKE2B f1a5909b6a4544eaf28d1d051e05a6b9b09043060e14e
DIST xml-rs-0.8.3.crate 52547 BLAKE2B cffdece0269b9c04c763481af3a3a25df53d7593552c0956a0efa30669aae497e7c4865c92bcf267f4d7684d0ab957fab3d62b76a241fbfd6497eae25bd9154f SHA512 e44048aa2a010c6242d79c8590bceb300d7056cfd1397c4e4e4411089a3c3686b49603fc2336ea69596b6775b729f1197ab6d9d7d8f83a758e2d962c07aec033
DIST yaml-rust-0.4.5.crate 47783 BLAKE2B 3e888c5cc7afb43eaf3aaab2b6f47b86df164a66eb54d4e166b965cc84b1e06cd17bd992a0d6ee175d9a73a76e2b44a13167246383ed054afcf3cc1710b309cb SHA512 7621dc8dfd5e7d4a7a8805b2a7e8319b63b852367655f2359d4e3e8fec6c4fad52d75c46ce1161e4c674eac0780b757ce9d34e664e304d8d2beec7afa0363ea0
EBUILD git-delta-0.7.1.ebuild 2847 BLAKE2B 1e62f229f558f87e230a77b58b40cca91f6e2419ec4f916fe1ac8d423062248208faa77650228771ff764668220dc0fa1906ca7f9801414dbaaf3cfa7b20e1c8 SHA512 0279c92aaa7590eb53eaf91bc12f0064261724e8090ffed92d0749113f1cd7e5bc432e1cbe576ed511ab76e4e6a80715d71f2b48e0c2759885d542c2ccdcd8b2
-EBUILD git-delta-0.8.0.ebuild 2863 BLAKE2B aa01f21af771b696f86dc7387453fecafa061faa33005eda2a7cdacdadd525ed9b4f9e309b2b75abc47d2feba2729aed9fbb291b52372b1e1d1d2b14bc541c01 SHA512 e9ab38e77392de16336684770336e14254523815effb03ab37c9704a8b1171271c037a99c41abd28d2a72b2de3962bdbaf3b1559a44c909f6751a5c2b3c2f670
-EBUILD git-delta-0.8.1.ebuild 2863 BLAKE2B 6b1011e7dcce81a979b4b41a0306528678a1b78230e0ac048787cca10b5fb108a767a8401e1562433b596dd04444f584d09f721ab3fc5879b0c38e638196bf20 SHA512 ec9dc3cef6c9453b304e72ec63af0cc3eee92b27dbc784a098e86303e03cc8d19c30fc7cccc8e9ef37eb1c43deebd8b5081a6cf92ed028b16563c4357a94bb4e
+EBUILD git-delta-0.8.2.ebuild 2985 BLAKE2B f2237eb6c802711488e158fba2da1aa6750247e9c343883cb51002757d3983fb8649ccf5b1e8438f64a351b70d364245bb799ba12731020a5273e29b931a9bb8 SHA512 b784bab0962f12c082c51ba4fe2361859eda429d8e90cb2338d10de7b69d8c3768002bb5710be6ced194edcdc7ddd3b2e53d0a4a24f31734a00c56316436a9e5
MISC metadata.xml 330 BLAKE2B f09602a10d43f553a7dc36968f26f5f4a79d12aab213ea51b1b2e76eb2f5ba8b698147a9ab3db7b088ca42008045f1dd1a5447fe5d7d2ce46a61d1438c202185 SHA512 ca570caf0648315637beede9dfd9c124b7b313448f2929a86262b7fec90280bdf105b22ca112f7ddb2fe16ee4c6f242e7524041c14a692aa9155ad4ae432207b
diff --git a/dev-util/git-delta/git-delta-0.8.0.ebuild b/dev-util/git-delta/git-delta-0.8.0.ebuild
deleted file mode 100644
index 08e1eb490d61..000000000000
--- a/dev-util/git-delta/git-delta-0.8.0.ebuild
+++ /dev/null
@@ -1,154 +0,0 @@
-# Copyright 1999-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.15
-ansi_colours-1.0.1
-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.2.1
-box_drawing-0.1.2
-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.14.1
-crc32fast-1.2.1
-dirs-next-2.0.0
-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
-git2-0.13.18
-hashbrown-0.8.2
-heck-0.3.2
-hermit-abi-0.1.17
-idna-0.2.0
-indexmap-1.5.2
-itertools-0.10.0
-itoa-0.4.7
-jobserver-0.1.21
-lazycell-1.3.0
-lazy_static-1.4.0
-libc-0.2.81
-libgit2-sys-0.12.19+1.1.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
-miniz_oxide-0.4.3
-num-integer-0.1.44
-num-traits-0.2.14
-onig-6.1.1
-onig_sys-69.6.0
-pathdiff-0.2.0
-percent-encoding-2.1.0
-pkg-config-0.3.19
-plist-1.0.1
-proc-macro2-1.0.24
-proc-macro-error-1.0.4
-proc-macro-error-attr-1.0.4
-quote-1.0.8
-redox_syscall-0.1.57
-redox_users-0.3.5
-regex-1.4.6
-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
-strsim-0.8.0
-structopt-0.3.21
-structopt-derive-0.4.14
-syn-1.0.57
-syntect-4.5.0
-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.7.1
-unicode-width-0.1.8
-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.0
-vte_generate_state_changes-0.1.1
-walkdir-2.3.1
-wasi-0.9.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.2.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="Apache-2.0 BSD-2 Boost-1.0 CC0-1.0 ISC 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
-}
diff --git a/dev-util/git-delta/git-delta-0.8.1.ebuild b/dev-util/git-delta/git-delta-0.8.1.ebuild
deleted file mode 100644
index 972eb2155e5a..000000000000
--- a/dev-util/git-delta/git-delta-0.8.1.ebuild
+++ /dev/null
@@ -1,154 +0,0 @@
-# Copyright 1999-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.15
-ansi_colours-1.0.3
-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.2.1
-box_drawing-0.1.2
-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.14.1
-crc32fast-1.2.1
-dirs-next-2.0.0
-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
-git2-0.13.20
-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
-lazycell-1.3.0
-lazy_static-1.4.0
-libc-0.2.81
-libgit2-sys-0.12.21+1.1.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
-miniz_oxide-0.4.3
-num-integer-0.1.44
-num-traits-0.2.14
-onig-6.1.1
-onig_sys-69.6.0
-pathdiff-0.2.0
-percent-encoding-2.1.0
-pkg-config-0.3.19
-plist-1.0.1
-proc-macro2-1.0.24
-proc-macro-error-1.0.4
-proc-macro-error-attr-1.0.4
-quote-1.0.8
-redox_syscall-0.1.57
-redox_users-0.3.5
-regex-1.4.6
-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
-strsim-0.8.0
-structopt-0.3.21
-structopt-derive-0.4.14
-syn-1.0.57
-syntect-4.5.0
-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.7.1
-unicode-width-0.1.8
-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
-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.2.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="Apache-2.0 BSD-2 Boost-1.0 CC0-1.0 ISC 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
-}
diff --git a/dev-util/git-delta/git-delta-0.8.2.ebuild b/dev-util/git-delta/git-delta-0.8.2.ebuild
new file mode 100644
index 000000000000..1747c0352085
--- /dev/null
+++ b/dev-util/git-delta/git-delta-0.8.2.ebuild
@@ -0,0 +1,154 @@
+# Copyright 1999-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.15
+ ansi_colours-1.0.3
+ 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.2.1
+ box_drawing-0.1.2
+ 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.14.1
+ crc32fast-1.2.1
+ dirs-next-2.0.0
+ 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
+ git2-0.13.20
+ 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.81
+ libgit2-sys-0.12.21+1.1.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
+ miniz_oxide-0.4.3
+ num-integer-0.1.44
+ num-traits-0.2.14
+ onig-6.1.1
+ onig_sys-69.6.0
+ pathdiff-0.2.0
+ 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_users-0.3.5
+ regex-1.4.6
+ 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
+ strsim-0.8.0
+ structopt-0.3.21
+ structopt-derive-0.4.14
+ syn-1.0.57
+ syntect-4.5.0
+ 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.7.1
+ unicode-width-0.1.8
+ 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
+ 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.2.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
+}