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

EAPI=8

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

inherit python-r1 gs-pypi

DESCRIPTION="Speech-Toolkit for bahasa Malaysia, powered by Tensorflow and PyTorch. [wheel]"

HOMEPAGE="https://github.com/huseinzol05/malaya-speech"
LICENSE="MIT"
SRC_URI="https://files.pythonhosted.org/packages/py3/${REALNAME::1}/${REALNAME}/${REALNAME//-/_}-${REALVERSION}-py3-none-any.whl"
SOURCEFILE="${REALNAME//-/_}-${REALVERSION}-py3-none-any.whl"
RESTRICT="test"

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

IUSE="full"
DEPENDENCIES="dev-python/numpy[${PYTHON_USEDEP}]
	dev-python/unidecode[${PYTHON_USEDEP}]
	dev-python/librosa[${PYTHON_USEDEP}]
	dev-python/soundfile[${PYTHON_USEDEP}]
	dev-python/herpetologist[${PYTHON_USEDEP}]
	dev-python/dataclasses[${PYTHON_USEDEP}]
	dev-python/python_speech_features[${PYTHON_USEDEP}]
	dev-python/tqdm[${PYTHON_USEDEP}]
	dev-python/tornado[${PYTHON_USEDEP}]
	>=dev-python/scipy-1.5.4[${PYTHON_USEDEP}]
	dev-python/malaya-boilerplate[${PYTHON_USEDEP}]
	dev-python/transformers[${PYTHON_USEDEP}]
	full? ( dev-python/pydub[${PYTHON_USEDEP}] )
	full? ( dev-python/pysndfx[${PYTHON_USEDEP}] )
	full? ( dev-python/pyroomacoustics[${PYTHON_USEDEP}] )
	virtual/allow-pypi-wheels"
BDEPEND="${DEPENDENCIES}"
RDEPEND="${DEPENDENCIES}"