# 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="TensorFlow is an open source machine learning framework for everyone. [wheel]"

HOMEPAGE="https://www.tensorflow.org/"
LICENSE="Apache-2.0"
SRC_URI="https://files.pythonhosted.org/packages/b4/5a/35210845bf54e3f4ae29c2d604b1234047b1fd943baea0016e782aa424cd/${REALNAME//-/_}-${REALVERSION}-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl"
SOURCEFILE="${REALNAME//-/_}-${REALVERSION}-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl"
RESTRICT="test"

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

IUSE="and-cuda"
DEPENDENCIES=">=dev-python/absl-py-1.0.0[${PYTHON_USEDEP}]
	dev-python/astunparse[${PYTHON_USEDEP}]
	>=dev-python/flatbuffers-23.5.26[${PYTHON_USEDEP}]
	>=dev-python/gast-0.2.1[${PYTHON_USEDEP}]
	>=dev-python/google-pasta-0.1.1[${PYTHON_USEDEP}]
	>=dev-python/h5py-3.10.0[${PYTHON_USEDEP}]
	dev-python/libclang[${PYTHON_USEDEP}]
	~dev-python/ml-dtypes-0.3.1[${PYTHON_USEDEP}]
	>=dev-python/opt-einsum-2.3.2[${PYTHON_USEDEP}]
	dev-python/packaging[${PYTHON_USEDEP}]
	<dev-python/protobuf-5.0.0_pre0[${PYTHON_USEDEP}]
	<dev-python/requests-3.0[${PYTHON_USEDEP}]
	dev-python/setuptools[${PYTHON_USEDEP}]
	>=dev-python/six-1.12.0[${PYTHON_USEDEP}]
	>=dev-python/termcolor-1.1.0[${PYTHON_USEDEP}]
	>=dev-python/typing-extensions-3.6.6[${PYTHON_USEDEP}]
	<dev-python/wrapt-1.15[${PYTHON_USEDEP}]
	<dev-python/grpcio-2.0[${PYTHON_USEDEP}]
	dev-python/tb-nightly[${PYTHON_USEDEP}]
	dev-python/tf-estimator-nightly[${PYTHON_USEDEP}]
	dev-python/keras-nightly[${PYTHON_USEDEP}]
	dev-python/libtpu-nightly[${PYTHON_USEDEP}]
	dev-python/tf-nightly-cpu-aws[${PYTHON_USEDEP}]
	dev-python/tensorflow-io-gcs-filesystem[${PYTHON_USEDEP}]
	<dev-python/numpy-2.0.0[${PYTHON_USEDEP}]
	<dev-python/numpy-2.0.0[${PYTHON_USEDEP}]
	and-cuda? ( dev-python/nvidia-cublas-cu12[${PYTHON_USEDEP}] )
	and-cuda? ( dev-python/nvidia-cuda-cupti-cu12[${PYTHON_USEDEP}] )
	and-cuda? ( dev-python/nvidia-cuda-nvcc-cu12[${PYTHON_USEDEP}] )
	and-cuda? ( dev-python/nvidia-cuda-nvrtc-cu12[${PYTHON_USEDEP}] )
	and-cuda? ( dev-python/nvidia-cuda-runtime-cu12[${PYTHON_USEDEP}] )
	and-cuda? ( dev-python/nvidia-cudnn-cu12[${PYTHON_USEDEP}] )
	and-cuda? ( dev-python/nvidia-cufft-cu12[${PYTHON_USEDEP}] )
	and-cuda? ( dev-python/nvidia-curand-cu12[${PYTHON_USEDEP}] )
	and-cuda? ( dev-python/nvidia-cusolver-cu12[${PYTHON_USEDEP}] )
	and-cuda? ( dev-python/nvidia-cusparse-cu12[${PYTHON_USEDEP}] )
	and-cuda? ( dev-python/nvidia-nccl-cu12[${PYTHON_USEDEP}] )
	and-cuda? ( dev-python/nvidia-nvjitlink-cu12[${PYTHON_USEDEP}] )
	virtual/allow-pypi-wheels"
BDEPEND="${DEPENDENCIES}"
RDEPEND="${DEPENDENCIES}"