# 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="Invenio user management and authentication."

HOMEPAGE="https://github.com/inveniosoftware/invenio-accounts"
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="admin mysql postgresql sqlite tests"
DEPENDENCIES=">=dev-python/cryptography-3.0.0[${PYTHON_USEDEP}]
	dev-python/Flask-KVSession-Invenio[${PYTHON_USEDEP}]
	dev-python/Flask-Security-Invenio[${PYTHON_USEDEP}]
	dev-python/invenio-celery[${PYTHON_USEDEP}]
	dev-python/invenio-i18n[${PYTHON_USEDEP}]
	dev-python/invenio-mail[${PYTHON_USEDEP}]
	dev-python/invenio-rest[${PYTHON_USEDEP}]
	dev-python/invenio-theme[${PYTHON_USEDEP}]
	dev-python/maxminddb-geolite2[${PYTHON_USEDEP}]
	>=dev-python/pyjwt-1.5.0[${PYTHON_USEDEP}]
	dev-python/simplekv[${PYTHON_USEDEP}]
	dev-python/ua-parser[${PYTHON_USEDEP}]
	admin? ( dev-python/invenio-admin[${PYTHON_USEDEP}] )
	postgresql? ( dev-python/invenio-db[${PYTHON_USEDEP}] )
	mysql? ( dev-python/invenio-db[${PYTHON_USEDEP}] )
	sqlite? ( dev-python/invenio-db[${PYTHON_USEDEP}] )
	tests? ( >=dev-python/mock-1.3.0[${PYTHON_USEDEP}] )
	tests? ( dev-python/invenio-app[${PYTHON_USEDEP}] )
	tests? ( dev-python/pytest-black[${PYTHON_USEDEP}] )
	tests? ( dev-python/pytest-invenio[${PYTHON_USEDEP}] )
	tests? ( >=dev-python/sphinx-5.0[${PYTHON_USEDEP}] )"
BDEPEND="${DEPENDENCIES}"
RDEPEND="${DEPENDENCIES}"