# 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="Simple wsgi middleware to provide basic http auth"

HOMEPAGE="https://github.com/mvantellingen/wsgi-basic-auth"
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/webob-1.0.0[${PYTHON_USEDEP}]
	docs? ( >=dev-python/sphinx-1.4.0[${PYTHON_USEDEP}] )
	test? ( ~dev-python/webtest-2.0.23[${PYTHON_USEDEP}] )
	test? ( ~dev-python/flake8-3.0.3[${PYTHON_USEDEP}] )
	test? ( dev-python/flake8-blind-except[${PYTHON_USEDEP}] )
	test? ( dev-python/flake8-debugger[${PYTHON_USEDEP}] )
	test? ( ~dev-python/isort-4.2.5[${PYTHON_USEDEP}] )
	test? ( >=dev-python/pytest-2.8.3[${PYTHON_USEDEP}] )
	test? ( >=dev-python/pytest-cov-2.2.0[${PYTHON_USEDEP}] )"
BDEPEND="${DEPENDENCIES}"
RDEPEND="${DEPENDENCIES}"