# Copyright 2022-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=setuptools PYTHON_COMPAT=( python3_{10..12} ) inherit distutils-r1 pypi virtualx DESCRIPTION="Library for reading and analyzing astrophysical spectral data cubes" HOMEPAGE="https://spectral-cube.readthedocs.io" LICENSE="BSD" SLOT="0" KEYWORDS="~amd64" # no x86 KEYWORD for yt, glueviz IUSE="doc intersphinx noviz viz viz_extra" RESTRICT="intersphinx? ( network-sandbox )" REQUIRED_USE="intersphinx? ( doc )" RDEPEND=">=dev-python/numpy-1.8.0[${PYTHON_USEDEP}] dev-python/astropy[${PYTHON_USEDEP}] dev-python/casa-formats-io[${PYTHON_USEDEP}] dev-python/dask[${PYTHON_USEDEP}] dev-python/joblib[${PYTHON_USEDEP}] dev-python/packaging[${PYTHON_USEDEP}] >=dev-python/radio-beam-0.3.3[${PYTHON_USEDEP}] dev-python/tqdm[${PYTHON_USEDEP}] noviz? ( dev-python/distributed[${PYTHON_USEDEP}] dev-python/fsspec[${PYTHON_USEDEP}] >=dev-python/reproject-0.9.1[${PYTHON_USEDEP}] dev-python/scipy[${PYTHON_USEDEP}]