# 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="comprehensive password hashing framework supporting over 30 schemes"

HOMEPAGE="https://passlib.readthedocs.io"
LICENSE="BSD"
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="argon2 bcrypt build_docs totp"
DEPENDENCIES="argon2? ( >=dev-python/argon2-cffi-18.2.0[${PYTHON_USEDEP}] )
	bcrypt? ( >=dev-python/bcrypt-3.1.0[${PYTHON_USEDEP}] )
	build_docs? ( >=dev-python/sphinx-1.6[${PYTHON_USEDEP}] )
	build_docs? ( dev-python/sphinxcontrib-fulltoc[${PYTHON_USEDEP}] )
	build_docs? ( dev-python/cloud_sptheme[${PYTHON_USEDEP}] )
	totp? ( dev-python/cryptography[${PYTHON_USEDEP}] )"
BDEPEND="${DEPENDENCIES}"
RDEPEND="${DEPENDENCIES}"