summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick McLean <chutzpah@gentoo.org>2022-04-11 14:02:43 -0700
committerPatrick McLean <chutzpah@gentoo.org>2022-04-11 14:03:24 -0700
commit21baa8c6d377f09206431b6be9858117209056c1 (patch)
tree7f089b2d80b42ff2244818c5973ff7569f01b317 /dev-util/difftastic
parentdev-libs/libgit2: Stabilize 1.4.2 x86, #837755 (diff)
downloadgentoo-21baa8c6d377f09206431b6be9858117209056c1.tar.gz
gentoo-21baa8c6d377f09206431b6be9858117209056c1.tar.bz2
gentoo-21baa8c6d377f09206431b6be9858117209056c1.zip
dev-util/difftastic: add 0.26.3
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.26.3.ebuild113
-rw-r--r--dev-util/difftastic/files/difftastic-0.26.3-regex-dep.patch29
3 files changed, 143 insertions, 0 deletions
diff --git a/dev-util/difftastic/Manifest b/dev-util/difftastic/Manifest
index 2f173860f1fa..4c340076bb7c 100644
--- a/dev-util/difftastic/Manifest
+++ b/dev-util/difftastic/Manifest
@@ -16,6 +16,7 @@ DIST crossbeam-utils-0.8.7.crate 39751 BLAKE2B 79e1d6454887e8c61f498be0f44757265
DIST ctor-0.1.21.crate 9303 BLAKE2B 8feeaacd3d870b721ecfed7c8df60a27005de1f2a099eef816bd6df2d7b07dbfa00badeef44027398ff4505871a69814d7d4ec90b07d36e371099e4d0aebfae6 SHA512 18a914f5bd55172e5ff199778babad9a20dd4214f36f24cc00531db5e169af66f77eacab425e8e64d053907366ebd3b448a0c3275ee1f8244822778b62c4cb71
DIST diff-0.1.12.crate 10223 BLAKE2B 369f305661f1da31207f3801ed1841dbce12451ac9c3e9d3736f7158ece433af9b2e42c29063e5d93bb86b1d300e503caa9c3ce7dd0b25553f91d72a9eea5298 SHA512 0e81331c0424e9369963e23894a6412b65a3ed4f3154ccc184fc84cf1c5985b81c586a6b34e8c6c0e5c3afba38fb15277cfd89e7f50c85bd5d8d4d24ba670d16
DIST difftastic-0.25.0.tar.gz 8645342 BLAKE2B 2e7b72881849c655b838e20a64c477f0c2763e345b54979a052b14ff35c1adee0edd9b9ee03a6109416397c3eed9bbd1d49f9a2ad4b32b8c05f9066b68a15032 SHA512 b421a591cbd896cacff832ce0e39cb9fc952690f2e334969bdd2722ff17b43f5c6fd81a4223490e38e0a9c5b639a558c6c3682123d5280ba5f29950072626473
+DIST difftastic-0.26.3.tar.gz 10100584 BLAKE2B 9121a9747f761f13830028d8ae01655d6d15ceb846f966b92d905224f54280a354873afb19419fb3a496e67ebca12df1cf15369e69588a1066d7682bea0fee93 SHA512 91ef6c359e709f0f63d3627621ed6a03627248cb31ef90ce1a617294425d5ca8803f3f7608d1b2c1326fd1247ee89a8fc200f1188c659028d9af43bc69fa9467
DIST either-1.6.1.crate 13641 BLAKE2B e5f40c40a5edb6dcb07a10bf79183cbe42438f1f70f3932dce72f6f6e91f75f24d17d82bc447507def4dad4345ffc9dd9162dde778afb253bdb1218e91887949 SHA512 4bfe56920e30cbc8eb4f90162db618f7dca653b42db35ab6a7045d3fd9a24ceb1778b1f79613850bdb1a87ad3794fa0d73015e46c48d513f368d8c3776fc9ddf
DIST env_logger-0.7.1.crate 32281 BLAKE2B 6f1894c64f301ca4b687270c911dbe230f674662aa0561b97c4d2537886e404664b5773d4e223e2018047c222a951232c3cb52ec5bddbfb6665e34c3e7ea52f5 SHA512 604060d2ee83ab337a2d20d6784d1b7541534d2fd9e1662fc5c709fa681672a9db5e34d00face864b56ae321962e644ebe29fbb6d68a0d556419cf5d71c6149f
DIST hashbrown-0.11.2.crate 85713 BLAKE2B 402f9f1bdcb92631206f9b72923ee35e28db8623e87469c0f1496664bc7185077013ab3c8aea68268241e5b2504f10cddc613a350abd4291050deda6c112e559 SHA512 c21ca68fd49bbb741901f59fed04cc124b8da99e2a4dfc26e2e5e1140637872b344612a01691bd30cc771575c571be15f756c84dde225441699cd2322af2ad6c
diff --git a/dev-util/difftastic/difftastic-0.26.3.ebuild b/dev-util/difftastic/difftastic-0.26.3.ebuild
new file mode 100644
index 000000000000..cfca879d4a2f
--- /dev/null
+++ b/dev-util/difftastic/difftastic-0.26.3.ebuild
@@ -0,0 +1,113 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# Auto-Generated by cargo-ebuild 0.5.1
+
+EAPI=8
+
+CRATES="
+ aho-corasick-0.7.18
+ ansi_term-0.12.1
+ archery-0.4.0
+ atty-0.2.14
+ autocfg-1.0.1
+ bitflags-1.3.2
+ cc-1.0.72
+ cfg-if-1.0.0
+ clap-3.0.13
+ const_format-0.2.22
+ const_format_proc_macros-0.2.22
+ crossbeam-channel-0.5.1
+ crossbeam-deque-0.8.1
+ crossbeam-epoch-0.9.5
+ crossbeam-utils-0.8.7
+ ctor-0.1.21
+ diff-0.1.12
+ either-1.6.1
+ env_logger-0.7.1
+ hashbrown-0.11.2
+ hermit-abi-0.1.19
+ humantime-1.3.0
+ indexmap-1.8.0
+ itertools-0.10.3
+ lazy_static-1.4.0
+ libc-0.2.112
+ libmimalloc-sys-0.1.23
+ log-0.4.14
+ memchr-2.4.1
+ memoffset-0.6.5
+ mimalloc-0.1.27
+ num_cpus-1.13.1
+ os_str_bytes-6.0.0
+ output_vt100-0.1.2
+ owo-colors-3.2.0
+ pretty_assertions-1.0.0
+ pretty_env_logger-0.4.0
+ proc-macro2-1.0.36
+ quick-error-1.2.3
+ quote-1.0.13
+ radix-heap-0.4.2
+ rayon-1.5.1
+ rayon-core-1.9.1
+ regex-1.5.5
+ regex-syntax-0.6.25
+ rpds-0.10.0
+ rustc-hash-1.1.0
+ same-file-1.0.6
+ scopeguard-1.1.0
+ static_assertions-1.1.0
+ strsim-0.10.0
+ syn-1.0.84
+ term_size-0.3.2
+ termcolor-1.1.2
+ textwrap-0.14.2
+ tree-sitter-0.20.5
+ typed-arena-2.0.1
+ unicode-xid-0.2.2
+ walkdir-2.3.2
+ 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
+ wu-diff-0.1.2
+"
+
+inherit cargo
+
+DESCRIPTION="A 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"
+SRC_URI="
+ $(cargo_crate_uris ${CRATES})
+ https://github.com/Wilfred/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.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 MIT MPL-2.0 Unlicense ZLIB"
+SLOT="0"
+KEYWORDS="~amd64"
+RESTRICT="mirror"
+
+QA_FLAGS_IGNORED="usr/bin/difft"
+
+PATCHES=(
+ "${FILESDIR}/difftastic-0.26.3-regex-dep.patch"
+)
+
+DOCS=(
+ CHANGELOG.md
+ README.md
+ manual/
+)
+
+src_prepare() {
+ rm manual/.gitignore || die
+ default
+}
+
+src_install() {
+ cargo_src_install
+ dodoc -r "${DOCS[@]}"
+}
diff --git a/dev-util/difftastic/files/difftastic-0.26.3-regex-dep.patch b/dev-util/difftastic/files/difftastic-0.26.3-regex-dep.patch
new file mode 100644
index 000000000000..e5f25935074b
--- /dev/null
+++ b/dev-util/difftastic/files/difftastic-0.26.3-regex-dep.patch
@@ -0,0 +1,29 @@
+diff --git a/Cargo.lock b/Cargo.lock
+index b31dab30f..a3e7795aa 100644
+--- a/Cargo.lock
++++ b/Cargo.lock
+@@ -418,9 +418,9 @@ dependencies = [
+
+ [[package]]
+ name = "regex"
+-version = "1.5.4"
++version = "1.5.5"
+ source = "registry+https://github.com/rust-lang/crates.io-index"
+-checksum = "d07a8629359eb56f1e2fb1652bb04212c072a87ba68546a04065d525673ac461"
++checksum = "1a11647b6b25ff05a515cb92c365cec08801e83423a235b51e231e1808747286"
+ dependencies = [
+ "aho-corasick",
+ "memchr",
+diff --git a/Cargo.toml b/Cargo.toml
+index f5916fa44..8d7cf3ea2 100644
+--- a/Cargo.toml
++++ b/Cargo.toml
+@@ -21,7 +21,7 @@ include = [
+ ]
+
+ [dependencies]
+-regex = "1.5.4"
++regex = "1.5.5"
+ clap = { version = "3.0.13", features = ["cargo"] }
+ itertools = "0.10.1"
+ typed-arena = "2.0.1"