# 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="SQL Reporting that Just Works. Fast, simple, and confusion-free.Write and share queries in a delightful SQL editor, with AI assistance"

HOMEPAGE="https://www.sqlexplorer.io"
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="assistant charts snapshots uploads xls"
DEPENDENCIES=">=dev-python/django-3.2[${PYTHON_USEDEP}]
	>=dev-python/sqlparse-0.4.0[${PYTHON_USEDEP}]
	>=dev-python/requests-2.2[${PYTHON_USEDEP}]
	dev-python/django-cryptography-django5[${PYTHON_USEDEP}]
	>=dev-python/cryptography-42.0[${PYTHON_USEDEP}]
	assistant? ( dev-python/openai[${PYTHON_USEDEP}] )
	charts? ( >=dev-python/matplotlib-3.9[${PYTHON_USEDEP}] )
	snapshots? ( >=dev-python/boto3-1.30.0[${PYTHON_USEDEP}] )
	snapshots? ( dev-python/celery[${PYTHON_USEDEP}] )
	uploads? ( >=dev-python/python-dateutil-2.9[${PYTHON_USEDEP}] )
	uploads? ( >=dev-python/pandas-2.2[${PYTHON_USEDEP}] )
	uploads? ( >=dev-python/boto3-1.30.0[${PYTHON_USEDEP}] )
	xls? ( >=dev-python/xlsxwriter-1.3.6[${PYTHON_USEDEP}] )"
BDEPEND="${DEPENDENCIES}"
RDEPEND="${DEPENDENCIES}"