# 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} )
DISTUTILS_USE_PEP517=standalone

inherit python-r1 gs-pypi

DESCRIPTION="A library that provides throwaway instances of common services."

HOMEPAGE="https://github.com/betaboon/testcontainers-on-whales"
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="all eventstoredb minio postgres rabbitmq redis"
DEPENDENCIES="dev-python/python-on-whales[${PYTHON_USEDEP}]
	>=dev-python/requests-2.31.0[${PYTHON_USEDEP}]
	eventstoredb? ( dev-python/eventstoredb[${PYTHON_USEDEP}] )
	minio? ( >=dev-python/boto3-1.34.52[${PYTHON_USEDEP}] )
	postgres? ( dev-python/psycopg2-binary[${PYTHON_USEDEP}] )
	postgres? ( >=dev-python/sqlalchemy-2.0.27[${PYTHON_USEDEP}] )
	rabbitmq? ( >=dev-python/pika-1.3.2[${PYTHON_USEDEP}] )
	redis? ( >=dev-python/redis-5.0.2[${PYTHON_USEDEP}] )
	all? ( dev-python/testcontainers-on-whales[${PYTHON_USEDEP}] )
	all? ( dev-python/testcontainers-on-whales[${PYTHON_USEDEP}] )
	all? ( dev-python/testcontainers-on-whales[${PYTHON_USEDEP}] )
	all? ( dev-python/testcontainers-on-whales[${PYTHON_USEDEP}] )
	all? ( dev-python/testcontainers-on-whales[${PYTHON_USEDEP}] )"
BDEPEND="${DEPENDENCIES}"
RDEPEND="${DEPENDENCIES}"