# 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="Micro batch solution for improve throughput in SIMD processes"

HOMEPAGE="https://github.com/mercadolibre/ubatch"
LICENSE="Apache-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="benchmark docs"
DEPENDENCIES="benchmark? ( dev-python/flask-restx[${PYTHON_USEDEP}] )
	benchmark? ( <dev-python/scikit-learn-0.24[${PYTHON_USEDEP}] )
	benchmark? ( dev-python/gunicorn[${PYTHON_USEDEP}] )
	benchmark? ( dev-python/xgboost[${PYTHON_USEDEP}] )
	benchmark? ( dev-python/keras[${PYTHON_USEDEP}] )
	benchmark? ( dev-python/tensorflow[${PYTHON_USEDEP}] )
	docs? ( <dev-python/sphinx-4.0[${PYTHON_USEDEP}] )
	docs? ( <dev-python/recommonmark-0.7[${PYTHON_USEDEP}] )
	docs? ( <dev-python/sphinx-rtd-theme-0.6[${PYTHON_USEDEP}] )
	docs? ( <dev-python/sphinx-autodoc-typehints-2.0[${PYTHON_USEDEP}] )"
BDEPEND="${DEPENDENCIES}"
RDEPEND="${DEPENDENCIES}"