# 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="OKNLP [wheel]"

HOMEPAGE="https://github.com/thunlp/ink"
LICENSE=""
SRC_URI="https://files.pythonhosted.org/packages/cp310/${REALNAME::1}/${REALNAME}/${REALNAME}-${REALVERSION}-cp310-cp310-manylinux_2_12_x86_64.manylinux2010_x86_64.whl"
SOURCEFILE="${REALNAME}-${REALVERSION}-cp310-cp310-manylinux_2_12_x86_64.manylinux2010_x86_64.whl"
RESTRICT="test"

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

IUSE="cpu cu102 cu110 cu111 cu112 cu11x"
DEPENDENCIES="dev-python/pyyaml[${PYTHON_USEDEP}]
	dev-python/transformers[${PYTHON_USEDEP}]
	dev-python/kara-storage[${PYTHON_USEDEP}]
	dev-python/py3nvml[${PYTHON_USEDEP}]
	cpu? ( dev-python/onnxruntime[${PYTHON_USEDEP}] )
	cu102? ( dev-python/onnxruntime-gpu[${PYTHON_USEDEP}] )
	cu110? ( dev-python/onnxruntime-gpu[${PYTHON_USEDEP}] )
	cu111? ( dev-python/onnxruntime-gpu[${PYTHON_USEDEP}] )
	cu112? ( dev-python/onnxruntime-gpu[${PYTHON_USEDEP}] )
	cu11x? ( dev-python/onnxruntime-gpu[${PYTHON_USEDEP}] )
	virtual/allow-pypi-wheels"
BDEPEND="${DEPENDENCIES}"
RDEPEND="${DEPENDENCIES}"