summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util/difftastic')
-rw-r--r--dev-util/difftastic/Manifest2
-rw-r--r--dev-util/difftastic/difftastic-0.55.0.ebuild215
2 files changed, 217 insertions, 0 deletions
diff --git a/dev-util/difftastic/Manifest b/dev-util/difftastic/Manifest
index b529d80a4254..fe31bd7d63a8 100644
--- a/dev-util/difftastic/Manifest
+++ b/dev-util/difftastic/Manifest
@@ -29,6 +29,7 @@ DIST diff-0.1.12.crate 10223 BLAKE2B 369f305661f1da31207f3801ed1841dbce12451ac9c
DIST difflib-0.4.0.crate 7638 BLAKE2B 57c703de0d467c997bcbedc4d6577569b3d72c612d3ccd929025a98f4bf8f72f2a0d43f3cd3bc616676c2569aed176b3c1362cfa868a4bb1197e05fe4dbce32f SHA512 fcb57859424fea6958a4407061c421599fbca111357b1fe72faa65d8fb0b74425c993a24484e8414f475fa146cd8368c4f82e1ceb4e8dd9f95741149345b37a9
DIST difftastic-0.52.0.gh.tar.gz 57517066 BLAKE2B 52329018dbe4c2cb9eb95c63a4a6f05aa91f74b8f20038ad94be278e8aab82d62139bdde1008b7c7dba0829c530b2f2ab44b29a82f7ef6109cf79ffcc2d9f4b9 SHA512 2604662f2c7d3d16c9223c68b2aabb84978fbbb4eee5ad631a361ad8fcbccf720316a980dad1f07b3bad94c3fe9a23a25c8c712d4c8da241e1af61be9598fcc6
DIST difftastic-0.54.0.gh.tar.gz 58647254 BLAKE2B 93900c7a89399893e44bffcd010b5201e540d76aca22a753cc4e16cae51695004d5bcdeba7c7dc6e5a8d4669ac6cc18ceb151bbb77f5ff18a24daae7319ae17d SHA512 8dd476fedc9638cddb7391b127dc563f1dfeba5a2c74c00eda6673dd4aa59b6e1eb5ddf3d72ca34996a6aca4cd5de545d5fbe1419ceaa0062cc9f3bf8c82c9e7
+DIST difftastic-0.55.0.gh.tar.gz 61809092 BLAKE2B 28a5b0da275f886f0960b870d3d171969df58ff99c2a67a143c4fe167ae1056daebda0e8df0d71bbb604fd66d6c91c8021501bf9b54540bf499ddc43ff8972d5 SHA512 1a597a9bce65e996bbae1a3403f3f2f9f3db9a7e805908334f134a84bc42749b9b13bd2e50d97c032d5e274e3416d99b8563a6e6f9729f4bbda7b4b04dd2bac5
DIST doc-comment-0.3.3.crate 4123 BLAKE2B a82d1c1a7a90af6e111b5e684a1298d7eac5fd8e4bf7d5baf6c7403d26b609958716d57e51122fe7ad7626fe00a2d824dcfef3cc2fd7679fdb7b5099603de1cd SHA512 e98ff9646a3612bd41bb6f278e7b6e9a0c58747f8b82524da814cf51b7f06c76ad4d65b502ac5740e818744abb295f78f15f8262d0b50ced1523f6d1a26939ba
DIST either-1.6.1.crate 13641 BLAKE2B e5f40c40a5edb6dcb07a10bf79183cbe42438f1f70f3932dce72f6f6e91f75f24d17d82bc447507def4dad4345ffc9dd9162dde778afb253bdb1218e91887949 SHA512 4bfe56920e30cbc8eb4f90162db618f7dca653b42db35ab6a7045d3fd9a24ceb1778b1f79613850bdb1a87ad3794fa0d73015e46c48d513f368d8c3776fc9ddf
DIST env_logger-0.10.0.crate 36574 BLAKE2B d2f387682059fe9b4566ab995be449c58c57b8df5e5d8bd5ffd153aec1648721d8a9606d3f9aa034263651f5182043e08b6cc08d2d29d0a10f6cc61df9949a06 SHA512 4dd02f9d333a1f15657167ef4bd403eda5426cad17e0a4a43fa20cc65449345eb4d3fae2d6b10a3480016b9e23497fac13ed7e70b40c9450ef430be9f910d3e4
@@ -124,6 +125,7 @@ DIST terminal_size-0.1.17.crate 9141 BLAKE2B 048d8e8e9dad08aecde12323681d428b918
DIST termtree-0.2.4.crate 4416 BLAKE2B 994134f7af962123b19984aa32b30c19c6f77202067a90ddb3aa4414ec8dc541f5d8be9282244cdbb1eb16686c11750393325fc7f7005de0bec38d6a9219e015 SHA512 afe4e94bd57c9917ba48be4b3a22ff2b9b8a6c764c86871a3be9087ae0c65326fadb466e285a129082e4243ba6bca933d89ea01aa9188222c055f0c2b308cdf3
DIST textwrap-0.15.0.crate 52998 BLAKE2B f6c3057ea6ffde88dd9824cd3159d398316d9d21f327d2af59239ff84d79f893a9d0e96dfbd883aab6c64b631dc99457018e38baf14d40789f02d633425ded86 SHA512 f44271c542c22f17a4e3a459255f95e6c02d999f7d6bc8414d3973fd4ac9353aa4ef436932a45340738126905463d776902715feaa9329371f8a14f14b5a7bfd
DIST thread_local-1.1.7.crate 13585 BLAKE2B f497dbcdfaf7dbc8b4b0dd97f77ba93df15b63303e7894c9032c9822a5b8111e0a21db2fa8cfdce5a503f70959ac9cdf48c840b925bdd850dc15e8436ba72379 SHA512 3772452c2a349fb564d29bb06e13c8ae64807db27c3ee217fa04fd0e9847e94adeea582b82ffc2d9116f31ff478eb088550caf1346c263de49b55fa17b431c31
+DIST tree-sitter-0.20.10.crate 134502 BLAKE2B 58b88a985e52e87f7fa6d27da04f46c08bf68368f48e3e5bfb4a584372f66c81ed4c7de4871bb5a109d0a3fde1fa26f99d3ccfca9e1658fba575cc73c48e2294 SHA512 247274c285493886a4ba5e6bc6590f04d6644a0c9a8fe06b2e65f887e2d0dd5475a907d8b2922d9a65055a59534091faab92fb3d245b547420f209bdeb284ea3
DIST tree-sitter-0.20.9.crate 132102 BLAKE2B d431337c9aa91684c94ccee698da0ad34d493cb3fe96c18ce6fd218d7789ab168e86b16e78f19ab53d7a0c11d654796029886e3801880e469a11daa92292e071 SHA512 03e38b5252dd94b65c096ba9d07e6aecbb582c8460e2f1e0ad46122e372be7139462d7c411094ba557abd6566bd89faeaf7ff01bddb9283d2d7285d13e38c5a6
DIST tree_magic-13dd6dda15c7062bd8f7dd5bc9bb5b16ce9ee613.gh.tar.gz 15665052 BLAKE2B 78623eec83ebe25518370ede597f290800cb5e626959ae254d19dfee0c5e72b1442fb73a330ab3ed99ca5cbf8ca32663aaeab23a5eab2027eb4a92208e9a26e2 SHA512 b3f8676a85f63ecefd44940c064c19f97be64e42866c78a4412a9e3a46c278b408fb44609111c52700447d08dc5d74b17b15a5c35c8f65d17b0d666aafade051
DIST typed-arena-2.0.2.crate 11848 BLAKE2B 1d2821519c959b8e5f32942fb106f836a9aa753a43058cad6898588f8e0d9abcbe7a94a91ec8d30c62e59833563df48229c6aeec8bf7a396de20895e39571d11 SHA512 33f43488ff63ab763e4330d124e3290ece41e50ab78b6f12dae3a2be4d7f5bdf6ec876ab3b1f8cd81874e335fc41f3a2254994f250d3d6aba682fce557a6a399
diff --git a/dev-util/difftastic/difftastic-0.55.0.ebuild b/dev-util/difftastic/difftastic-0.55.0.ebuild
new file mode 100644
index 000000000000..a4156d55418c
--- /dev/null
+++ b/dev-util/difftastic/difftastic-0.55.0.ebuild
@@ -0,0 +1,215 @@
+# Copyright 2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# Autogenerated by pycargoebuild 0.13.1
+
+EAPI=8
+
+CRATES="
+ ahash@0.7.6
+ aho-corasick@1.0.5
+ assert_cmd@2.0.5
+ atty@0.2.14
+ autocfg@1.1.0
+ bitflags@1.3.2
+ bitflags@2.4.1
+ bstr@0.2.17
+ bstr@1.6.0
+ bumpalo@3.11.1
+ bytecount@0.6.2
+ cc@1.0.83
+ 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.8
+ crossbeam-deque@0.8.1
+ crossbeam-epoch@0.9.8
+ crossbeam-utils@0.8.8
+ crossterm@0.27.0
+ crossterm_winapi@0.9.1
+ ctor@0.1.22
+ diff@0.1.12
+ difflib@0.4.0
+ doc-comment@0.3.3
+ either@1.6.1
+ env_logger@0.10.0
+ errno@0.3.5
+ fixedbitset@0.4.1
+ float-cmp@0.9.0
+ fnv@1.0.7
+ getrandom@0.2.9
+ glob@0.3.1
+ globset@0.4.13
+ hashbrown@0.11.2
+ hashbrown@0.12.3
+ heck@0.4.1
+ hermit-abi@0.1.19
+ hermit-abi@0.3.3
+ humansize@2.1.3
+ humantime@2.1.0
+ ignore@0.4.18
+ indexmap@1.7.0
+ io-lifetimes@1.0.11
+ is-terminal@0.4.7
+ itertools@0.10.3
+ itertools@0.11.0
+ itoa@1.0.9
+ lazy_static@1.4.0
+ libc@0.2.149
+ libm@0.2.7
+ libmimalloc-sys@0.1.24
+ line-numbers@0.3.0
+ linux-raw-sys@0.3.8
+ 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
+ normalize-line-endings@0.3.0
+ num-traits@0.2.15
+ num_cpus@1.13.1
+ once_cell@1.17.1
+ os_str_bytes@6.0.1
+ output_vt100@0.1.3
+ owo-colors@3.5.0
+ parking_lot@0.12.1
+ parking_lot_core@0.9.6
+ petgraph@0.6.1
+ predicates-core@1.0.3
+ predicates-tree@1.0.5
+ predicates@2.1.1
+ pretty_assertions@1.3.0
+ pretty_env_logger@0.5.0
+ proc-macro2@1.0.66
+ quote@1.0.32
+ radix-heap@0.4.2
+ rayon-core@1.11.0
+ rayon@1.7.0
+ redox_syscall@0.2.16
+ regex-automata@0.1.10
+ regex-automata@0.3.7
+ regex-syntax@0.7.5
+ regex@1.9.4
+ rustc-hash@1.1.0
+ rustix@0.37.27
+ rustversion@1.0.12
+ ryu@1.0.15
+ same-file@1.0.6
+ scopeguard@1.1.0
+ serde@1.0.176
+ serde_derive@1.0.176
+ serde_json@1.0.104
+ signal-hook-mio@0.2.3
+ signal-hook-registry@1.4.0
+ signal-hook@0.3.17
+ smallvec@1.10.0
+ strsim@0.10.0
+ strum@0.25.0
+ strum_macros@0.25.1
+ syn@1.0.95
+ syn@2.0.27
+ termcolor@1.1.3
+ terminal_size@0.1.17
+ termtree@0.2.4
+ textwrap@0.15.0
+ thread_local@1.1.7
+ tree-sitter@0.20.10
+ typed-arena@2.0.2
+ unicode-ident@1.0.0
+ unicode-width@0.1.9
+ unicode-xid@0.2.3
+ version_check@0.9.4
+ wait-timeout@0.2.0
+ walkdir@2.3.3
+ wasi@0.11.0+wasi-snapshot-preview1
+ winapi-i686-pc-windows-gnu@0.4.0
+ winapi-util@0.1.5
+ winapi-x86_64-pc-windows-gnu@0.4.0
+ winapi@0.3.9
+ windows-sys@0.42.0
+ windows-sys@0.48.0
+ windows-targets@0.48.5
+ windows_aarch64_gnullvm@0.42.1
+ windows_aarch64_gnullvm@0.48.5
+ windows_aarch64_msvc@0.42.1
+ windows_aarch64_msvc@0.48.5
+ windows_i686_gnu@0.42.1
+ windows_i686_gnu@0.48.5
+ windows_i686_msvc@0.42.1
+ windows_i686_msvc@0.48.5
+ windows_x86_64_gnu@0.42.1
+ windows_x86_64_gnu@0.48.5
+ windows_x86_64_gnullvm@0.42.1
+ windows_x86_64_gnullvm@0.48.5
+ windows_x86_64_msvc@0.42.1
+ windows_x86_64_msvc@0.48.5
+ wu-diff@0.1.2
+ yansi@0.5.1
+"
+
+declare -A GIT_CRATES=(
+ [tree_magic_mini]='https://github.com/Wilfred/tree_magic;13dd6dda15c7062bd8f7dd5bc9bb5b16ce9ee613;tree_magic-%commit%'
+)
+
+inherit cargo
+
+DESCRIPTION="A structural diff that understands syntax."
+HOMEPAGE="http://difftastic.wilfred.me.uk/"
+SRC_URI="
+ ${CARGO_CRATE_URIS}
+ https://github.com/Wilfred/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz
+"
+
+LICENSE="MIT"
+# Dependent crate licenses
+LICENSE+=" Apache-2.0 MIT ZLIB"
+# owo-colors
+LICENSE+=" MIT"
+
+SLOT="0"
+KEYWORDS="~amd64 ~arm64"
+
+QA_FLAGS_IGNORED="usr/bin/difft"
+
+PATCHES=(
+ # some tests don't work with sandbox
+ "${FILESDIR}/difftastic-0.54.0-tests.patch"
+)
+
+DOCS=(
+ CHANGELOG.md
+ README.md
+ manual/
+)
+
+src_prepare() {
+ rm manual/.gitignore || die
+
+ # since upstream is using the patch syntax here, the patch syntax in the user cargo config isn't working
+ local crate commit path _uri sedexpr
+ local -a sedexpr
+ for crate in "${!GIT_CRATES[@]}"; do
+ IFS=";" read -r _uri commit path <<< "${GIT_CRATES[${crate}]}"
+ sedexpr+=(
+ "s@^(${crate}[[:space:]]*=[[:space:]]*[{].*)([[:space:]]*git[[:space:]]*=[[:space:]]*'[[:graph:]]+'[[:space:]]*)(.*[}])@\1path = '${WORKDIR}/${path//%commit%/${commit}}'\3@ ;"
+ "s@^(${crate}[[:space:]]*=[[:space:]]*[{].*)([,][[:space:]]*branch[[:space:]]*=[[:space:]]*'[[:graph:]]+'[[:space:]]*)(.*[}])@\1\3@ ;"
+ )
+ done
+ sed -r -i "${sedexpr[*]}" "${S}/Cargo.toml" || die
+
+ default
+}
+
+src_test() {
+ cargo_src_test
+}
+
+src_install() {
+ cargo_src_install
+ dodoc -r "${DOCS[@]}"
+}