# 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="ClickHouse core driver, SqlAlchemy, and Superset libraries"

HOMEPAGE="https://github.com/ClickHouse/clickhouse-connect"
LICENSE="Apache-2.0"
SRC_URI="https://files.pythonhosted.org/packages/cb/2f/a265b4cffdbe6151b748d8b23c0823d11e10815ebed806fb9f0f62e2e67d/${REALNAME}-${REALVERSION}.tar.gz"
SOURCEFILE="${REALNAME}-${REALVERSION}.tar.gz"
RESTRICT="test"

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

IUSE="arrow numpy orjson pandas sqlalchemy superset"
DEPENDENCIES="dev-python/certifi[${PYTHON_USEDEP}]
	>=dev-python/urllib3-1.26[${PYTHON_USEDEP}]
	dev-python/pytz[${PYTHON_USEDEP}]
	dev-python/zstandard[${PYTHON_USEDEP}]
	dev-python/lz4[${PYTHON_USEDEP}]
	arrow? ( dev-python/pyarrow[${PYTHON_USEDEP}] )
	numpy? ( dev-python/numpy[${PYTHON_USEDEP}] )
	orjson? ( dev-python/orjson[${PYTHON_USEDEP}] )
	pandas? ( dev-python/pandas[${PYTHON_USEDEP}] )
	sqlalchemy? ( <dev-python/sqlalchemy-1.4[${PYTHON_USEDEP}] )
	superset? ( dev-python/apache-superset[${PYTHON_USEDEP}] )"
BDEPEND="${DEPENDENCIES}"
RDEPEND="${DEPENDENCIES}"