# 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="PyDis core provides core functionality and utility to the bots of the Python Discord community."

HOMEPAGE="https://pythondiscord.com/"
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="all async-rediscache fakeredis"
DEPENDENCIES="dev-python/discord-py[${PYTHON_USEDEP}]
	async-rediscache? ( dev-python/async-rediscache[${PYTHON_USEDEP}] )
	all? ( dev-python/async-rediscache[${PYTHON_USEDEP}] )
	fakeredis? ( <dev-python/fakeredis-3.0[${PYTHON_USEDEP}] )
	all? ( <dev-python/fakeredis-3.0[${PYTHON_USEDEP}] )
	<dev-python/pydantic-3.0[${PYTHON_USEDEP}]
	<dev-python/statsd-5.0[${PYTHON_USEDEP}]
	<dev-python/aiodns-4.0[${PYTHON_USEDEP}]"
BDEPEND="${DEPENDENCIES}"
RDEPEND="${DEPENDENCIES}"