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

EAPI=8

# CRATES generated by pycargoebuild 0.16.0
CRATES="
	addr2line@0.24.2
	adler2@2.0.0
	aho-corasick@1.1.3
	alsa-sys@0.3.1
	alsa@0.9.1
	arc-swap@1.7.1
	arrayvec@0.7.6
	async-channel@1.9.0
	async-channel@2.3.1
	async-executor@1.13.1
	async-global-executor@2.4.1
	async-io@2.4.0
	async-lock@3.4.0
	async-process@2.3.0
	async-signal@0.2.10
	async-std@1.13.0
	async-task@4.7.1
	atomic-waker@1.1.2
	autocfg@1.4.0
	backtrace@0.3.74
	base64@0.22.1
	bindgen@0.70.1
	bitflags@1.3.2
	bitflags@2.8.0
	blocking@1.6.1
	bumpalo@3.17.0
	bytemuck@1.21.0
	byteorder@1.5.0
	bytes@1.10.0
	cc@1.2.11
	cesu8@1.1.0
	cexpr@0.6.0
	cfg-if@1.0.0
	chfft@0.3.4
	clang-sys@1.8.1
	claxon@0.4.3
	combine@4.6.7
	concurrent-queue@2.5.0
	core-foundation-sys@0.8.7
	coreaudio-rs@0.11.3
	coreaudio-sys@0.2.16
	cpal@0.15.3
	crc32fast@1.4.2
	crossbeam-utils@0.8.21
	dasp_sample@0.11.0
	either@1.13.0
	encoding_rs@0.8.35
	equivalent@1.0.1
	errno@0.3.10
	event-listener-strategy@0.5.3
	event-listener@2.5.3
	event-listener@5.4.0
	fastrand@2.3.0
	futures-channel@0.3.31
	futures-core@0.3.31
	futures-executor@0.3.31
	futures-io@0.3.31
	futures-lite@2.6.0
	futures-macro@0.3.31
	futures-sink@0.3.31
	futures-task@0.3.31
	futures-util@0.3.31
	futures@0.3.31
	getrandom@0.3.1
	gimli@0.31.1
	glob@0.3.2
	gloo-timers@0.3.0
	hashbrown@0.15.2
	heck@0.4.1
	hermit-abi@0.4.0
	hound@3.5.1
	indexmap@2.7.1
	indoc@2.0.5
	itertools@0.13.0
	itoa@1.0.14
	jni-sys@0.3.0
	jni@0.21.1
	jobserver@0.1.32
	js-sys@0.3.77
	kv-log-macro@1.0.7
	lazy_static@1.5.0
	lewton@0.10.2
	libc@0.2.169
	libloading@0.8.6
	linux-raw-sys@0.4.15
	lock_api@0.4.12
	log@0.4.25
	mach2@0.4.2
	memchr@2.7.4
	memoffset@0.9.1
	minimal-lexical@0.2.1
	miniz_oxide@0.8.3
	ndk-context@0.1.1
	ndk-sys@0.5.0+25.2.9519653
	ndk@0.8.0
	nom@7.1.3
	num-complex@0.4.6
	num-derive@0.4.2
	num-traits@0.2.19
	num_enum@0.7.3
	num_enum_derive@0.7.3
	object@0.36.7
	oboe-sys@0.6.1
	oboe@0.6.1
	ogg@0.8.0
	once_cell@1.20.2
	parking@2.2.1
	parking_lot@0.12.3
	parking_lot_core@0.9.10
	pin-project-lite@0.2.16
	pin-utils@0.1.0
	piper@0.2.4
	pkg-config@0.3.31
	polling@3.7.4
	proc-macro-crate@3.2.0
	proc-macro2@1.0.93
	pyo3-asyncio@0.20.0
	pyo3-build-config@0.20.2
	pyo3-ffi@0.20.2
	pyo3-log@0.8.4
	pyo3-macros-backend@0.20.2
	pyo3-macros@0.20.2
	pyo3@0.20.2
	quote@1.0.38
	redox_syscall@0.5.8
	regex-automata@0.4.9
	regex-syntax@0.8.5
	regex@1.11.1
	rodio@0.20.1
	rustc-demangle@0.1.24
	rustc-hash@1.1.0
	rustix@0.38.44
	rustversion@1.0.19
	ryu@1.0.19
	same-file@1.0.6
	scopeguard@1.2.0
	serde@1.0.217
	serde_derive@1.0.217
	serde_json@1.0.138
	shlex@1.3.0
	signal-hook-registry@1.4.2
	slab@0.4.9
	smallvec@1.13.2
	symphonia-bundle-mp3@0.5.4
	symphonia-core@0.5.4
	symphonia-metadata@0.5.4
	symphonia@0.5.4
	syn@2.0.98
	target-lexicon@0.12.16
	tempfile@3.16.0
	thiserror-impl@1.0.69
	thiserror@1.0.69
	tinyvec@1.8.1
	tinyvec_macros@0.1.1
	tokio@1.43.0
	toml_datetime@0.6.8
	toml_edit@0.22.23
	tracing-core@0.1.33
	tracing@0.1.41
	unicode-ident@1.0.16
	unindent@0.2.3
	value-bag@1.10.0
	walkdir@2.5.0
	wasi@0.13.3+wasi-0.2.2
	wasm-bindgen-backend@0.2.100
	wasm-bindgen-futures@0.4.50
	wasm-bindgen-macro-support@0.2.100
	wasm-bindgen-macro@0.2.100
	wasm-bindgen-shared@0.2.100
	wasm-bindgen@0.2.100
	web-sys@0.3.77
	winapi-util@0.1.9
	windows-core@0.54.0
	windows-result@0.1.2
	windows-sys@0.45.0
	windows-sys@0.59.0
	windows-targets@0.42.2
	windows-targets@0.52.6
	windows@0.54.0
	windows_aarch64_gnullvm@0.42.2
	windows_aarch64_gnullvm@0.52.6
	windows_aarch64_msvc@0.42.2
	windows_aarch64_msvc@0.52.6
	windows_i686_gnu@0.42.2
	windows_i686_gnu@0.52.6
	windows_i686_gnullvm@0.52.6
	windows_i686_msvc@0.42.2
	windows_i686_msvc@0.52.6
	windows_x86_64_gnu@0.42.2
	windows_x86_64_gnu@0.52.6
	windows_x86_64_gnullvm@0.42.2
	windows_x86_64_gnullvm@0.52.6
	windows_x86_64_msvc@0.42.2
	windows_x86_64_msvc@0.52.6
	winnow@0.7.1
	wit-bindgen-rt@0.33.0
"

DISTUTILS_EXT=1
DISTUTILS_USE_PEP517=maturin
PYTHON_COMPAT=( python3_{10..15} )

inherit cargo distutils-r1 pypi

DESCRIPTION="Rust core for the shazamio Shazam API client."
HOMEPAGE="https://github.com/shazamio/shazamio-core
	https://pypi.org/project/shazamio-core/"
SRC_URI+=" ${CARGO_CRATE_URIS}"

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