# 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="cache tools with async power"

HOMEPAGE="https://github.com/Krukov/cashews/"
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="dill diskcache lint redis speedup tests"
DEPENDENCIES="redis? ( >=dev-python/redis-4.3.1[${PYTHON_USEDEP}] )
	diskcache? ( >=dev-python/diskcache-5.0.0[${PYTHON_USEDEP}] )
	speedup? ( <dev-python/bitarray-4.0.0[${PYTHON_USEDEP}] )
	speedup? ( <dev-python/xxhash-4.0.0[${PYTHON_USEDEP}] )
	speedup? ( dev-python/hiredis[${PYTHON_USEDEP}] )
	dill? ( dev-python/dill[${PYTHON_USEDEP}] )
	lint? ( >=dev-python/mypy-1.5.0[${PYTHON_USEDEP}] )
	lint? ( dev-python/types-redis[${PYTHON_USEDEP}] )
	tests? ( ~dev-python/pytest-8.4.2[${PYTHON_USEDEP}] )
	tests? ( ~dev-python/pytest-asyncio-1.1.0[${PYTHON_USEDEP}] )
	tests? ( ~dev-python/pytest-cov-6.2.1[${PYTHON_USEDEP}] )
	tests? ( dev-python/pytest-randomly[${PYTHON_USEDEP}] )
	tests? ( ~dev-python/pytest-rerunfailures-16.0.1[${PYTHON_USEDEP}] )
	tests? ( ~dev-python/hypothesis-6.139.2[${PYTHON_USEDEP}] )"
BDEPEND="${DEPENDENCIES}"
RDEPEND="${DEPENDENCIES}"