# 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="PyTorch Profiler TensorBoard Plugin"

HOMEPAGE="https://github.com/pytorch/kineto/tree/main/tb_plugin"
LICENSE="BSD"
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="blob gs hdfs s3"
DEPENDENCIES=">=dev-python/pandas-1.0.0[${PYTHON_USEDEP}]
	dev-python/tensorboard[${PYTHON_USEDEP}]
	blob? ( dev-python/azure-storage-blob[${PYTHON_USEDEP}] )
	gs? ( dev-python/google-cloud-storage[${PYTHON_USEDEP}] )
	hdfs? ( dev-python/fsspec[${PYTHON_USEDEP}] )
	hdfs? ( dev-python/pyarrow[${PYTHON_USEDEP}] )
	s3? ( dev-python/boto3[${PYTHON_USEDEP}] )"
BDEPEND="${DEPENDENCIES}"
RDEPEND="${DEPENDENCIES}"