# 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="Django Authentication and Authorisation using Auth0 and Python Social Auth"

HOMEPAGE="https://github.com/techdragon/django-auth0-user"
LICENSE="BSD-2"
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="auth0 drf"
DEPENDENCIES="dev-python/social-auth-core[${PYTHON_USEDEP}]
	dev-python/social-auth-app-django[${PYTHON_USEDEP}]
	dev-python/cached-property[${PYTHON_USEDEP}]
	drf? ( <dev-python/djangorestframework-4.0.0[${PYTHON_USEDEP}] )
	drf? ( dev-python/djangorestframework-jwt[${PYTHON_USEDEP}] )
	drf? ( <dev-python/pyjwt-2.0.0[${PYTHON_USEDEP}] )
	auth0? ( dev-python/auth0-python[${PYTHON_USEDEP}] )"
BDEPEND="${DEPENDENCIES}"
RDEPEND="${DEPENDENCIES}"