# 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="A tool for capturing queries executed in Django and SQLAlchemy"

HOMEPAGE="https://github.com/cedar-team/snapshot-queries"
LICENSE=""
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="development linting snapshottest"
DEPENDENCIES=">=dev-python/sqlparse-0.4.1[${PYTHON_USEDEP}]
	>=dev-python/attrs-20.3.0[${PYTHON_USEDEP}]
	>=dev-python/pygments-2.8.1[${PYTHON_USEDEP}]
	development? ( ~dev-python/snapshottest-0.5.1[${PYTHON_USEDEP}] )
	development? ( ~dev-python/pytest-7.1.1[${PYTHON_USEDEP}] )
	development? ( dev-python/psycopg2-binary[${PYTHON_USEDEP}] )
	development? ( dev-python/ipdb[${PYTHON_USEDEP}] )
	development? ( dev-python/pre-commit[${PYTHON_USEDEP}] )
	linting? ( ~dev-python/black-22.3.0[${PYTHON_USEDEP}] )
	linting? ( ~dev-python/flake8-4.0.1[${PYTHON_USEDEP}] )
	linting? ( ~dev-python/isort-5.10.1[${PYTHON_USEDEP}] )
	snapshottest? ( dev-python/snapshottest[${PYTHON_USEDEP}] )"
BDEPEND="${DEPENDENCIES}"
RDEPEND="${DEPENDENCIES}"