Diff jja-0.9.0 with a jja-9999

/usr/portage/games-board/jja/jja-9999.ebuild 2023-10-09 14:52:31.076368390 +0300
4 4
EAPI=8
5 5

  
6 6
CRATES="
7
	addr2line@0.21.0
8 7
	adler@1.0.2
9 8
	advapi32-sys@0.2.0
10 9
	ahash@0.8.3
11
	aho-corasick@1.0.5
10
	aho-corasick@1.0.3
12 11
	allocator-api2@0.2.16
13
	anstream@0.5.0
12
	anstream@0.3.2
14 13
	anstyle-parse@0.2.1
15 14
	anstyle-query@1.0.0
16
	anstyle-wincon@2.1.0
17
	anstyle@1.0.2
18
	anyhow@1.0.75
15
	anstyle-wincon@1.0.2
16
	anstyle@1.0.1
17
	anyhow@1.0.72
19 18
	arrayvec@0.7.4
20 19
	autocfg@1.1.0
21
	backtrace@0.3.69
22 20
	benchmarking@0.4.12
23 21
	bindgen@0.65.1
24 22
	bitflags@1.3.2
25
	bitflags@2.4.0
23
	bitflags@2.3.3
26 24
	block-buffer@0.10.4
27 25
	block@0.1.6
28 26
	btoi@0.4.3
29 27
	built@0.6.1
30
	bytefmt@0.1.7
31 28
	byteorder@1.4.3
32 29
	bzip2-sys@0.1.11+1.0.8
33 30
	bzip2@0.4.4
34 31
	cargo-lock@9.0.0
35
	cc@1.0.83
32
	cc@1.0.82
36 33
	cexpr@0.6.0
37 34
	cfg-if@1.0.0
38 35
	circular@0.3.0
39 36
	clang-sys@1.6.1
40
	clap@4.4.2
41
	clap_builder@4.4.2
42
	clap_lex@0.5.1
37
	clap@4.3.21
38
	clap_builder@4.3.21
39
	clap_lex@0.5.0
43 40
	colorchoice@1.0.0
44 41
	console@0.15.7
45 42
	cpufeatures@0.2.9
......
69 66
	encoding_index_tests@0.1.4
70 67
	equivalent@1.0.1
71 68
	errno-dragonfly@0.1.2
72
	errno@0.3.3
69
	errno@0.3.2
73 70
	fallible-iterator@0.2.0
74 71
	fallible-streaming-iterator@0.1.9
75 72
	fastrand@2.0.0
76 73
	find-crate@0.6.3
77
	flate2@1.0.27
74
	flate2@1.0.26
78 75
	fluent-langneg@0.13.0
79 76
	form_urlencoded@1.2.0
80 77
	generic-array@0.14.7
81 78
	getrandom@0.2.10
82 79
	gettext@0.4.0
83
	gimli@0.28.0
84 80
	git2@0.17.2
85 81
	glob@0.3.1
86 82
	hashbrown@0.14.0
87
	hashlink@0.8.4
83
	hashlink@0.8.3
88 84
	hermit-abi@0.3.2
89 85
	hostname@0.3.1
90
	human-panic@1.2.0
86
	humansize@2.1.3
91 87
	i18n-config@0.4.4
92 88
	i18n-embed-impl@0.8.1
93 89
	i18n-embed@0.13.9
......
105 101
	libc@0.2.147
106 102
	libgit2-sys@0.15.2+1.6.4
107 103
	libloading@0.7.4
104
	libm@0.2.7
108 105
	librocksdb-sys@0.11.0+8.1.1
109 106
	libsqlite3-sys@0.26.0
110 107
	libz-sys@1.1.12
111 108
	linux-raw-sys@0.4.5
112 109
	locale_config@0.3.0
113 110
	lock_api@0.4.10
114
	log@0.4.20
111
	log@0.4.19
115 112
	lz4-sys@1.9.4
116 113
	lz4@1.24.0
117 114
	lzma-sys@0.1.20
118 115
	malloc_buf@0.0.6
119 116
	match_cfg@0.1.0
120
	memchr@2.6.2
117
	memchr@2.5.0
121 118
	memmap@0.7.0
122 119
	memoffset@0.9.0
123 120
	minimal-lexical@0.2.1
124 121
	miniz_oxide@0.7.1
125
	nix@0.26.4
122
	nix@0.26.2
126 123
	nom@7.1.3
127 124
	num-traits@0.2.16
128 125
	num_cpus@1.16.0
......
130 127
	objc-foundation@0.1.1
131 128
	objc@0.2.7
132 129
	objc_id@0.1.1
133
	object@0.32.0
134 130
	once_cell@1.18.0
135
	os_info@3.7.0
136 131
	parking_lot@0.12.1
137 132
	parking_lot_core@0.9.8
138 133
	peeking_take_while@0.1.2
......
140 135
	pgcopy@0.0.2
141 136
	pgn-reader@0.25.0
142 137
	pkg-config@0.3.27
143
	portable-atomic@1.4.3
144
	positioned-io@0.3.2
138
	portable-atomic@1.4.2
139
	positioned-io@0.3.1
145 140
	ppv-lite86@0.2.17
146 141
	prettyplease@0.2.12
147 142
	prettytable-rs@0.10.0
148 143
	proc-macro2@1.0.66
149 144
	quick-csv@0.1.6
150
	quote@1.0.33
145
	quote@1.0.32
151 146
	rand@0.8.5
152 147
	rand_chacha@0.3.1
153 148
	rand_core@0.6.4
......
157 152
	redox_syscall@0.2.16
158 153
	redox_syscall@0.3.5
159 154
	redox_users@0.4.3
160
	regex-automata@0.3.7
161
	regex-syntax@0.7.5
162
	regex@1.9.4
155
	regex-automata@0.3.6
156
	regex-syntax@0.7.4
157
	regex@1.9.3
163 158
	rocksdb@0.21.0
164 159
	rusqlite@0.29.0
165 160
	rust-embed-impl@6.8.1
166 161
	rust-embed-utils@7.8.1
167 162
	rust-embed@6.8.1
168
	rustc-demangle@0.1.23
169 163
	rustc-hash@1.1.0
170 164
	rustc-serialize@0.3.24
171
	rustix@0.38.11
165
	rustix@0.38.7
172 166
	rustversion@1.0.14
173 167
	ryu@1.0.15
174 168
	same-file@1.0.6
175 169
	scopeguard@1.2.0
176 170
	semver@1.0.18
177
	serde@1.0.188
178
	serde_derive@1.0.188
179
	serde_json@1.0.105
171
	serde@1.0.183
172
	serde_derive@1.0.183
173
	serde_json@1.0.104
180 174
	serde_spanned@0.6.3
181 175
	sha2@0.10.7
182 176
	shakmaty-syzygy@0.24.0
......
185 179
	shell-words@1.1.0
186 180
	shlex@1.1.0
187 181
	smallvec@1.11.0
182
	static_assertions@1.1.0
188 183
	strsim@0.10.0
189 184
	syn@1.0.109
190
	syn@2.0.29
191
	tempfile@3.8.0
185
	syn@2.0.28
186
	tempfile@3.7.1
192 187
	term@0.7.0
193 188
	termtree@0.4.1
194 189
	test_bin@0.4.0
195 190
	textwrap@0.16.0
196
	thiserror-impl@1.0.47
197
	thiserror@1.0.47
191
	thiserror-impl@1.0.44
192
	thiserror@1.0.44
198 193
	tikv-jemalloc-sys@0.5.4+5.3.0-patched
199 194
	tinystr@0.7.1
200 195
	tinyvec@1.6.0
......
208 203
	typenum@1.16.0
209 204
	unic-langid-impl@0.9.1
210 205
	unic-langid@0.9.1
211
	unicase@2.7.0
206
	unicase@2.6.0
212 207
	unicode-bidi@0.3.13
213 208
	unicode-ident@1.0.11
214 209
	unicode-normalization@0.1.22
215 210
	unicode-width@0.1.10
216
	url@2.4.1
211
	url@2.4.0
217 212
	username@0.2.0
218 213
	utf8parse@0.2.1
219
	uuid@1.4.1
220 214
	vcpkg@0.2.15
221 215
	version_check@0.9.4
222 216
	walkdir@2.3.3
......
230 224
	windows-sys@0.45.0
231 225
	windows-sys@0.48.0
232 226
	windows-targets@0.42.2
233
	windows-targets@0.48.5
227
	windows-targets@0.48.1
234 228
	windows_aarch64_gnullvm@0.42.2
235
	windows_aarch64_gnullvm@0.48.5
229
	windows_aarch64_gnullvm@0.48.0
236 230
	windows_aarch64_msvc@0.42.2
237
	windows_aarch64_msvc@0.48.5
231
	windows_aarch64_msvc@0.48.0
238 232
	windows_i686_gnu@0.42.2
239
	windows_i686_gnu@0.48.5
233
	windows_i686_gnu@0.48.0
240 234
	windows_i686_msvc@0.42.2
241
	windows_i686_msvc@0.48.5
235
	windows_i686_msvc@0.48.0
242 236
	windows_x86_64_gnu@0.42.2
243
	windows_x86_64_gnu@0.48.5
237
	windows_x86_64_gnu@0.48.0
244 238
	windows_x86_64_gnullvm@0.42.2
245
	windows_x86_64_gnullvm@0.48.5
239
	windows_x86_64_gnullvm@0.48.0
246 240
	windows_x86_64_msvc@0.42.2
247
	windows_x86_64_msvc@0.48.5
248
	winnow@0.5.15
241
	windows_x86_64_msvc@0.48.0
242
	winnow@0.5.6
249 243
	xz2@0.1.7
250 244
	zstd-safe@6.0.6
251 245
	zstd-sys@2.0.8+zstd.1.5.5
252 246
	zstd@0.12.4
253 247
"
254
inherit cargo
248

  
249
inherit cargo git-r3
255 250

  
256 251
DESCRIPTION="swiss army knife for chess file formats"
257 252
HOMEPAGE="https://git.sr.ht/~alip/jja"
258
SRC_URI="https://git.sr.ht/~alip/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
253
SRC_URI="
259 254
	${CARGO_CRATE_URIS}
260 255
	"
256
EGIT_REPO_URI="https://git.sr.ht/~alip/jja"
261 257

  
262 258
# rocksdb needs clang
263 259
DEPEND+="sys-devel/clang
......
266 262
LICENSE="GPL-3+"
267 263
# Dependent crate licenses
268 264
LICENSE+=" Apache-2.0 BSD CC0-1.0 GPL-3+ ISC MIT Unicode-DFS-2016"
265

  
269 266
SLOT="0"
270
KEYWORDS="~amd64"
267
KEYWORDS=""
271 268

  
272 269
src_unpack() {
273 270
	cargo_src_unpack
274
	rmdir "${WORKDIR}"/${P}
275
	mv "${WORKDIR}"/${PN}-v${PV} "${WORKDIR}"/${P} || die
271
	git-r3_src_unpack
276 272
}
Thank you!