Diff mercurial-6.4.4 with a mercurial-6.5.1

/usr/portage/dev-vcs/mercurial/mercurial-6.5.1.ebuild 2023-10-09 14:52:31.020368389 +0300
4 4
EAPI=8
5 5

  
6 6
CARGO_OPTIONAL=1
7
DISTUTILS_USE_PEP517="setuptools"
7 8
DISTUTILS_EXT=1
8
DISTUTILS_USE_SETUPTOOLS=no
9
PYTHON_COMPAT=( python3_{10..11} )
9
PYTHON_COMPAT=( python3_{10..12} )
10 10
PYTHON_REQ_USE="threads(+)"
11 11

  
12 12
CRATES="
13
	Inflector-0.11.4
14 13
	adler-1.0.2
15 14
	ahash-0.8.2
16 15
	aho-corasick-0.7.19
17
	aliasable-0.1.3
18 16
	android_system_properties-0.1.5
19 17
	atty-0.2.14
20 18
	autocfg-1.1.0
......
92 90
	once_cell-1.16.0
93 91
	opaque-debug-0.3.0
94 92
	os_str_bytes-6.4.0
95
	ouroboros-0.15.5
96
	ouroboros_macro-0.15.5
97 93
	output_vt100-0.1.3
98 94
	paste-1.0.9
99 95
	pkg-config-0.3.26
......
124 120
	same-file-1.0.6
125 121
	scopeguard-1.1.0
126 122
	scratch-1.0.2
123
	self_cell-1.0.0
127 124
	semver-1.0.14
128 125
	sha-1-0.9.8
129 126
	sha-1-0.10.0
......
140 137
	typenum-1.15.0
141 138
	unicode-ident-1.0.5
142 139
	unicode-width-0.1.10
143
	users-0.11.0
144 140
	vcpkg-0.2.15
145 141
	vcsgraph-0.2.0
146 142
	version_check-0.9.4
......
152 148
	wasm-bindgen-macro-0.2.83
153 149
	wasm-bindgen-macro-support-0.2.83
154 150
	wasm-bindgen-shared-0.2.83
151
	web-sys-0.3.60
155 152
	which-4.3.0
153
	whoami-1.4.0
156 154
	winapi-0.3.9
157 155
	winapi-i686-pc-windows-gnu-0.4.0
158 156
	winapi-util-0.1.5
......
171 169
	rust? ( $(cargo_crate_uris ${CRATES}) )"
172 170

  
173 171
LICENSE="GPL-2+
174
	rust? ( BSD Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 ISC MIT MPL-2.0 PSF-2 Unicode-DFS-2016 Unlicense ZLIB )"
172
	rust? ( 0BSD Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD MIT MPL-2.0 PSF-2 Unicode-DFS-2016 Unlicense ZLIB )"
175 173
SLOT="0"
176
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
174
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
177 175
IUSE="+chg emacs gpg test tk rust"
178 176

  
179 177
BDEPEND="rust? ( ${RUST_DEPEND} )"
......
231 229
	if use chg; then
232 230
		emake -C contrib/chg
233 231
	fi
232
	if use rust; then
233
		pushd rust/rhg || die
234
		cargo_src_compile --no-default-features --jobs $(makeopts_jobs)
235
		popd || die
236
	fi
234 237
	if use emacs; then
235 238
		cd contrib || die
236 239
		elisp-compile mercurial.el || die "elisp-compile failed!"
......
275 278
		doman contrib/chg/chg.1
276 279
		RM_CONTRIB+=( chg )
277 280
	fi
281
	if use rust; then
282
		dobin rust/target/release/rhg
283
	fi
278 284

  
279 285
	for f in ${RM_CONTRIB[@]}; do
280 286
		rm -rf contrib/${f} || die
......
317 323
}
318 324

  
319 325
python_test() {
320
	if [[ ${EPYTHON} == python3.10 ]]; then
321
		einfo "Skipping tests for unsupported Python 3.10"
322
		return
323
	fi
324
	distutils_install_for_testing
325 326
	cd tests || die
326 327
	PYTHONWARNINGS=ignore "${PYTHON}" run-tests.py \
327 328
		--jobs $(makeopts_jobs) \
Thank you!