# 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="Forte is extensible framework for building composable and modularized NLP workflows."

HOMEPAGE="https://github.com/asyml/forte"
LICENSE="Apache License Version 2.0"
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="audio_ext data_aug extractor ir models nlp remote stave test wikipedia"
DEPENDENCIES=">=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}]
	>=dev-python/numpy-1.16.6[${PYTHON_USEDEP}]
	>=dev-python/jsonpickle-1.4[${PYTHON_USEDEP}]
	>=dev-python/pyyaml-5.4[${PYTHON_USEDEP}]
	dev-python/smart-open[${PYTHON_USEDEP}]
	dev-python/typed-astunparse[${PYTHON_USEDEP}]
	dev-python/funcsigs[${PYTHON_USEDEP}]
	dev-python/typed-ast[${PYTHON_USEDEP}]
	>=dev-python/jsonschema-3.0.2[${PYTHON_USEDEP}]
	dev-python/typing-inspect[${PYTHON_USEDEP}]
	dev-python/asyml-utilities[${PYTHON_USEDEP}]
	audio_ext? ( >=dev-python/soundfile-0.10.3[${PYTHON_USEDEP}] )
	data_aug? ( dev-python/transformers[${PYTHON_USEDEP}] )
	data_aug? ( dev-python/nltk[${PYTHON_USEDEP}] )
	data_aug? ( dev-python/texar-pytorch[${PYTHON_USEDEP}] )
	data_aug? ( dev-python/requests[${PYTHON_USEDEP}] )
	extractor? ( dev-python/texar-pytorch[${PYTHON_USEDEP}] )
	ir? ( dev-python/texar-pytorch[${PYTHON_USEDEP}] )
	ir? ( dev-python/tensorflow[${PYTHON_USEDEP}] )
	models? ( dev-python/torch[${PYTHON_USEDEP}] )
	models? ( dev-python/torchtext[${PYTHON_USEDEP}] )
	models? ( >=dev-python/tqdm-4.36.1[${PYTHON_USEDEP}] )
	models? ( dev-python/texar-pytorch[${PYTHON_USEDEP}] )
	models? ( dev-python/tensorflow[${PYTHON_USEDEP}] )
	nlp? ( dev-python/texar-pytorch[${PYTHON_USEDEP}] )
	remote? ( dev-python/fastapi[${PYTHON_USEDEP}] )
	remote? ( >=dev-python/uvicorn-0.14.0[${PYTHON_USEDEP}] )
	remote? ( dev-python/requests[${PYTHON_USEDEP}] )
	stave? ( dev-python/stave[${PYTHON_USEDEP}] )
	test? ( dev-python/ddt[${PYTHON_USEDEP}] )
	test? ( dev-python/testfixtures[${PYTHON_USEDEP}] )
	test? ( dev-python/testbook[${PYTHON_USEDEP}] )
	test? ( dev-python/termcolor[${PYTHON_USEDEP}] )
	test? ( dev-python/transformers[${PYTHON_USEDEP}] )
	test? ( dev-python/nltk[${PYTHON_USEDEP}] )
	wikipedia? ( ~dev-python/rdflib-4.2.2[${PYTHON_USEDEP}] )"
BDEPEND="${DEPENDENCIES}"
RDEPEND="${DEPENDENCIES}"