# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_EXT=1 DISTUTILS_USE_PEP517=maturin PYTHON_COMPAT=( python3_{13..14} ) CRATES=" Inflector@0.11.4 ahash@0.8.12 aho-corasick@1.1.4 anyhow@1.0.101 arrayvec@0.5.2 atomic-waker@1.1.2 autocfg@1.5.0 base64@0.22.1 bitflags@2.10.0 block-buffer@0.10.4 bumpalo@3.19.1 byteorder@1.5.0 bytes@1.11.1 cc@1.2.55 cfg-if@1.0.4 chardetng@0.1.17 codegen@0.2.0 core-foundation@0.9.4 core-foundation-sys@0.8.7 cpufeatures@0.2.17 crossbeam-deque@0.8.6 crossbeam-epoch@0.9.18 crossbeam-utils@0.8.21 crypto-common@0.1.7 cssparser@0.31.2 cssparser-macros@0.6.1 derive_more@0.99.20 digest@0.10.7 displaydoc@0.2.5 dtoa@1.0.11 dtoa-short@0.3.5 ego-tree@0.6.3 either@1.15.0 encoding_rs@0.8.35 equivalent@1.0.2 errno@0.3.14 fastrand@2.3.0 find-msvc-tools@0.1.9 fnv@1.0.7 foldhash@0.1.5 foreign-types@0.3.2 foreign-types-shared@0.1.1 form_urlencoded@1.2.2 futf@0.1.5 futures@0.3.31 futures-channel@0.3.31 futures-core@0.3.31 futures-executor@0.3.31 futures-io@0.3.31 futures-macro@0.3.31 futures-sink@0.3.31 futures-task@0.3.31 futures-util@0.3.31 fxhash@0.2.1 generic-array@0.14.7 getopts@0.2.24 getrandom@0.2.17 getrandom@0.3.4 getrandom@0.4.1 h2@0.4.13 hashbrown@0.12.3 hashbrown@0.15.5 hashbrown@0.16.1 heck@0.5.0 hex@0.4.3 html5ever@0.27.0 http@1.4.0 http-body@1.0.1 http-body-util@0.1.3 httparse@1.10.1 hyper@1.8.1 hyper-rustls@0.27.7 hyper-tls@0.6.0 hyper-util@0.1.20 icu_collections@2.1.1 icu_locale_core@2.1.1 icu_normalizer@2.1.1 icu_normalizer_data@2.1.1 icu_properties@2.1.2 icu_properties_data@2.1.2 icu_provider@2.1.1 id-arena@2.3.0 idna@1.1.0 idna_adapter@1.2.1 indexmap@1.9.3 indexmap@2.13.0 indoc@2.0.7 ipnet@2.11.0 iri-string@0.7.10 itertools@0.13.0 itoa@1.0.17 js-sys@0.3.85 lazy_static@1.5.0 leb128fmt@0.1.0 libc@0.2.181 linux-raw-sys@0.11.0 litemap@0.8.1 lock_api@0.4.14 log@0.4.29 mac@0.1.1 markup5ever@0.12.1 memchr@2.8.0 memoffset@0.9.1 mime@0.3.17 mime_guess@2.0.5 mio@1.1.1 native-tls@0.2.14 new_debug_unreachable@1.0.6 once_cell@1.21.3 openssl@0.10.75 openssl-macros@0.1.1 openssl-probe@0.1.6 openssl-sys@0.9.111 parking_lot@0.12.5 parking_lot_core@0.9.12 percent-encoding@2.3.2 phf@0.10.1 phf@0.11.3 phf_codegen@0.10.0 phf_codegen@0.11.3 phf_generator@0.10.0 phf_generator@0.11.3 phf_macros@0.11.3 phf_shared@0.10.0 phf_shared@0.11.3 pin-project-lite@0.2.16 pin-utils@0.1.0 pkg-config@0.3.32 portable-atomic@1.13.1 potential_utf@0.1.4 ppv-lite86@0.2.21 precomputed-hash@0.1.1 prettyplease@0.2.37 proc-macro2@1.0.106 pyo3@0.27.2 pyo3-build-config@0.27.2 pyo3-ffi@0.27.2 pyo3-macros@0.27.2 pyo3-macros-backend@0.27.2 pythonize@0.27.0 quote@1.0.44 r-efi@5.3.0 rand@0.8.5 rand_chacha@0.3.1 rand_core@0.6.4 rayon@1.11.0 rayon-core@1.13.0 redox_syscall@0.5.18 regex@1.12.3 regex-automata@0.4.14 regex-syntax@0.8.9 reqwest@0.12.28 ring@0.17.14 rustix@1.1.3 rustls@0.23.36 rustls-pki-types@1.14.0 rustls-webpki@0.103.9 rustversion@1.0.22 ryu@1.0.23 same-file@1.0.6 schannel@0.1.28 scopeguard@1.2.0 scraper@0.20.0 security-framework@2.11.1 security-framework-sys@2.15.0 selectors@0.25.0 semver@1.0.27 serde@1.0.228 serde_core@1.0.228 serde_derive@1.0.228 serde_json@1.0.149 serde_urlencoded@0.7.1 serde_yaml@0.9.34+deprecated servo_arc@0.3.0 sha1@0.10.6 sha2@0.10.9 shlex@1.3.0 signal-hook-registry@1.4.8 siphasher@0.3.11 siphasher@1.0.2 slab@0.4.12 smallvec@1.15.1 socket2@0.6.2 stable_deref_trait@1.2.1 string_cache@0.8.9 string_cache_codegen@0.5.4 strum@0.26.3 strum_macros@0.26.4 subtle@2.6.1 syn@1.0.109 syn@2.0.115 sync_wrapper@1.0.2 synstructure@0.13.2 system-configuration@0.7.0 system-configuration-sys@0.6.0 target-lexicon@0.13.4 tempfile@3.25.0 tendril@0.4.3 termcolor@1.4.1 textdistance@1.1.1 thiserror@1.0.69 thiserror-impl@1.0.69 tinystr@0.8.2 tokio@1.49.0 tokio-macros@2.6.0 tokio-native-tls@0.3.1 tokio-rustls@0.26.4 tokio-util@0.7.18 tower@0.5.3 tower-http@0.6.8 tower-layer@0.3.3 tower-service@0.3.3 tracing@0.1.44 tracing-attributes@0.1.31 tracing-core@0.1.36 try-lock@0.2.5 ts-rs@6.2.1 ts-rs-macros@6.2.0 typenum@1.19.0 unicase@2.9.0 unicode-bom@2.0.3 unicode-ident@1.0.23 unicode-width@0.2.2 unicode-xid@0.2.6 unindent@0.2.4 unsafe-libyaml@0.2.11 untrusted@0.9.0 url@2.5.8 urlencoding@2.1.3 utf-8@0.7.6 utf8_iter@1.0.4 vcpkg@0.2.15 version_check@0.9.5 walkdir@2.5.0 want@0.3.1 wasi@0.11.1+wasi-snapshot-preview1 wasip2@1.0.2+wasi-0.2.9 wasip3@0.4.0+wasi-0.3.0-rc-2026-01-06 wasm-bindgen@0.2.108 wasm-bindgen-futures@0.4.58 wasm-bindgen-macro@0.2.108 wasm-bindgen-macro-support@0.2.108 wasm-bindgen-shared@0.2.108 wasm-encoder@0.244.0 wasm-metadata@0.244.0 wasmparser@0.244.0 web-sys@0.3.85 widestring@1.2.1 winapi-util@0.1.11 windows-link@0.2.1 windows-registry@0.6.1 windows-result@0.4.1 windows-strings@0.5.1 windows-sys@0.52.0 windows-sys@0.60.2 windows-sys@0.61.2 windows-targets@0.52.6 windows-targets@0.53.5 windows_aarch64_gnullvm@0.52.6 windows_aarch64_gnullvm@0.53.1 windows_aarch64_msvc@0.52.6 windows_aarch64_msvc@0.53.1 windows_i686_gnu@0.52.6 windows_i686_gnu@0.53.1 windows_i686_gnullvm@0.52.6 windows_i686_gnullvm@0.53.1 windows_i686_msvc@0.52.6 windows_i686_msvc@0.53.1 windows_x86_64_gnu@0.52.6 windows_x86_64_gnu@0.53.1 windows_x86_64_gnullvm@0.52.6 windows_x86_64_gnullvm@0.53.1 windows_x86_64_msvc@0.52.6 windows_x86_64_msvc@0.53.1 wit-bindgen@0.51.0 wit-bindgen-core@0.51.0 wit-bindgen-rust@0.51.0 wit-bindgen-rust-macro@0.51.0 wit-component@0.244.0 wit-parser@0.244.0 writeable@0.6.2 xxhash-rust@0.8.15 yoke@0.8.1 yoke-derive@0.8.1 zerocopy@0.8.39 zerocopy-derive@0.8.39 zerofrom@0.1.6 zerofrom-derive@0.1.6 zeroize@1.8.2 zerotrie@0.2.3 zerovec@0.11.5 zerovec-derive@0.11.2 zmij@1.0.21 " declare -A GIT_CRATES=( [accuraterip-drive-db]='https://github.com/arg274/cambia;bef0975f72e15b925d881ab70d3bc556ecf4ff7f;cambia-%commit%/accuraterip-drive-db' [cambia-core]='https://github.com/arg274/cambia;bef0975f72e15b925d881ab70d3bc556ecf4ff7f;cambia-%commit%/cambia-core' [simple-text-decode]='https://github.com/arg274/cambia;bef0975f72e15b925d881ab70d3bc556ecf4ff7f;cambia-%commit%/simple-text-decode' ) inherit cargo distutils-r1 pypi DESCRIPTION="Python bindings for the cambia CD rip log checker" HOMEPAGE=" https://github.com/KyokoMiki/pycambia/ https://pypi.org/project/pycambia/ " SRC_URI+=" ${CARGO_CRATE_URIS} " LICENSE="MIT" # Dependent crate licenses LICENSE+=" Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD BSD-2 Boost-1.0 ISC MIT MPL-2.0 Unicode-3.0 ZLIB " SLOT="0" KEYWORDS="~amd64" QA_FLAGS_IGNORED="usr/lib.*/py.*/site-packages/cambia/_cambia.*.so" EPYTEST_PLUGINS=() distutils_enable_tests pytest