aboutsummaryrefslogtreecommitdiff
blob: 4e08ab17d058cf356b529d2900aec0cc989756e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
# Copyright 2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

# Autogenerated by pycargoebuild 0.13.3

EAPI=8

CRATES="
	addr2line@0.22.0
	adler@1.0.2
	aead@0.5.2
	age-core@0.10.0
	age@0.10.0
	ahash@0.8.11
	aho-corasick@1.1.3
	allocator-api2@0.2.18
	anstyle@1.0.8
	anyhow@1.0.86
	arbitrary@1.3.2
	arc-swap@1.7.1
	autocfg@1.3.0
	backtrace@0.3.73
	base64@0.21.7
	base64@0.22.1
	bech32@0.9.1
	bitflags@1.3.2
	bitflags@2.6.0
	block-buffer@0.10.4
	bstr@1.10.0
	bumpalo@3.16.0
	byteorder@1.5.0
	bzip2-sys@0.1.11+1.0.8
	bzip2@0.4.4
	cc@1.1.7
	cfg-if@1.0.0
	cfg_aliases@0.1.1
	chacha20@0.9.1
	chacha20poly1305@0.10.1
	charset@0.1.5
	chumsky@0.9.3
	cipher@0.4.4
	clap@4.5.13
	clap_builder@4.5.13
	clap_complete@4.5.12
	clap_complete_nushell@4.5.3
	clap_derive@4.5.13
	clap_lex@0.7.2
	configparser@3.1.0
	console@0.15.8
	cookie-factory@0.3.3
	cpufeatures@0.2.12
	crc32fast@1.4.2
	crossbeam-utils@0.8.20
	crypto-common@0.1.6
	ctrlc@3.4.4
	curl-sys@0.4.74+curl-8.9.0
	curl@0.4.46
	curve25519-dalek-derive@0.1.1
	curve25519-dalek@4.1.3
	dashmap@5.5.3
	data-encoding@2.6.0
	deranged@0.3.11
	derive_arbitrary@1.3.2
	deunicode@1.6.0
	digest@0.10.7
	displaydoc@0.2.5
	dotenvy@0.15.7
	either@1.13.0
	encode_unicode@0.3.6
	encoding_rs@0.8.34
	equivalent@1.0.1
	errno@0.3.9
	fastrand@1.9.0
	fastrand@2.1.0
	fiat-crypto@0.2.9
	filetime@0.2.23
	find-crate@0.6.3
	flate2@1.0.31
	fluent-bundle@0.15.3
	fluent-langneg@0.13.0
	fluent-syntax@0.11.1
	fluent@0.16.1
	form_urlencoded@1.2.1
	fs-err@2.11.0
	fs2@0.4.3
	fslock@0.2.1
	futures-channel@0.3.30
	futures-core@0.3.30
	futures-executor@0.3.30
	futures-io@0.3.30
	futures-macro@0.3.30
	futures-sink@0.3.30
	futures-task@0.3.30
	futures-util@0.3.30
	futures@0.3.30
	generic-array@0.14.7
	getrandom@0.2.15
	gimli@0.29.0
	git-testament-derive@0.2.0
	git-testament@0.2.5
	globset@0.4.14
	hashbrown@0.14.5
	heck@0.5.0
	hex@0.4.3
	hkdf@0.12.4
	hmac@0.12.1
	home@0.5.9
	i18n-config@0.4.6
	i18n-embed-fl@0.7.0
	i18n-embed-impl@0.8.3
	i18n-embed@0.14.1
	idna@0.5.0
	indexmap@2.3.0
	indicatif@0.17.8
	inout@0.1.3
	insta-cmd@0.5.0
	insta@1.39.0
	instant@0.1.13
	intl-memoizer@0.5.2
	intl_pluralrules@7.0.2
	io_tee@0.1.1
	itoa@1.0.11
	jobserver@0.1.32
	junction@1.1.0
	lazy_static@1.5.0
	libc@0.2.155
	libz-sys@1.1.18
	license@3.4.0+3.24.0
	linked-hash-map@0.5.6
	linux-raw-sys@0.4.14
	lock_api@0.4.12
	log@0.4.22
	mailparse@0.15.0
	memchr@2.7.4
	minijinja@2.1.1
	minimal-lexical@0.2.1
	miniz_oxide@0.7.4
	nix@0.28.0
	nom@7.1.3
	num-conv@0.1.0
	num_enum@0.7.3
	num_enum_derive@0.7.3
	number_prefix@0.4.0
	object@0.36.2
	once_cell@1.19.0
	opaque-debug@0.3.1
	openssl-probe@0.1.5
	openssl-src@300.3.1+3.3.1
	openssl-sys@0.9.103
	parking_lot@0.12.3
	parking_lot_core@0.9.10
	pathdiff@0.2.1
	pbkdf2@0.12.2
	pep440_rs@0.4.0
	pep508_rs@0.3.0
	percent-encoding@2.3.1
	pin-project-internal@1.1.5
	pin-project-lite@0.2.14
	pin-project@1.1.5
	pin-utils@0.1.0
	pkg-config@0.3.30
	poly1305@0.8.0
	portable-atomic@1.7.0
	powerfmt@0.2.0
	ppv-lite86@0.2.20
	proc-macro-crate@3.1.0
	proc-macro-error-attr@1.0.4
	proc-macro-error@1.0.4
	proc-macro2@1.0.86
	psm@0.1.21
	python-pkginfo@0.6.2
	quote@1.0.36
	quoted_printable@0.5.1
	rand@0.8.5
	rand_chacha@0.3.1
	rand_core@0.6.4
	redox_syscall@0.4.1
	redox_syscall@0.5.3
	regex-automata@0.4.7
	regex-syntax@0.8.4
	regex@1.10.6
	reword@7.0.0
	rfc2047-decoder@1.0.5
	ring@0.17.8
	rust-embed-impl@8.5.0
	rust-embed-utils@8.5.0
	rust-embed@8.5.0
	rustc-demangle@0.1.24
	rustc-hash@1.1.0
	rustc_version@0.4.0
	rustix@0.38.34
	rustls-pki-types@1.7.0
	rustls-webpki@0.102.6
	rustls@0.23.12
	ryu@1.0.18
	salsa20@0.10.2
	same-file@1.0.6
	schannel@0.1.23
	scopeguard@1.2.0
	scrypt@0.11.0
	secrecy@0.8.0
	self-replace@1.4.0
	self_cell@0.10.3
	self_cell@1.0.4
	semver@1.0.23
	serde@1.0.204
	serde_derive@1.0.204
	serde_json@1.0.122
	serde_spanned@0.6.7
	sha2@0.10.8
	shell-words@1.1.0
	shlex@1.3.0
	similar@2.6.0
	slab@0.4.9
	slug@0.1.5
	smallvec@1.13.2
	socket2@0.5.7
	spin@0.9.8
	stacker@0.1.15
	static_vcruntime@2.0.0
	strsim@0.10.0
	subtle@2.6.1
	syn@1.0.109
	syn@2.0.72
	tar@0.4.41
	target-lexicon@0.12.16
	tempfile@3.11.0
	terminal_size@0.3.0
	thiserror-impl@1.0.63
	thiserror@1.0.63
	time-core@0.1.2
	time-macros@0.2.18
	time@0.3.36
	tinystr@0.7.6
	tinyvec@1.8.0
	tinyvec_macros@0.1.1
	toml@0.5.11
	toml@0.8.19
	toml_datetime@0.6.8
	toml_edit@0.21.1
	toml_edit@0.22.20
	tracing-attributes@0.1.27
	tracing-core@0.1.32
	tracing@0.1.40
	type-map@0.5.0
	typenum@1.17.0
	unic-langid-impl@0.9.5
	unic-langid@0.9.5
	unicode-bidi@0.3.15
	unicode-ident@1.0.12
	unicode-normalization@0.1.23
	unicode-segmentation@1.11.0
	unicode-width@0.1.13
	universal-hash@0.5.1
	unscanny@0.1.0
	untrusted@0.9.0
	ureq@2.10.0
	url@2.5.2
	vcpkg@0.2.15
	version_check@0.9.5
	walkdir@2.5.0
	wasi@0.11.0+wasi-snapshot-preview1
	wasm-bindgen-backend@0.2.92
	wasm-bindgen-macro-support@0.2.92
	wasm-bindgen-macro@0.2.92
	wasm-bindgen-shared@0.2.92
	wasm-bindgen@0.2.92
	webpki-roots@0.26.3
	which@6.0.2
	winapi-i686-pc-windows-gnu@0.4.0
	winapi-util@0.1.9
	winapi-x86_64-pc-windows-gnu@0.4.0
	winapi@0.3.9
	windows-sys@0.48.0
	windows-sys@0.52.0
	windows-sys@0.59.0
	windows-targets@0.48.5
	windows-targets@0.52.6
	windows_aarch64_gnullvm@0.48.5
	windows_aarch64_gnullvm@0.52.6
	windows_aarch64_msvc@0.48.5
	windows_aarch64_msvc@0.52.6
	windows_i686_gnu@0.48.5
	windows_i686_gnu@0.52.6
	windows_i686_gnullvm@0.52.6
	windows_i686_msvc@0.48.5
	windows_i686_msvc@0.52.6
	windows_x86_64_gnu@0.48.5
	windows_x86_64_gnu@0.52.6
	windows_x86_64_gnullvm@0.48.5
	windows_x86_64_gnullvm@0.52.6
	windows_x86_64_msvc@0.48.5
	windows_x86_64_msvc@0.52.6
	winnow@0.5.40
	winnow@0.6.18
	winreg@0.52.0
	winsafe@0.0.19
	x25519-dalek@2.0.1
	xattr@1.3.1
	zerocopy-derive@0.7.35
	zerocopy@0.7.35
	zeroize@1.8.1
	zeroize_derive@1.4.2
	zip@0.6.6
	zip@1.1.4
	zstd-safe@7.2.1
	zstd-sys@2.0.13+zstd.1.5.6
	zstd@0.13.2
"

declare -A GIT_CRATES=(
	[dialoguer]='https://github.com/console-rs/dialoguer;47a9d4df729db7ffc1492bd0845be786e6f20153;dialoguer-%commit%'
	[monotrail-utils]='https://github.com/konstin/poc-monotrail;e0251f68c254f834180198b8677fcf85d4b6a844;poc-monotrail-%commit%/crates/monotrail-utils'
)

inherit cargo

DESCRIPTION="a Hassle-Free Python Experience"
HOMEPAGE="https://rye.astral.sh"
SRC_URI="
	https://github.com/astral-sh/rye/archive/${PV}/${P}.tar.gz
	${CARGO_CRATE_URIS}
"

LICENSE="MIT"
# Dependent crate licenses
LICENSE+="
	0BSD Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD ISC MIT MPL-2.0
	Unicode-3.0 Unicode-DFS-2016
"
SLOT="0"
KEYWORDS="~amd64"

DEPEND="
	sys-libs/zlib
"
RDEPEND="${DEPEND}"

QA_FLAGS_IGNORED=".*"

src_test() {
	local mytestargs=(
		--skip test_is_inside_git_work_tree
		# The following tests require network access.
		--skip test_basic_list
		--skip test_list_not_rye_managed
		--skip test_list_never_overwrite
		--skip test_add
		--skip test_dotenv
		--skip test_config
		--skip test_init
		--skip test_publish
		--skip test_lint_and_format
		--skip test_basic_script
		--skip test_version
		--skip test_empty_sync
		--skip test_autosync_remember
		--skip test_exclude_hashes
		--skip test_lockfile
		--skip test_generate_hashes
		--skip test_fetch
		--skip test_basic_tool_behavior
	)

	cargo_src_test -- "${mytestargs[@]}"
}

src_install() {
	cargo_src_install --path rye
}