# 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=wheel

inherit python-r1 gs-pypi

DESCRIPTION="FAIR Sequence Modeling Toolkit [wheel]"

HOMEPAGE="https://github.com/facebookresearch/fairseq2"
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="arrow"
DEPENDENCIES="dev-python/clusterscope[${PYTHON_USEDEP}]
	dev-python/editdistance[${PYTHON_USEDEP}]
	dev-python/fairseq2n[${PYTHON_USEDEP}]
	dev-python/huggingface-hub[${PYTHON_USEDEP}]
	~dev-python/importlib-metadata-7.0[${PYTHON_USEDEP}]
	~dev-python/importlib-resources-6.4[${PYTHON_USEDEP}]
	~dev-python/mypy-extensions-1.0[${PYTHON_USEDEP}]
	~dev-python/numpy-1.23[${PYTHON_USEDEP}]
	~dev-python/packaging-24.1[${PYTHON_USEDEP}]
	~dev-python/psutil-5.9[${PYTHON_USEDEP}]
	~dev-python/ruamel-yaml-0.18[${PYTHON_USEDEP}]
	~dev-python/rich-13.7[${PYTHON_USEDEP}]
	dev-python/sacrebleu[${PYTHON_USEDEP}]
	dev-python/safetensors[${PYTHON_USEDEP}]
	dev-python/tiktoken[${PYTHON_USEDEP}]
	dev-python/torcheval[${PYTHON_USEDEP}]
	~dev-python/typing-extensions-4.12[${PYTHON_USEDEP}]
	dev-python/blobfile[${PYTHON_USEDEP}]
	arrow? ( >=dev-python/pyarrow-17.0.0[${PYTHON_USEDEP}] )
	arrow? ( ~dev-python/retrying-1.3.4[${PYTHON_USEDEP}] )
	arrow? ( dev-python/polars[${PYTHON_USEDEP}] )
	arrow? ( ~dev-python/xxhash-3.5[${PYTHON_USEDEP}] )
	virtual/allow-pypi-wheels"
BDEPEND="${DEPENDENCIES}"
RDEPEND="${DEPENDENCIES}"