# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 PYTHON_COMPAT=( python3_{11..13} ) inherit cmake cuda flag-o-matic python-single-r1 savedconfig DESCRIPTION="Extensible Simulation Package for Research on Soft matter" HOMEPAGE="https://espressomd.org" if [[ ${PV} = 9999 ]]; then EGIT_REPO_URI="https://github.com/${PN}md/${PN}.git" EGIT_BRANCH="python" inherit git-r3 else SRC_URI="https://github.com/${PN}md/${PN}/releases/download/${PV}/${P}.tar.gz" KEYWORDS="~amd64 ~x86 ~amd64-linux" S="${WORKDIR}/${PN}" fi LICENSE="GPL-3" SLOT="0" IUSE="cuda doc examples +fftw +hdf5 test" RESTRICT="!test? ( test )" REQUIRED_USE=" ${PYTHON_REQUIRED_USE}" RDEPEND=" ${PYTHON_DEPS} $(python_gen_cond_dep ' >=dev-python/cython-0.26.1[${PYTHON_USEDEP}] dev-python/numpy[${PYTHON_USEDEP}] ') cuda? ( >=dev-util/nvidia-cuda-toolkit-4.2.9-r1 ) fftw? ( sci-libs/fftw:3.0 ) dev-libs/boost:=[mpi] hdf5? (