# 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="SHTOOLS - Spherical Harmonic Tools"

HOMEPAGE="https://shtools.github.io/SHTOOLS/"
LICENSE="BSD"
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="cartopy ducc palettable pygmt"
DEPENDENCIES=">=dev-python/numpy-1.23.5[${PYTHON_USEDEP}]
	>=dev-python/scipy-0.14.0[${PYTHON_USEDEP}]
	>=dev-python/matplotlib-3.3[${PYTHON_USEDEP}]
	dev-python/astropy[${PYTHON_USEDEP}]
	dev-python/xarray[${PYTHON_USEDEP}]
	dev-python/requests[${PYTHON_USEDEP}]
	>=dev-python/pooch-1.1[${PYTHON_USEDEP}]
	dev-python/tqdm[${PYTHON_USEDEP}]
	cartopy? ( dev-python/Cartopy[${PYTHON_USEDEP}] )
	pygmt? ( dev-python/pygmt[${PYTHON_USEDEP}] )
	palettable? ( dev-python/palettable[${PYTHON_USEDEP}] )
	ducc? ( dev-python/ducc0[${PYTHON_USEDEP}] )"
BDEPEND="${DEPENDENCIES}"
RDEPEND="${DEPENDENCIES}"