# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

PYTHON_COMPAT=( python3_{12..14} )
DISTUTILS_USE_PEP517=setuptools
inherit distutils-r1 pypi

DESCRIPTION="Python library for multi-dimensional diffraction microscopy"
HOMEPAGE="https://pyxem.github.io"

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"

RDEPEND="
	>=dev-python/scikit-image-0.17.0[${PYTHON_USEDEP}]
	>=dev-python/scikit-learn-0.19[${PYTHON_USEDEP}]
	>=dev-python/matplotlib-3.1.1[${PYTHON_USEDEP}]
	>=dev-python/hyperspy-1.6.2[${PYTHON_USEDEP}]
	>=dev-python/lmfit-0.9.12[${PYTHON_USEDEP}]
	>=dev-python/diffsims-0.4.0[${PYTHON_USEDEP}]
	<dev-python/diffsims-0.5[${PYTHON_USEDEP}]
	dev-python/pyfai[${PYTHON_USEDEP}]
	dev-python/ipywidgets[${PYTHON_USEDEP}]
	dev-python/numba[${PYTHON_USEDEP}]
	>=dev-python/orix-0.3[${PYTHON_USEDEP}]
"