diff --git a/dev-python/librosa/Manifest b/dev-python/librosa/Manifest new file mode 100644 index 0000000000..368194de7e --- /dev/null +++ b/dev-python/librosa/Manifest @@ -0,0 +1,2 @@ +DIST librosa-0.11.0.tar.gz 327001 BLAKE2B 5879093be4989196b2d7fc908eaab0e32950a3bcb4fab91e652cfaf592fe86994032b7c357399fff7583385f455226724d9278380f0909638967e02626ffd062 SHA512 607d08c19cf8c028468591c1cde21df233a6cf66f3017eb93eab4a84aa7fce4a03452eb6c952873a78385d5b8a3967441b7a97147aa692e24e97bb6fb92435bd +DIST librosa-0.11.0.tar.gz.provenance 9255 BLAKE2B 2e74dc0bcc93fa53ebc322576d02c045f5dd57f5ef4ff0413f77ed51ba88a2aa1b1cde57ba17e92e88b05f10b19815dc6f261d9246afbf5d748a21f61c989224 SHA512 b79d490ce7cf5688451bbd5957e2e7205dd7322b37a56e5eebefcc1425621e9e9ac900a3ac9871db1265ef30f147ddd06d98bd8ab80525677eeecc42d6c9b4b2 diff --git a/dev-python/librosa/librosa-0.11.0.ebuild b/dev-python/librosa/librosa-0.11.0.ebuild new file mode 100644 index 0000000000..5f026956b1 --- /dev/null +++ b/dev-python/librosa/librosa-0.11.0.ebuild @@ -0,0 +1,45 @@ +# Copyright 2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{11..13} ) +DISTUTILS_USE_PEP517=setuptools +PYPI_VERIFY_REPO="https://github.com/librosa/librosa" +inherit distutils-r1 pypi + +DESCRIPTION="Python library for audio and music analysis" +HOMEPAGE=" + https://github.com/librosa/librosa + https://pypi.org/project/librosa/ +" + +LICENSE="ISC" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + >=dev-python/audioread-2.1.9[${PYTHON_USEDEP}] + >=dev-python/numba-0.51.0[${PYTHON_USEDEP}] + >=dev-python/numpy-1.22.3[${PYTHON_USEDEP}] + >=dev-python/scipy-1.6.0[${PYTHON_USEDEP}] + >=dev-python/scikit-learn-1.1.0[${PYTHON_USEDEP}] + >=dev-python/joblib-1.0[${PYTHON_USEDEP}] + >=dev-python/decorator-4.3.0[${PYTHON_USEDEP}] + >=dev-python/soundfile-0.12.1[${PYTHON_USEDEP}] + >=dev-python/pooch-1.1[${PYTHON_USEDEP}] + >=dev-python/soxr-0.3.2[${PYTHON_USEDEP}] + >=dev-python/typing-extensions-4.1.1[${PYTHON_USEDEP}] + >=dev-python/lazy-loader-0.1[${PYTHON_USEDEP}] + >=dev-python/msgpack-1.0[${PYTHON_USEDEP}] +" + +# Tests require librosa-test-data git submodule (~157MB) not in sdist +RESTRICT="test" + +src_prepare() { + default + + # Remove deprecated license classifier + sed -i "/License ::/d" setup.cfg || die +} diff --git a/dev-python/librosa/metadata.xml b/dev-python/librosa/metadata.xml new file mode 100644 index 0000000000..e9679d4579 --- /dev/null +++ b/dev-python/librosa/metadata.xml @@ -0,0 +1,23 @@ + + + + + vowstar@gmail.com + Huang Rui + + + librosa/librosa + librosa + + + librosa is a Python package for music and audio analysis. It provides + the building blocks necessary to create music information retrieval + systems, including feature extraction, spectrogram computation, + pitch tracking, beat detection, and audio effects processing. + + + librosa是一个用于音乐和音频分析的Python包。它提供了创建音乐信息检索 + 系统所需的基本构建模块,包括特征提取、频谱图计算、音高跟踪、节拍检测 + 和音频效果处理。 + +