# Copyright 2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

# Auto-Generated by cargo-ebuild 0.5.4

EAPI=8

CRATES="
	addr2line-0.19.0
	adler-1.0.2
	advapi32-sys-0.2.0
	aes-0.7.5
	ahash-0.7.6
	aho-corasick-0.7.20
	android_system_properties-0.1.5
	anyhow-1.0.68
	anylog-0.6.3
	arrayvec-0.7.2
	assert-json-diff-2.0.2
	atty-0.2.14
	autocfg-1.1.0
	backoff-0.4.0
	backtrace-0.3.67
	base64-0.13.1
	base64ct-1.5.3
	binary-merge-0.1.2
	bitflags-1.3.2
	bitvec-1.0.1
	block-buffer-0.10.3
	brotli-sys-0.3.2
	brotli2-0.3.2
	brownstone-3.0.0
	bstr-0.2.17
	bstr-1.1.0
	bumpalo-3.12.0
	bytecount-0.6.3
	byteorder-1.4.3
	bzip2-0.4.4
	bzip2-sys-0.1.11+1.0.8
	cc-1.0.78
	cfg-if-1.0.0
	chardet-0.2.4
	chrono-0.4.23
	cipher-0.3.0
	clap-3.2.23
	clap_lex-0.2.4
	codespan-reporting-0.11.1
	colored-2.0.0
	concolor-0.0.11
	concolor-query-0.1.0
	console-0.15.5
	constant_time_eq-0.1.5
	content_inspector-0.2.4
	core-foundation-sys-0.8.3
	cpufeatures-0.2.5
	crc32fast-1.3.2
	crossbeam-channel-0.5.6
	crossbeam-deque-0.8.2
	crossbeam-epoch-0.9.13
	crossbeam-utils-0.8.14
	crypto-common-0.1.6
	csv-1.1.6
	csv-core-0.1.10
	curl-0.4.44
	curl-sys-0.4.59+curl-7.86.0
	cxx-1.0.88
	cxx-build-1.0.88
	cxxbridge-flags-1.0.88
	cxxbridge-macro-1.0.88
	debugid-0.8.0
	difflib-0.4.0
	digest-0.10.6
	dirs-4.0.0
	dirs-next-2.0.0
	dirs-sys-0.3.7
	dirs-sys-next-0.1.2
	dlv-list-0.3.0
	dmsort-1.0.2
	dotenv-0.15.0
	dunce-1.0.3
	either-1.8.1
	elementtree-1.2.3
	elsa-1.7.0
	encode_unicode-0.3.6
	encode_unicode-1.0.0
	encoding-0.2.33
	encoding-index-japanese-1.20141219.5
	encoding-index-korean-1.20141219.5
	encoding-index-simpchinese-1.20141219.5
	encoding-index-singlebyte-1.20141219.5
	encoding-index-tradchinese-1.20141219.5
	encoding_index_tests-0.1.4
	errno-0.2.8
	errno-dragonfly-0.1.2
	failure-0.1.8
	fallible-iterator-0.2.0
	fastrand-1.8.0
	filetime-0.2.19
	flate2-1.0.25
	float-cmp-0.9.0
	fnv-1.0.7
	form_urlencoded-1.1.0
	funty-2.0.0
	generic-array-0.14.6
	getrandom-0.2.8
	gimli-0.27.1
	git2-0.16.1
	glob-0.3.1
	globset-0.4.10
	goblin-0.6.0
	hashbrown-0.12.3
	hermit-abi-0.1.19
	hermit-abi-0.2.6
	hex-0.4.3
	hmac-0.12.1
	hostname-0.3.1
	httparse-1.8.0
	httpdate-1.0.2
	humantime-2.1.0
	humantime-serde-1.1.1
	iana-time-zone-0.1.53
	iana-time-zone-haiku-0.1.1
	idna-0.3.0
	if_chain-1.0.2
	ignore-0.4.20
	indent_write-2.2.0
	indexmap-1.9.2
	indicatif-0.14.0
	inplace-vec-builder-0.1.1
	insta-1.26.0
	instant-0.1.12
	io-lifetimes-1.0.4
	is-terminal-0.4.2
	itertools-0.10.5
	itoa-0.4.8
	itoa-1.0.5
	java-properties-1.4.1
	jobserver-0.1.25
	joinery-2.1.0
	js-sys-0.3.60
	lazy_static-1.4.0
	lazycell-1.3.0
	leb128-0.2.5
	libc-0.2.139
	libgit2-sys-0.14.2+1.5.1
	libz-sys-1.1.8
	line-wrap-0.1.1
	link-cplusplus-1.0.8
	linked-hash-map-0.5.6
	linux-raw-sys-0.1.4
	lock_api-0.4.9
	log-0.4.17
	mac-process-info-0.2.0
	match_cfg-0.1.0
	maybe-owned-0.3.4
	memchr-2.5.0
	memmap2-0.5.8
	memoffset-0.7.1
	might-be-minified-0.3.0
	minimal-lexical-0.2.1
	miniz_oxide-0.6.2
	mockito-0.31.1
	new_debug_unreachable-1.0.4
	nom-7.1.3
	nom-supreme-0.8.0
	nom8-0.2.0
	normalize-line-endings-0.3.0
	num-integer-0.1.45
	num-traits-0.2.15
	num_cpus-1.15.0
	number_prefix-0.3.0
	object-0.30.3
	once_cell-1.17.0
	opaque-debug-0.3.0
	open-3.2.0
	openssl-probe-0.1.5
	openssl-src-111.24.0+1.1.1s
	openssl-sys-0.9.80
	ordered-multimap-0.4.3
	os_info-3.5.1
	os_pipe-1.1.2
	os_str_bytes-6.4.1
	osascript-0.3.0
	parking_lot-0.12.1
	parking_lot_core-0.9.6
	password-hash-0.4.2
	pathdiff-0.2.1
	pbkdf2-0.11.0
	pdb-0.8.0
	pdb-addr2line-0.10.4
	percent-encoding-2.2.0
	pest-2.5.4
	pest_derive-2.5.4
	pest_generator-2.5.4
	pest_meta-2.5.4
	phf_shared-0.10.0
	pin-project-lite-0.2.9
	pkg-config-0.3.26
	plain-0.2.3
	plist-1.4.0
	ppv-lite86-0.2.17
	precomputed-hash-0.1.1
	predicates-2.1.5
	predicates-core-1.0.5
	prettytable-rs-0.10.0
	proc-macro2-1.0.50
	proguard-5.0.0
	quick-xml-0.26.0
	quote-1.0.23
	r2d2-0.8.10
	radium-0.7.0
	rand-0.8.5
	rand_chacha-0.3.1
	rand_core-0.6.4
	range-collections-0.2.4
	rayon-1.6.1
	rayon-core-1.10.2
	redox_syscall-0.2.16
	redox_users-0.4.3
	regex-1.7.1
	regex-automata-0.1.10
	regex-syntax-0.6.28
	remove_dir_all-0.5.3
	runas-0.2.1
	rust-ini-0.18.0
	rustc-demangle-0.1.21
	rustc_version-0.2.3
	rustc_version-0.4.0
	rustix-0.36.7
	rustversion-1.0.11
	ryu-1.0.12
	safemem-0.3.3
	same-file-1.0.6
	schannel-0.1.21
	scheduled-thread-pool-0.2.6
	scopeguard-1.1.0
	scratch-1.0.3
	scroll-0.10.2
	scroll-0.11.0
	scroll_derive-0.10.5
	scroll_derive-0.11.0
	semver-0.9.0
	semver-1.0.16
	semver-parser-0.7.0
	sentry-0.29.2
	sentry-anyhow-0.29.2
	sentry-backtrace-0.29.2
	sentry-contexts-0.29.2
	sentry-core-0.29.2
	sentry-types-0.29.2
	serde-1.0.152
	serde_derive-1.0.152
	serde_json-1.0.91
	serde_urlencoded-0.7.1
	sha1-0.10.5
	sha1_smol-1.0.0
	sha2-0.10.6
	shlex-1.1.0
	signal-hook-0.3.14
	signal-hook-registry-1.4.0
	similar-2.2.1
	siphasher-0.3.10
	smallvec-1.10.0
	snapbox-0.4.4
	snapbox-macros-0.3.1
	socket2-0.4.7
	sourcemap-6.2.1
	stable_deref_trait-1.2.0
	string_cache-0.8.4
	strsim-0.10.0
	subtle-2.4.1
	symbolic-11.0.0
	symbolic-common-11.0.0
	symbolic-debuginfo-11.0.0
	symbolic-il2cpp-11.0.0
	symbolic-ppdb-11.0.0
	symbolic-symcache-11.0.0
	syn-1.0.107
	tap-1.0.1
	tempfile-3.3.0
	term-0.7.0
	termcolor-1.2.0
	terminal_size-0.2.3
	textwrap-0.16.0
	thiserror-1.0.38
	thiserror-impl-1.0.38
	thread_local-1.1.4
	time-0.1.45
	time-0.3.17
	time-core-0.1.0
	time-macros-0.2.6
	tinyvec-1.6.0
	tinyvec_macros-0.1.0
	toml_datetime-0.5.1
	toml_edit-0.17.1
	tracing-0.1.37
	tracing-attributes-0.1.23
	tracing-core-0.1.30
	trycmd-0.14.10
	typenum-1.16.0
	ucd-trie-0.1.5
	uname-0.1.1
	unicode-bidi-0.3.10
	unicode-id-0.3.3
	unicode-ident-1.0.6
	unicode-normalization-0.1.22
	unicode-width-0.1.10
	unix-daemonize-0.1.2
	url-2.3.1
	username-0.2.0
	uuid-1.2.2
	vcpkg-0.2.15
	version_check-0.9.4
	wait-timeout-0.2.0
	walkdir-2.3.2
	wasi-0.10.0+wasi-snapshot-preview1
	wasi-0.11.0+wasi-snapshot-preview1
	wasm-bindgen-0.2.83
	wasm-bindgen-backend-0.2.83
	wasm-bindgen-macro-0.2.83
	wasm-bindgen-macro-support-0.2.83
	wasm-bindgen-shared-0.2.83
	wasmparser-0.95.0
	watto-0.1.0
	which-3.1.1
	which-4.4.0
	winapi-0.2.8
	winapi-0.3.9
	winapi-build-0.1.1
	winapi-i686-pc-windows-gnu-0.4.0
	winapi-util-0.1.5
	winapi-x86_64-pc-windows-gnu-0.4.0
	windows-sys-0.42.0
	windows_aarch64_gnullvm-0.42.1
	windows_aarch64_msvc-0.42.1
	windows_i686_gnu-0.42.1
	windows_i686_msvc-0.42.1
	windows_x86_64_gnu-0.42.1
	windows_x86_64_gnullvm-0.42.1
	windows_x86_64_msvc-0.42.1
	wyz-0.5.1
	yaml-rust-0.4.5
	yansi-0.5.1
	zip-0.6.3
	zstd-0.11.2+zstd.1.5.2
	zstd-safe-5.0.2+zstd.1.5.2
	zstd-sys-2.0.5+zstd.1.5.2
"

inherit cargo

DESCRIPTION="This is a Sentry command line client for some generic tasks."
# Double check the homepage as the cargo_metadata crate
# does not provide this value so instead repository is used
HOMEPAGE="https://docs.sentry.io/product/cli/"
SRC_URI="$(cargo_crate_uris) https://github.com/getsentry/sentry-cli/archive/refs/tags/2.12.0.tar.gz"

# License set may be more restrictive as OR is not respected
# use cargo-license for a more accurate license picture
LICENSE="BSD-3"
SLOT="0"
KEYWORDS="~amd64"

DEPEND=""
RDEPEND="${DEPEND}"
BDEPEND=""

# rust does not use *FLAGS from make.conf, silence portage warning
# update with proper path to binaries this crate installs, omit leading /
QA_FLAGS_IGNORED="usr/bin/${PN}"