# 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="Profiler for deep learning models [wheel]"

HOMEPAGE="https://github.com/Deeplite/deeplite-profiler"
LICENSE="Apache-2.0"
SRC_URI="https://files.pythonhosted.org/packages/cp36/${REALNAME::1}/${REALNAME}/${REALNAME//-/_}-${REALVERSION}-cp36-cp36m-manylinux1_x86_64.whl"
SOURCEFILE="${REALNAME//-/_}-${REALVERSION}-cp36-cp36m-manylinux1_x86_64.whl"
RESTRICT="test"

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

IUSE="all all-gpu tf tf-gpu torch"
DEPENDENCIES="<dev-python/setuptools-65.6.0[${PYTHON_USEDEP}]
	>=dev-python/numpy-1.17[${PYTHON_USEDEP}]
	all? ( dev-python/torch[${PYTHON_USEDEP}] )
	all? ( dev-python/ptflops[${PYTHON_USEDEP}] )
	all? ( ~dev-python/protobuf-3.19[${PYTHON_USEDEP}] )
	all-gpu? ( dev-python/torch[${PYTHON_USEDEP}] )
	all-gpu? ( dev-python/ptflops[${PYTHON_USEDEP}] )
	all-gpu? ( ~dev-python/protobuf-3.19[${PYTHON_USEDEP}] )
	tf? ( ~dev-python/protobuf-3.19[${PYTHON_USEDEP}] )
	tf-gpu? ( ~dev-python/protobuf-3.19[${PYTHON_USEDEP}] )
	torch? ( dev-python/torch[${PYTHON_USEDEP}] )
	torch? ( dev-python/ptflops[${PYTHON_USEDEP}] )
	virtual/allow-pypi-wheels"
BDEPEND="${DEPENDENCIES}"
RDEPEND="${DEPENDENCIES}"