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

EAPI=8

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

inherit python-r1 gs-pypi

DESCRIPTION="Speech recognition extension library"

HOMEPAGE="https://github.com/dictation-toolbox/dragonfly"
LICENSE="LICENSE.txt"
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="accessibility kaldi playsound sphinx test"
DEPENDENCIES=">=dev-python/setuptools-40.0.0[${PYTHON_USEDEP}]
	>=dev-python/packaging-19.0[${PYTHON_USEDEP}]
	dev-python/six[${PYTHON_USEDEP}]
	dev-python/lark-parser[${PYTHON_USEDEP}]
	>=dev-python/psutil-5.5.1[${PYTHON_USEDEP}]
	>=dev-python/pyperclip-1.7.0[${PYTHON_USEDEP}]
	dev-python/pynput[${PYTHON_USEDEP}]
	dev-python/pyobjc[${PYTHON_USEDEP}]
	dev-python/py-applescript[${PYTHON_USEDEP}]
	accessibility? ( dev-python/regex[${PYTHON_USEDEP}] )
	kaldi? ( dev-python/kaldi-active-grammar[${PYTHON_USEDEP}] )
	kaldi? ( dev-python/sounddevice[${PYTHON_USEDEP}] )
	kaldi? ( dev-python/webrtcvad-wheels[${PYTHON_USEDEP}] )
	playsound? ( dev-python/sounddevice[${PYTHON_USEDEP}] )
	sphinx? ( dev-python/sounddevice[${PYTHON_USEDEP}] )
	sphinx? ( dev-python/sphinxwrapper[${PYTHON_USEDEP}] )
	sphinx? ( dev-python/pyjsgf[${PYTHON_USEDEP}] )
	test? ( ~dev-python/pytest-3.9[${PYTHON_USEDEP}] )"
BDEPEND="${DEPENDENCIES}"
RDEPEND="${DEPENDENCIES}"