# 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="Two factor authentication for Wagtail"

HOMEPAGE="https://github.com/LabD/wagtail-2fa"
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="docs test"
DEPENDENCIES=">=dev-python/django-3.2[${PYTHON_USEDEP}]
	dev-python/wagtail[${PYTHON_USEDEP}]
	>=dev-python/django-otp-0.8.1[${PYTHON_USEDEP}]
	>=dev-python/six-1.14.0[${PYTHON_USEDEP}]
	>=dev-python/qrcode-6.1[${PYTHON_USEDEP}]
	docs? ( >=dev-python/sphinx-1.4.1[${PYTHON_USEDEP}] )
	docs? ( >=dev-python/sphinx-rtd-theme-0.4.3[${PYTHON_USEDEP}] )
	test? ( ~dev-python/coverage-5.5[${PYTHON_USEDEP}] )
	test? ( ~dev-python/pytest-6.2.4[${PYTHON_USEDEP}] )
	test? ( ~dev-python/pytest-cov-2.12.1[${PYTHON_USEDEP}] )
	test? ( ~dev-python/pytest-django-4.4.0[${PYTHON_USEDEP}] )
	test? ( ~dev-python/flake8-3.9.2[${PYTHON_USEDEP}] )
	test? ( ~dev-python/isort-5.9.3[${PYTHON_USEDEP}] )
	test? ( dev-python/flake8-blind-except[${PYTHON_USEDEP}] )
	test? ( dev-python/flake8-debugger[${PYTHON_USEDEP}] )"
BDEPEND="${DEPENDENCIES}"
RDEPEND="${DEPENDENCIES}"