# 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 module that provides OAuth web authorization support.\""

HOMEPAGE="https://github.com/inveniosoftware/invenio-oauthclient"
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="tests"
DEPENDENCIES=">=dev-python/blinker-1.4[${PYTHON_USEDEP}]
	dev-python/flask-oauthlib-invenio[${PYTHON_USEDEP}]
	dev-python/invenio-accounts[${PYTHON_USEDEP}]
	dev-python/invenio-base[${PYTHON_USEDEP}]
	dev-python/invenio-i18n[${PYTHON_USEDEP}]
	dev-python/invenio-mail[${PYTHON_USEDEP}]
	dev-python/invenio-theme[${PYTHON_USEDEP}]
	>=dev-python/oauthlib-1.1.2[${PYTHON_USEDEP}]
	>=dev-python/markupsafe-2.1.5[${PYTHON_USEDEP}]
	>=dev-python/requests-oauthlib-0.6.2[${PYTHON_USEDEP}]
	>=dev-python/uritools-1.0.1[${PYTHON_USEDEP}]
	>=dev-python/github3-py-1.0.0_alpha4[${PYTHON_USEDEP}]
	>=dev-python/uritemplate-3.0.1[${PYTHON_USEDEP}]
	tests? ( dev-python/Flask-Admin[${PYTHON_USEDEP}] )
	tests? ( dev-python/pytest-black-ng[${PYTHON_USEDEP}] )
	tests? ( >=dev-python/httpretty-0.8.14[${PYTHON_USEDEP}] )
	tests? ( dev-python/invenio-userprofiles[${PYTHON_USEDEP}] )
	tests? ( >=dev-python/mock-1.3.0[${PYTHON_USEDEP}] )
	tests? ( >=dev-python/oauthlib-1.1.2[${PYTHON_USEDEP}] )
	tests? ( dev-python/pytest-invenio[${PYTHON_USEDEP}] )
	tests? ( >=dev-python/requests-oauthlib-0.6.2[${PYTHON_USEDEP}] )
	tests? ( >=dev-python/simplejson-3.8[${PYTHON_USEDEP}] )
	tests? ( >=dev-python/sphinx-4.5[${PYTHON_USEDEP}] )
	tests? ( dev-python/invenio-db[${PYTHON_USEDEP}] )"
BDEPEND="${DEPENDENCIES}"
RDEPEND="${DEPENDENCIES}"