# automatically generated by g-sorcery
# please do not edit this file

EAPI=8

REALNAME="${PN}"
LITERALNAME="${PN}"
REALVERSION="${PV}"
DIGEST_SOURCES="yes"
PYTHON_COMPAT=( python{3_11,3_12,3_13,3_14} )
DISTUTILS_USE_PEP517=standalone

inherit python-r1 gs-pypi

DESCRIPTION="Tools to work with EuXFEL detector geometry and assemble detector images"

HOMEPAGE="https://github.com/European-XFEL/EXtra-geom"
LICENSE="BSD"
SRC_URI="https://files.pythonhosted.org/packages/4d/61/3624a1366e9c64f4a0fad62900d01f6596794de046c33f7d92fe54d49599/extra_geom-${REALVERSION}.tar.gz"
SOURCEFILE="extra_geom-${REALVERSION}.tar.gz"
RESTRICT="test"

SLOT="0"
KEYWORDS="~amd64 ~x86"

IUSE="docs interpolate test"
DEPENDENCIES="dev-python/cfel-fmt[${PYTHON_USEDEP}]
	>=dev-python/h5py-2.7.1[${PYTHON_USEDEP}]
	dev-python/matplotlib[${PYTHON_USEDEP}]
	dev-python/numpy[${PYTHON_USEDEP}]
	interpolate? ( dev-python/scipy[${PYTHON_USEDEP}] )
	docs? ( >=dev-python/sphinx-4.3[${PYTHON_USEDEP}] )
	docs? ( dev-python/nbsphinx[${PYTHON_USEDEP}] )
	docs? ( dev-python/ipython[${PYTHON_USEDEP}] )
	docs? ( dev-python/sphinxcontrib-github-alt[${PYTHON_USEDEP}] )
	docs? ( >=dev-python/sphinx-rtd-theme-1.2[${PYTHON_USEDEP}] )
	docs? ( <dev-python/jinja2-3.1.0[${PYTHON_USEDEP}] )
	test? ( dev-python/pytest[${PYTHON_USEDEP}] )
	test? ( dev-python/pytest-cov[${PYTHON_USEDEP}] )
	test? ( dev-python/coverage[${PYTHON_USEDEP}] )
	test? ( dev-python/nbval[${PYTHON_USEDEP}] )
	test? ( dev-python/testpath[${PYTHON_USEDEP}] )
	test? ( dev-python/xarray[${PYTHON_USEDEP}] )
	test? ( dev-python/EXtra-data[${PYTHON_USEDEP}] )
	test? ( dev-python/pyFAI[${PYTHON_USEDEP}] )
	test? ( dev-python/condat-gridconv[${PYTHON_USEDEP}] )"
BDEPEND="${DEPENDENCIES}"
RDEPEND="${DEPENDENCIES}"