# 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="CLI DGGS indexer for vector geospatial data"

HOMEPAGE="https://github.com/manaakiwhenua/vector2dggs"
LICENSE="LGPL-3+"
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="all geohash h3 rhp s2"
DEPENDENCIES="dev-python/GDAL[${PYTHON_USEDEP}]
	dev-python/geopandas[${PYTHON_USEDEP}]
	dev-python/dask-geopandas[${PYTHON_USEDEP}]
	dev-python/dask[${PYTHON_USEDEP}]
	<dev-python/click-9.0.0[${PYTHON_USEDEP}]
	<dev-python/tqdm-5.0[${PYTHON_USEDEP}]
	<dev-python/click-log-0.5.0[${PYTHON_USEDEP}]
	<dev-python/pyarrow-21.0[${PYTHON_USEDEP}]
	<dev-python/pyproj-4.0[${PYTHON_USEDEP}]
	<dev-python/sqlalchemy-3.0.0[${PYTHON_USEDEP}]
	dev-python/psycopg2[${PYTHON_USEDEP}]
	<dev-python/shapely-3.0[${PYTHON_USEDEP}]
	<dev-python/numpy-3.0[${PYTHON_USEDEP}]
	<dev-python/pillow-12.0.0[${PYTHON_USEDEP}]
	h3? ( dev-python/h3pandas[${PYTHON_USEDEP}] )
	all? ( dev-python/h3pandas[${PYTHON_USEDEP}] )
	rhp? ( dev-python/rhppandas[${PYTHON_USEDEP}] )
	all? ( dev-python/rhppandas[${PYTHON_USEDEP}] )
	rhp? ( dev-python/rhealpixdggs[${PYTHON_USEDEP}] )
	all? ( dev-python/rhealpixdggs[${PYTHON_USEDEP}] )
	s2? ( dev-python/s2geometry[${PYTHON_USEDEP}] )
	all? ( dev-python/s2geometry[${PYTHON_USEDEP}] )
	geohash? ( dev-python/rusty-polygon-geohasher[${PYTHON_USEDEP}] )
	all? ( dev-python/rusty-polygon-geohasher[${PYTHON_USEDEP}] )
	geohash? ( dev-python/python-geohash[${PYTHON_USEDEP}] )
	all? ( dev-python/python-geohash[${PYTHON_USEDEP}] )"
BDEPEND="${DEPENDENCIES}"
RDEPEND="${DEPENDENCIES}"