Diff eza-0.12.0 with a eza-0.13.0

/usr/portage/sys-apps/eza/eza-0.13.0.ebuild 2023-10-09 14:52:35.368368498 +0300
4 4
EAPI=8
5 5

  
6 6
CRATES="
7
	aho-corasick@1.0.5
7 8
	android-tzdata@0.1.1
8 9
	android_system_properties@0.1.5
10
	anes@0.1.6
9 11
	ansiterm@0.12.2
10 12
	anstream@0.5.0
11 13
	anstyle-parse@0.2.1
......
17 19
	bitflags@2.4.0
18 20
	bumpalo@3.13.0
19 21
	byteorder@1.4.3
22
	cast@0.3.0
20 23
	cc@1.0.79
21 24
	cfg-if@1.0.0
22 25
	chrono@0.4.30
26
	ciborium-io@0.2.1
27
	ciborium-ll@0.2.1
28
	ciborium@0.2.1
29
	clap@4.4.3
30
	clap_builder@4.4.2
31
	clap_lex@0.5.1
23 32
	colorchoice@1.0.0
24 33
	content_inspector@0.2.4
25 34
	core-foundation-sys@0.8.4
35
	criterion-plot@0.5.0
36
	criterion@0.5.1
26 37
	crossbeam-channel@0.5.8
27 38
	crossbeam-deque@0.8.3
28 39
	crossbeam-epoch@0.9.15
......
39 50
	gethostname@0.4.3
40 51
	git2@0.18.0
41 52
	glob@0.3.1
53
	half@1.8.2
42 54
	hashbrown@0.14.0
43 55
	hermit-abi@0.3.2
44 56
	humantime-serde@1.1.1
......
48 60
	idna@0.2.3
49 61
	indexmap@2.0.0
50 62
	io-lifetimes@1.0.11
63
	is-terminal@0.4.9
64
	itertools@0.10.5
65
	itoa@1.0.9
51 66
	jobserver@0.1.22
52 67
	js-sys@0.3.64
53 68
	lazy_static@1.4.0
......
67 82
	num_cpus@1.16.0
68 83
	number_prefix@0.4.0
69 84
	once_cell@1.18.0
85
	oorandom@11.1.3
70 86
	openssl-src@111.26.0+1.1.1u
71 87
	openssl-sys@0.9.61
72 88
	os_pipe@1.1.4
......
77 93
	phf_macros@0.11.2
78 94
	phf_shared@0.11.2
79 95
	pkg-config@0.3.19
96
	plotters-backend@0.3.5
97
	plotters-svg@0.3.5
98
	plotters@0.3.5
80 99
	proc-macro2@1.0.66
81 100
	proc-mounts@0.3.0
82 101
	quote@1.0.33
......
86 105
	rayon@1.7.0
87 106
	redox_syscall@0.1.57
88 107
	redox_syscall@0.3.5
108
	regex-automata@0.3.8
109
	regex-syntax@0.7.5
110
	regex@1.9.5
89 111
	rustix@0.37.23
90 112
	rustix@0.38.13
113
	ryu@1.0.15
91 114
	same-file@1.0.6
92 115
	scoped_threadpool@0.1.9
93 116
	scopeguard@1.2.0
94 117
	serde@1.0.188
95 118
	serde_derive@1.0.188
119
	serde_json@1.0.107
96 120
	serde_spanned@0.6.3
97 121
	shlex@1.2.0
98 122
	similar@2.2.1
......
106 130
	thiserror-impl@1.0.48
107 131
	thiserror@1.0.48
108 132
	timeago@0.4.1
133
	tinytemplate@1.2.1
109 134
	tinyvec@1.2.0
110 135
	tinyvec_macros@0.1.0
111 136
	toml_datetime@0.6.3
......
127 152
	wasm-bindgen-macro@0.2.87
128 153
	wasm-bindgen-shared@0.2.87
129 154
	wasm-bindgen@0.2.87
155
	web-sys@0.3.64
130 156
	winapi-i686-pc-windows-gnu@0.4.0
131 157
	winapi-util@0.1.5
132 158
	winapi-x86_64-pc-windows-gnu@0.4.0
......
163 189
DEPEND="git? ( dev-libs/libgit2:= )"
164 190
RDEPEND="${DEPEND}"
165 191
BDEPEND="
166
	>=virtual/rust-1.65.0
192
	>=virtual/rust-1.70.0
167 193
	man? ( virtual/pandoc )
168 194
"
169 195

  
......
184 210
	# "source" files only, but cargo.eclass will attempt to install them.
185 211
	rm -r man || die "failed to remove man directory from source"
186 212

  
213
	# Known failing test, upstream says it could potentially be ignored for know
214
	# bug #914214
215
	# https://github.com/eza-community/eza/issues/393
216
	rm tests/cmd/{icons,basic}_all.toml || die
217
	rm tests/cmd/only_dir_{,recursive_}unix.toml || die
218
	rm tests/cmd/recursive_unix.toml || die
219

  
187 220
	sed -i -e 's/^strip = true$/strip = false/g' Cargo.toml || die "failed to disable stripping"
188 221
}
189 222

  
......
207 240
		doman contrib/man/*
208 241
	fi
209 242
}
243

  
244
pkg_postinst() {
245
	if [[ -n ${REPLACING_VERSIONS} ]] \
246
			&& [[ $(ver_cut 2 ${REPLACING_VERSIONS}) -lt 13 ]]; then
247
		elog "Starting with 0.13.0 \$EXA_COLORS using style codes nh and uh"
248
		elog "will need to be updated to use nt and ut"
249
	fi
250
}
Thank you!