Diff mercurial-6.5.1 with a mercurial-9999

/usr/portage/dev-vcs/mercurial/mercurial-9999.ebuild 2023-10-09 14:52:31.020368389 +0300
9 9
PYTHON_COMPAT=( python3_{10..12} )
10 10
PYTHON_REQ_USE="threads(+)"
11 11

  
12
CRATES="
13
	adler-1.0.2
14
	ahash-0.8.2
15
	aho-corasick-0.7.19
16
	android_system_properties-0.1.5
17
	atty-0.2.14
18
	autocfg-1.1.0
19
	bitflags-1.3.2
20
	bitmaps-2.1.0
21
	block-buffer-0.9.0
22
	block-buffer-0.10.3
23
	bumpalo-3.11.1
24
	byteorder-1.4.3
25
	bytes-cast-0.3.0
26
	bytes-cast-derive-0.2.0
27
	cc-1.0.76
28
	cfg-if-1.0.0
29
	chrono-0.4.23
30
	clap-4.0.24
31
	clap_derive-4.0.21
32
	clap_lex-0.3.0
33
	codespan-reporting-0.11.1
34
	convert_case-0.4.0
35
	core-foundation-sys-0.8.3
36
	cpufeatures-0.2.5
37
	cpython-0.7.1
38
	crc32fast-1.3.2
39
	crossbeam-channel-0.5.6
40
	crossbeam-deque-0.8.2
41
	crossbeam-epoch-0.9.11
42
	crossbeam-utils-0.8.12
43
	crypto-common-0.1.6
44
	ctor-0.1.26
45
	cxx-1.0.81
46
	cxx-build-1.0.81
47
	cxxbridge-flags-1.0.81
48
	cxxbridge-macro-1.0.81
49
	derive_more-0.99.17
50
	diff-0.1.13
51
	digest-0.9.0
52
	digest-0.10.5
53
	either-1.8.0
54
	env_logger-0.9.3
55
	fastrand-1.8.0
56
	flate2-1.0.24
57
	format-bytes-0.3.0
58
	format-bytes-macros-0.4.0
59
	generic-array-0.14.6
60
	getrandom-0.1.16
61
	getrandom-0.2.8
62
	hashbrown-0.13.1
63
	heck-0.4.0
64
	hermit-abi-0.1.19
65
	hex-0.4.3
66
	home-0.5.4
67
	humantime-2.1.0
68
	iana-time-zone-0.1.53
69
	iana-time-zone-haiku-0.1.1
70
	im-rc-15.1.0
71
	instant-0.1.12
72
	itertools-0.10.5
73
	jobserver-0.1.25
74
	js-sys-0.3.60
75
	lazy_static-1.4.0
76
	libc-0.2.137
77
	libm-0.2.6
78
	libz-sys-1.1.8
79
	link-cplusplus-1.0.7
80
	log-0.4.17
81
	logging_timer-1.1.0
82
	logging_timer_proc_macros-1.1.0
83
	memchr-2.5.0
84
	memmap2-0.5.8
85
	memoffset-0.6.5
86
	miniz_oxide-0.5.4
87
	num-integer-0.1.45
88
	num-traits-0.2.15
89
	num_cpus-1.14.0
90
	once_cell-1.16.0
91
	opaque-debug-0.3.0
92
	os_str_bytes-6.4.0
93
	output_vt100-0.1.3
94
	paste-1.0.9
95
	pkg-config-0.3.26
96
	ppv-lite86-0.2.17
97
	pretty_assertions-1.3.0
98
	proc-macro-error-1.0.4
99
	proc-macro-error-attr-1.0.4
100
	proc-macro2-1.0.47
101
	python3-sys-0.7.1
102
	quote-1.0.21
103
	rand-0.7.3
104
	rand-0.8.5
105
	rand_chacha-0.2.2
106
	rand_chacha-0.3.1
107
	rand_core-0.5.1
108
	rand_core-0.6.4
109
	rand_distr-0.4.3
110
	rand_hc-0.2.0
111
	rand_pcg-0.3.1
112
	rand_xoshiro-0.6.0
113
	rayon-1.7.0
114
	rayon-core-1.11.0
115
	redox_syscall-0.2.16
116
	regex-1.7.0
117
	regex-syntax-0.6.28
118
	remove_dir_all-0.5.3
119
	rustc_version-0.4.0
120
	same-file-1.0.6
121
	scopeguard-1.1.0
122
	scratch-1.0.2
123
	self_cell-1.0.0
124
	semver-1.0.14
125
	sha-1-0.9.8
126
	sha-1-0.10.0
127
	sized-chunks-0.6.5
128
	stable_deref_trait-1.2.0
129
	static_assertions-1.1.0
130
	strsim-0.10.0
131
	syn-1.0.103
132
	tempfile-3.3.0
133
	termcolor-1.1.3
134
	thread_local-1.1.4
135
	time-0.1.44
136
	twox-hash-1.6.3
137
	typenum-1.15.0
138
	unicode-ident-1.0.5
139
	unicode-width-0.1.10
140
	vcpkg-0.2.15
141
	vcsgraph-0.2.0
142
	version_check-0.9.4
143
	wasi-0.9.0+wasi-snapshot-preview1
144
	wasi-0.10.0+wasi-snapshot-preview1
145
	wasi-0.11.0+wasi-snapshot-preview1
146
	wasm-bindgen-0.2.83
147
	wasm-bindgen-backend-0.2.83
148
	wasm-bindgen-macro-0.2.83
149
	wasm-bindgen-macro-support-0.2.83
150
	wasm-bindgen-shared-0.2.83
151
	web-sys-0.3.60
152
	which-4.3.0
153
	whoami-1.4.0
154
	winapi-0.3.9
155
	winapi-i686-pc-windows-gnu-0.4.0
156
	winapi-util-0.1.5
157
	winapi-x86_64-pc-windows-gnu-0.4.0
158
	yansi-0.5.1
159
	zstd-0.12.3+zstd.1.5.2
160
	zstd-safe-6.0.4+zstd.1.5.4
161
	zstd-sys-2.0.7+zstd.1.5.4
162
"
163

  
164
inherit bash-completion-r1 cargo elisp-common distutils-r1 flag-o-matic multiprocessing
12
inherit bash-completion-r1 cargo elisp-common distutils-r1 mercurial flag-o-matic multiprocessing
165 13

  
166 14
DESCRIPTION="Scalable distributed SCM"
167 15
HOMEPAGE="https://www.mercurial-scm.org/"
168
SRC_URI="https://www.mercurial-scm.org/release/${P}.tar.gz
169
	rust? ( $(cargo_crate_uris ${CRATES}) )"
16
EHG_REPO_URI="https://www.mercurial-scm.org/repo/hg"
170 17

  
171
LICENSE="GPL-2+
172
	rust? ( 0BSD Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD MIT MPL-2.0 PSF-2 Unicode-DFS-2016 Unlicense ZLIB )"
18
LICENSE="GPL-2+"
173 19
SLOT="0"
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"
20
KEYWORDS=""
175 21
IUSE="+chg emacs gpg test tk rust"
176 22

  
177
BDEPEND="rust? ( ${RUST_DEPEND} )"
23
BDEPEND="
24
	dev-python/docutils[${PYTHON_USEDEP}]
25
	rust? ( ${RUST_DEPEND} )"
26

  
178 27
RDEPEND="
179 28
	app-misc/ca-certificates
180 29
	gpg? ( app-crypt/gnupg )
......
184 33
	test? (
185 34
		app-arch/unzip
186 35
		dev-python/pygments[${PYTHON_USEDEP}]
187
	)"
36
		)"
188 37

  
189 38
SITEFILE="70${PN}-gentoo.el"
190 39

  
191 40
RESTRICT="!test? ( test )"
192 41

  
193 42
src_unpack() {
194
	default_src_unpack
43
	mercurial_src_unpack
195 44
	if use rust; then
196 45
		local S="${S}/rust/hg-cpython"
197
		cargo_src_unpack
46
		cargo_live_src_unpack
198 47
	fi
199 48
}
200 49

  
......
226 75

  
227 76
python_compile_all() {
228 77
	rm -r contrib/win32 || die
78
	emake doc
229 79
	if use chg; then
230 80
		emake -C contrib/chg
231 81
	fi
Thank you!