# 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="MutableMapping interfaces for common cloud storage providers"

HOMEPAGE="https://github.com/JJ11teen/cloud-mappings"
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="awss3 azureblob azuretable gcpstorage tests"
DEPENDENCIES="awss3? ( ~dev-python/boto3-1.26.129[${PYTHON_USEDEP}] )
	azureblob? ( dev-python/azure-identity[${PYTHON_USEDEP}] )
	azureblob? ( dev-python/azure-storage-blob[${PYTHON_USEDEP}] )
	azuretable? ( dev-python/azure-identity[${PYTHON_USEDEP}] )
	azuretable? ( dev-python/azure-data-tables[${PYTHON_USEDEP}] )
	gcpstorage? ( dev-python/google-cloud-storage[${PYTHON_USEDEP}] )
	tests? ( ~dev-python/pytest-7.1.2[${PYTHON_USEDEP}] )
	tests? ( ~dev-python/pytest-mock-3.1.0[${PYTHON_USEDEP}] )"
BDEPEND="${DEPENDENCIES}"
RDEPEND="${DEPENDENCIES}"