# automatically generated by g-sorcery
# please do not edit this file

EAPI=8

REALNAME="${PN}"
LITERALNAME="${PN}"
REALVERSION="${PV}"
DIGEST_SOURCES="yes"
PYTHON_COMPAT=( python{3_11,3_12,3_13,3_14} )
DISTUTILS_USE_PEP517=standalone

inherit python-r1 gs-pypi

DESCRIPTION="AudioSample is an optimized numpy-like audio manipulation library, created for researchers, used by developers."

HOMEPAGE="https://deepdub.ai"
LICENSE="MIT"
SRC_URI="https://files.pythonhosted.org/packages/source/${REALNAME::1}/${REALNAME}/${REALNAME}-${REALVERSION}.tar.gz"
SOURCEFILE="${REALNAME}-${REALVERSION}.tar.gz"
RESTRICT="test"

SLOT="0"
KEYWORDS="~amd64 ~x86"

IUSE="all av jupyter noui play tests torch"
DEPENDENCIES="<=dev-python/numpy-2.2.0[${PYTHON_USEDEP}]
	jupyter? ( dev-python/jupyter[${PYTHON_USEDEP}] )
	jupyter? ( dev-python/ipython[${PYTHON_USEDEP}] )
	jupyter? ( dev-python/librosa[${PYTHON_USEDEP}] )
	jupyter? ( dev-python/matplotlib[${PYTHON_USEDEP}] )
	torch? ( dev-python/torch[${PYTHON_USEDEP}] )
	noui? ( dev-python/torch[${PYTHON_USEDEP}] )
	noui? ( dev-python/av[${PYTHON_USEDEP}] )
	av? ( dev-python/av[${PYTHON_USEDEP}] )
	play? ( dev-python/pyaudio[${PYTHON_USEDEP}] )
	all? ( dev-python/jupyter[${PYTHON_USEDEP}] )
	all? ( dev-python/ipython[${PYTHON_USEDEP}] )
	all? ( dev-python/librosa[${PYTHON_USEDEP}] )
	all? ( dev-python/matplotlib[${PYTHON_USEDEP}] )
	all? ( dev-python/torch[${PYTHON_USEDEP}] )
	all? ( dev-python/av[${PYTHON_USEDEP}] )
	tests? ( dev-python/pytest[${PYTHON_USEDEP}] )
	tests? ( dev-python/jupyter[${PYTHON_USEDEP}] )
	tests? ( dev-python/ipython[${PYTHON_USEDEP}] )
	tests? ( dev-python/librosa[${PYTHON_USEDEP}] )
	tests? ( dev-python/matplotlib[${PYTHON_USEDEP}] )
	tests? ( dev-python/scipy[${PYTHON_USEDEP}] )
	tests? ( dev-python/pyaudio[${PYTHON_USEDEP}] )
	tests? ( dev-python/torch[${PYTHON_USEDEP}] )
	tests? ( dev-python/av[${PYTHON_USEDEP}] )
	tests? ( dev-python/fire[${PYTHON_USEDEP}] )"
BDEPEND="${DEPENDENCIES}"
RDEPEND="${DEPENDENCIES}"