From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 5A1F6139335 for ; Tue, 29 Jun 2021 21:23:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 80AC7E0801; Tue, 29 Jun 2021 21:23:25 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4F9D2E0801 for ; Tue, 29 Jun 2021 21:23:25 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 0CFED335D5E for ; Tue, 29 Jun 2021 21:23:24 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 84DAE4C3 for ; Tue, 29 Jun 2021 21:23:22 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1625001407.d560ab88693a64dfad4020e2974c05c09af056be.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/git-delta/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/git-delta/Manifest dev-util/git-delta/git-delta-0.8.2.ebuild X-VCS-Directories: dev-util/git-delta/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: d560ab88693a64dfad4020e2974c05c09af056be X-VCS-Branch: master Date: Tue, 29 Jun 2021 21:23:22 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: ba98bc49-ca2b-4b97-945f-81fd67e0d545 X-Archives-Hash: c1683b88ff8c88a1b23bcc8945820573 commit: d560ab88693a64dfad4020e2974c05c09af056be Author: Sam James gentoo org> AuthorDate: Tue Jun 29 21:01:18 2021 +0000 Commit: Sam James gentoo org> CommitDate: Tue Jun 29 21:16:47 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d560ab88 dev-util/git-delta: add 0.8.2 Signed-off-by: Sam James gentoo.org> dev-util/git-delta/Manifest | 1 + dev-util/git-delta/git-delta-0.8.2.ebuild | 154 ++++++++++++++++++++++++++++++ 2 files changed, 155 insertions(+) diff --git a/dev-util/git-delta/Manifest b/dev-util/git-delta/Manifest index bac44c8d149..322d5d5e3f4 100644 --- a/dev-util/git-delta/Manifest +++ b/dev-util/git-delta/Manifest @@ -32,6 +32,7 @@ DIST getrandom-0.1.16.crate 25077 BLAKE2B 0cbe96c27e78100c181a064e5fe524efa9a7a2 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 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 00000000000..1747c035208 --- /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 +}