# 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 Dagster integration for dbt"

HOMEPAGE="https://github.com/dagster-io/dagster/tree/master/python_modules/libraries/dagster-dbt"
LICENSE="Apache-2.0"
SRC_URI="https://files.pythonhosted.org/packages/1e/0b/1ae9f587ba60afddcb8a4af9ea30f018c61b50842c806bb927a286494096/${REALNAME//-/_}-${REALVERSION}.tar.gz"
SOURCEFILE="${REALNAME//-/_}-${REALVERSION}.tar.gz"
RESTRICT="test"

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

IUSE="test test-bare"
DEPENDENCIES="dev-python/dagster[${PYTHON_USEDEP}]
	dev-python/dbt-core[${PYTHON_USEDEP}]
	dev-python/gitpython[${PYTHON_USEDEP}]
	dev-python/jinja2[${PYTHON_USEDEP}]
	dev-python/networkx[${PYTHON_USEDEP}]
	dev-python/orjson[${PYTHON_USEDEP}]
	dev-python/requests[${PYTHON_USEDEP}]
	dev-python/rich[${PYTHON_USEDEP}]
	<dev-python/sqlglot-28.1.0[${PYTHON_USEDEP}]
	>=dev-python/typer-0.9.0[${PYTHON_USEDEP}]
	dev-python/packaging[${PYTHON_USEDEP}]
	test-bare? ( dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] )
	test-bare? ( dev-python/pytest-order[${PYTHON_USEDEP}] )
	test? ( dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] )
	test? ( dev-python/pytest-order[${PYTHON_USEDEP}] )
	test? ( dev-python/dagster-duckdb[${PYTHON_USEDEP}] )
	test? ( dev-python/dagster-duckdb-pandas[${PYTHON_USEDEP}] )
	test? ( dev-python/dbt-duckdb[${PYTHON_USEDEP}] )
	test? ( dev-python/duckdb[${PYTHON_USEDEP}] )"
BDEPEND="${DEPENDENCIES}"
RDEPEND="${DEPENDENCIES}"