# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=setuptools PYTHON_COMPAT=( python3_{12..14} ) DISTUTILS_SINGLE_IMPL=1 inherit distutils-r1 git-r3 DESCRIPTION="Processing and analysis of 4D-STEM data" HOMEPAGE="https://github.com/py4dstem/py4DSTEM/" EGIT_REPO_URI="https://github.com/py4dstem/py4DSTEM.git" LICENSE="GPL-3" SLOT="0" KEYWORDS="" # Tests fetch large fixtures from Google Drive. RESTRICT="test" # HEAD adds mandatory pymatgen and relaxes NumPy, ncempy, and scikit-learn # pins; its NumPy 2 fixes are already merged. RDEPEND=" >=dev-python/pymatgen-2022.11.7[${PYTHON_SINGLE_USEDEP}] $(python_gen_cond_dep ' >=dev-python/colorspacious-1.1.2[${PYTHON_USEDEP}] >=dev-python/dask-2.3.0[${PYTHON_USEDEP}] >=dev-python/dill-0.3.3[${PYTHON_USEDEP}] >=dev-python/distributed-2.3.0[${PYTHON_USEDEP}] >=dev-python/emdfile-0.0.14[${PYTHON_USEDEP}] >=dev-python/gdown-5.1.0[${PYTHON_USEDEP}] >=dev-python/h5py-3.2.0[${PYTHON_USEDEP}] >=dev-python/hdf5plugin-4.1.3[${PYTHON_USEDEP}] >=dev-python/matplotlib-3.2.2[${PYTHON_USEDEP}] >=dev-python/mpire-2.7.1[${PYTHON_USEDEP}] >=dev-python/ncempy-1.8.1[${PYTHON_USEDEP}] >=dev-python/numpy-1.19[${PYTHON_USEDEP}] >=dev-python/pylops-2.1.0[${PYTHON_USEDEP}] >=dev-python/scikit-image-0.17.2[${PYTHON_USEDEP}] >=dev-python/scikit-learn-0.23.2[${PYTHON_USEDEP}] >=dev-python/scikit-optimize-0.9.0[${PYTHON_USEDEP}] >=dev-python/scipy-1.5.2[${PYTHON_USEDEP}] >=dev-python/threadpoolctl-3.1.0[${PYTHON_USEDEP}] >=dev-python/tqdm-4.46.1[${PYTHON_USEDEP}] ') "