# 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="Stochastic differential equation (SDE) solvers for PyTorch" HOMEPAGE=" https://github.com/google-research/torchsde https://pypi.org/project/torchsde/ " LICENSE="Apache-2.0" SLOT="0" KEYWORDS="~amd64 ~arm64" RDEPEND=" >=sci-ml/caffe2-1.6.0[${PYTHON_SINGLE_USEDEP}] $(python_gen_cond_dep ' >=dev-python/numpy-1.19[${PYTHON_USEDEP}] >=dev-python/scipy-1.5[${PYTHON_USEDEP}] >=dev-python/trampoline-0.1.2[${PYTHON_USEDEP}] ') " BDEPEND=" $(python_gen_cond_dep ' >=dev-python/setuptools-40.8.0[${PYTHON_USEDEP}] dev-python/wheel[${PYTHON_USEDEP}] ') "