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

EAPI=8

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

inherit python-r1 gs-pypi

DESCRIPTION="Library to analyse, plot, and export data stored in HDF5 files."

HOMEPAGE="https://github.com/pmb399/H5Analysis"
LICENSE="MIT"
SRC_URI="https://files.pythonhosted.org/packages/source/${REALNAME::1}/${REALNAME}/${REALNAME}-${REALVERSION}.tar.gz"
SOURCEFILE="${REALNAME}-${REALVERSION}.tar.gz"
RESTRICT="test"

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

IUSE="baseline exafs"
DEPENDENCIES="~dev-python/numpy-2.0.2[${PYTHON_USEDEP}]
	~dev-python/pandas-2.2.3[${PYTHON_USEDEP}]
	dev-python/bokeh[${PYTHON_USEDEP}]
	~dev-python/scipy-1.13.1[${PYTHON_USEDEP}]
	~dev-python/ipywidgets-8.1.5[${PYTHON_USEDEP}]
	dev-python/ipyfilechooser[${PYTHON_USEDEP}]
	~dev-python/h5py-3.13.0[${PYTHON_USEDEP}]
	~dev-python/shapely-2.0.7[${PYTHON_USEDEP}]
	~dev-python/parse-1.20.2[${PYTHON_USEDEP}]
	~dev-python/scikit-image-0.24.0[${PYTHON_USEDEP}]
	dev-python/colorcet[${PYTHON_USEDEP}]
	~dev-python/matplotlib-3.9.4[${PYTHON_USEDEP}]
	~dev-python/lmfit-1.3.2[${PYTHON_USEDEP}]
	~dev-python/notebook-6.5.7[${PYTHON_USEDEP}]
	~dev-python/uncertainties-3.2.2[${PYTHON_USEDEP}]
	dev-python/ffmpeg[${PYTHON_USEDEP}]
	exafs? ( dev-python/xraylarch[${PYTHON_USEDEP}] )
	baseline? ( dev-python/pybaselines[${PYTHON_USEDEP}] )"
BDEPEND="${DEPENDENCIES}"
RDEPEND="${DEPENDENCIES}"