# 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="General and common utilities used inside the initCommerce platform"

HOMEPAGE="https://github.com/initCommerce/backend-utils"
LICENSE="BSD 3-Clause"
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="cache db email-sender jwt message-queue object-storage phonenumbers sms-sender"
DEPENDENCIES="~dev-python/coloredlogs-15.0[${PYTHON_USEDEP}]
	dev-python/fastapi[${PYTHON_USEDEP}]
	~dev-python/pydantic-1.8[${PYTHON_USEDEP}]
	dev-python/strawberry-graphql[${PYTHON_USEDEP}]
	~dev-python/uvicorn-0.15[${PYTHON_USEDEP}]
	cache? ( dev-python/aioredis[${PYTHON_USEDEP}] )
	db? ( ~dev-python/alembic-1.7[${PYTHON_USEDEP}] )
	db? ( ~dev-python/sqlalchemy-1.4.25[${PYTHON_USEDEP}] )
	email-sender? ( dev-python/sendgrid[${PYTHON_USEDEP}] )
	jwt? ( ~dev-python/pyjwt-2.3[${PYTHON_USEDEP}] )
	message-queue? ( dev-python/aio-pika[${PYTHON_USEDEP}] )
	object-storage? ( dev-python/minio[${PYTHON_USEDEP}] )
	phonenumbers? ( ~dev-python/phonenumbers-8.12[${PYTHON_USEDEP}] )
	sms-sender? ( dev-python/twilio[${PYTHON_USEDEP}] )"
BDEPEND="${DEPENDENCIES}"
RDEPEND="${DEPENDENCIES}"