summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick McLean <chutzpah@gentoo.org>2023-02-05 11:06:35 -0800
committerPatrick McLean <chutzpah@gentoo.org>2023-02-05 11:06:35 -0800
commitb97b58ec9d38a2e0e2b8fcefb4fd3d2aea80fed4 (patch)
treefef864713da8d534fa44ef2fbfd77cbd2f11b700 /dev-util/difftastic
parentdev-vcs/tig: drop 2.5.5, 2.5.6 (diff)
downloadgentoo-b97b58ec9d38a2e0e2b8fcefb4fd3d2aea80fed4.tar.gz
gentoo-b97b58ec9d38a2e0e2b8fcefb4fd3d2aea80fed4.tar.bz2
gentoo-b97b58ec9d38a2e0e2b8fcefb4fd3d2aea80fed4.zip
dev-util/difftastic: add 0.43.1
Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
Diffstat (limited to 'dev-util/difftastic')
-rw-r--r--dev-util/difftastic/Manifest1
-rw-r--r--dev-util/difftastic/difftastic-0.43.1.ebuild144
2 files changed, 145 insertions, 0 deletions
diff --git a/dev-util/difftastic/Manifest b/dev-util/difftastic/Manifest
index 44a25e913434..17c08ececec0 100644
--- a/dev-util/difftastic/Manifest
+++ b/dev-util/difftastic/Manifest
@@ -21,6 +21,7 @@ DIST ctor-0.1.22.crate 9311 BLAKE2B a13fb97cf767fae19486ca8b970f1712bfcf4ec9edda
DIST diff-0.1.12.crate 10223 BLAKE2B 369f305661f1da31207f3801ed1841dbce12451ac9c3e9d3736f7158ece433af9b2e42c29063e5d93bb86b1d300e503caa9c3ce7dd0b25553f91d72a9eea5298 SHA512 0e81331c0424e9369963e23894a6412b65a3ed4f3154ccc184fc84cf1c5985b81c586a6b34e8c6c0e5c3afba38fb15277cfd89e7f50c85bd5d8d4d24ba670d16
DIST difftastic-0.42.0.gh.tar.gz 50324806 BLAKE2B d245673b25b70c14f3f4a5ae5f568b1da1a62f6954d1d425d5472d86eccecb7296169b55cacf1e53b35deeb9128f0b8f9a8b0635ca3c7821ddf3a068ffc5c3c9 SHA512 33d2a5145adf95b00f68ca678d5f1b64e80477fc55f4d661e91673a4b029f430aa22a249c725ec8fb0d98057225646ba6b1c80df5af1ba268966dbd5e10eb43c
DIST difftastic-0.43.0.gh.tar.gz 50571896 BLAKE2B a31fb731ead453b29ebbd502fd7267681bcfb8c5f74ed4636f94f55ff32b7e44f72279c018e001177b7c0e5ffc132f8dccc75d8ed2ffcf2904be6b800fbb5066 SHA512 5edb07c22ca9637367cad5bb19b20038cf83d7a8d399e9425aaaadd1dd609ddf5c3f77ce9ec90b691aa7cd4aac9e528ce39633adc63c2899982ee3550ac9a8e3
+DIST difftastic-0.43.1.gh.tar.gz 50571590 BLAKE2B fa0531961f54b7713a2cd9cbde3ffe2d853350b5802d703dc9038a712c91c8981ac3010b328c70969c756c243418183c8600a9078a17cb1ebfedec3f853f12c3 SHA512 49a2836c17a45b008cced7734539cf058f8b4440e056d08d39ab0277ecdeeeb45e8f15d1df1a916ab72116160f7869102a31ba7af7f414cf7b9cbb898deca76d
DIST either-1.6.1.crate 13641 BLAKE2B e5f40c40a5edb6dcb07a10bf79183cbe42438f1f70f3932dce72f6f6e91f75f24d17d82bc447507def4dad4345ffc9dd9162dde778afb253bdb1218e91887949 SHA512 4bfe56920e30cbc8eb4f90162db618f7dca653b42db35ab6a7045d3fd9a24ceb1778b1f79613850bdb1a87ad3794fa0d73015e46c48d513f368d8c3776fc9ddf
DIST env_logger-0.7.1.crate 32281 BLAKE2B 6f1894c64f301ca4b687270c911dbe230f674662aa0561b97c4d2537886e404664b5773d4e223e2018047c222a951232c3cb52ec5bddbfb6665e34c3e7ea52f5 SHA512 604060d2ee83ab337a2d20d6784d1b7541534d2fd9e1662fc5c709fa681672a9db5e34d00face864b56ae321962e644ebe29fbb6d68a0d556419cf5d71c6149f
DIST errno-0.2.8.crate 9276 BLAKE2B b73738deb47d1f76ec91ffd15558126d32312647b82677290725669edb01b8f34a503172fad6518ebf0ffb1633ef0afaf0750982b9384a9fb87833d31721c9a8 SHA512 1f513743224cd9a9b7e4caaf33dab075a4a79efa90c9f46c9edfb0c8600daccd3ad2677ba2116621e19fcf8be456954da5d611cbcea4b6f1410f7731828b50d1
diff --git a/dev-util/difftastic/difftastic-0.43.1.ebuild b/dev-util/difftastic/difftastic-0.43.1.ebuild
new file mode 100644
index 000000000000..4d0e6d4e6aa3
--- /dev/null
+++ b/dev-util/difftastic/difftastic-0.43.1.ebuild
@@ -0,0 +1,144 @@
+# Copyright 2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# Auto-Generated by cargo-ebuild 0.5.4
+
+EAPI=8
+
+CRATES="
+ aho-corasick-0.7.18
+ ansi_term-0.12.1
+ atty-0.2.14
+ autocfg-1.1.0
+ bitflags-1.3.2
+ bumpalo-3.11.1
+ bytecount-0.6.2
+ cc-1.0.78
+ cfg-if-1.0.0
+ clap-3.1.18
+ clap_lex-0.2.0
+ const_format-0.2.23
+ const_format_proc_macros-0.2.22
+ crossbeam-channel-0.5.4
+ crossbeam-deque-0.8.1
+ crossbeam-epoch-0.9.8
+ crossbeam-utils-0.8.8
+ crossterm-0.25.0
+ crossterm_winapi-0.9.0
+ ctor-0.1.22
+ diff-0.1.12
+ either-1.6.1
+ env_logger-0.7.1
+ fixedbitset-0.4.1
+ fnv-1.0.7
+ hashbrown-0.11.2
+ hermit-abi-0.1.19
+ humantime-1.3.0
+ indexmap-1.7.0
+ itertools-0.10.3
+ lazy_static-1.4.0
+ libc-0.2.139
+ libmimalloc-sys-0.1.24
+ lock_api-0.4.9
+ log-0.4.17
+ memchr-2.5.0
+ memoffset-0.6.5
+ mimalloc-0.1.28
+ minimal-lexical-0.2.1
+ mio-0.8.5
+ nom-7.1.1
+ num_cpus-1.13.1
+ once_cell-1.12.0
+ os_str_bytes-6.0.1
+ output_vt100-0.1.3
+ owo-colors-3.4.0
+ parking_lot-0.12.1
+ parking_lot_core-0.9.6
+ petgraph-0.6.1
+ pretty_assertions-1.2.1
+ pretty_env_logger-0.4.0
+ proc-macro2-1.0.39
+ quick-error-1.2.3
+ quote-1.0.18
+ radix-heap-0.4.2
+ rayon-1.6.1
+ rayon-core-1.10.1
+ redox_syscall-0.2.16
+ regex-1.5.6
+ regex-syntax-0.6.26
+ rustc-hash-1.1.0
+ same-file-1.0.6
+ scopeguard-1.1.0
+ signal-hook-0.3.14
+ signal-hook-mio-0.2.3
+ signal-hook-registry-1.4.0
+ smallvec-1.10.0
+ strsim-0.10.0
+ syn-1.0.95
+ termcolor-1.1.3
+ terminal_size-0.1.17
+ textwrap-0.15.0
+ tree-sitter-0.20.9
+ typed-arena-2.0.1
+ unicode-ident-1.0.0
+ unicode-width-0.1.9
+ unicode-xid-0.2.3
+ version_check-0.9.4
+ walkdir-2.3.2
+ wasi-0.11.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
+ windows-sys-0.42.0
+ windows_aarch64_gnullvm-0.42.1
+ windows_aarch64_msvc-0.42.1
+ windows_i686_gnu-0.42.1
+ windows_i686_msvc-0.42.1
+ windows_x86_64_gnu-0.42.1
+ windows_x86_64_gnullvm-0.42.1
+ windows_x86_64_msvc-0.42.1
+ wu-diff-0.1.2
+"
+
+inherit cargo
+
+DESCRIPTION="A structural diff that understands syntax."
+# Double check the homepage as the cargo_metadata crate
+# does not provide this value so instead repository is used
+HOMEPAGE="https://github.com/wilfred/difftastic"
+TREE_MAGIC_COMMIT="13dd6dda15c7062bd8f7dd5bc9bb5b16ce9ee613"
+SRC_URI="
+ $(cargo_crate_uris ${CRATES})
+ https://github.com/Wilfred/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz
+ https://github.com/Wilfred/tree_magic/archive/${TREE_MAGIC_COMMIT}.tar.gz -> tree_magic_mini-${TREE_MAGIC_COMMIT}.tar.gz
+"
+
+# License set may be more restrictive as OR is not respected
+# use cargo-license for a more accurate license picture
+LICENSE="Apache-2.0 Apache-2.0-with-LLVM-exceptions MIT Unlicense ZLIB"
+SLOT="0"
+KEYWORDS="~amd64"
+
+QA_FLAGS_IGNORED="usr/bin/difft"
+
+DOCS=(
+ CHANGELOG.md
+ README.md
+ manual/
+)
+
+src_prepare() {
+ rm manual/.gitignore || die
+
+ # patch git dep to use pre-fetched tarball
+ local tree_magic_path="tree_magic_mini = { path = '"${WORKDIR}/tree_magic-${TREE_MAGIC_COMMIT}"' }"
+ sed -i "s@^tree_magic_mini =.*@${tree_magic_path}@" "${S}/Cargo.toml" || die
+
+ default
+}
+
+src_install() {
+ cargo_src_install
+ dodoc -r "${DOCS[@]}"
+}