# Copyright 2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=setuptools PYTHON_COMPAT=( python3_{11..13} ) inherit distutils-r1 DESCRIPTION="Differentiable SDE solvers with GPU support and efficient sensitivity analysis" HOMEPAGE="https://github.com/google-research/torchsde" SRC_URI="https://files.pythonhosted.org/packages/source/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="Apache-2.0" SLOT="0" KEYWORDS="~amd64" RDEPEND=" >=dev-python/numpy-1.9[${PYTHON_USEDEP}] >=dev-python/scipy-1.5[${PYTHON_USEDEP}] >=dev-python/trampoline-0.1.2[${PYTHON_USEDEP}] sci-ml/pytorch " DEPEND="${RDEPEND}"