# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=setuptools DISTUTILS_SINGLE_IMPL=1 PYTHON_COMPAT=( python3_{12..14} ) inherit distutils-r1 pypi DESCRIPTION="The deep learning framework to pretrain and finetune AI models" HOMEPAGE=" https://lightning.ai/ https://github.com/Lightning-AI/pytorch-lightning https://pypi.org/project/lightning/ " LICENSE="Apache-2.0" SLOT="0" KEYWORDS="~amd64 ~arm64" # Omit redundant pytorch-lightning: this wheel contains the `lightning.*` # namespace used by overlay consumers; the legacy package adds other imports. RDEPEND=" >=sci-ml/pytorch-2.1[${PYTHON_SINGLE_USEDEP}] sci-ml/torchmetrics-0.7.0-r0[${PYTHON_SINGLE_USEDEP}] dev-python/pyyaml-5.4-r0[${PYTHON_USEDEP}] =dev-python/fsspec-2022.5.0[${PYTHON_USEDEP}] =sci-ml/lightning-utilities-0.10.0[${PYTHON_USEDEP}] =dev-python/packaging-23.0[${PYTHON_USEDEP}] =dev-python/tqdm-4.57.0[${PYTHON_USEDEP}] dev-python/typing-extensions-4.5.0-r0[${PYTHON_USEDEP}]