43 lines
1.1 KiB
Bash
43 lines
1.1 KiB
Bash
|
# Copyright 1999-2022 Gentoo Authors
|
||
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
|
||
|
EAPI=8
|
||
|
|
||
|
DISTUTILS_USE_PEP517=setuptools
|
||
|
PYTHON_COMPAT=( python3_{8..10} )
|
||
|
|
||
|
inherit distutils-r1
|
||
|
|
||
|
if [[ ${PV} == 9999 ]]; then
|
||
|
inherit git-r3
|
||
|
EGIT_REPO_URI="https://github.com/librosa/librosa.git"
|
||
|
EGIT_SUBMODULES=()
|
||
|
else
|
||
|
SRC_URI="https://github.com/librosa/librosa/archive/${PV}.tar.gz -> ${P}.gh.tar.gz"
|
||
|
KEYWORDS="~amd64"
|
||
|
fi
|
||
|
|
||
|
DESCRIPTION="Audio / music analysis library for Python"
|
||
|
HOMEPAGE="https://librosa.org/"
|
||
|
LICENSE="ISC"
|
||
|
SLOT="0"
|
||
|
RESTRICT="test"
|
||
|
|
||
|
DEPEND="media-libs/libsndfile"
|
||
|
RDEPEND="
|
||
|
${DEPEND}
|
||
|
dev-python/audioread[${PYTHON_USEDEP}]
|
||
|
dev-python/decorator[${PYTHON_USEDEP}]
|
||
|
dev-python/joblib[${PYTHON_USEDEP}]
|
||
|
dev-python/numba[${PYTHON_USEDEP}]
|
||
|
dev-python/numpy[${PYTHON_USEDEP}]
|
||
|
dev-python/packaging[${PYTHON_USEDEP}]
|
||
|
dev-python/pooch[${PYTHON_USEDEP}]
|
||
|
dev-python/resampy[${PYTHON_USEDEP}]
|
||
|
dev-python/scipy[${PYTHON_USEDEP}]
|
||
|
dev-python/soundfile[${PYTHON_USEDEP}]
|
||
|
dev-python/soxr[${PYTHON_USEDEP}]
|
||
|
sci-libs/scikit-learn[${PYTHON_USEDEP}]
|
||
|
"
|
||
|
BDEPEND=""
|