# 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="Easy to use Python library for accessing the Twitch API"

HOMEPAGE="https://github.com/tsifrer/python-twitch-client"
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="doc test"
DEPENDENCIES=">=dev-python/requests-2.23.0[${PYTHON_USEDEP}]
	doc? ( ~dev-python/sphinx-3.3.1[${PYTHON_USEDEP}] )
	doc? ( ~dev-python/sphinx-rtd-theme-0.5.0[${PYTHON_USEDEP}] )
	test? ( ~dev-python/black-20.8_beta1[${PYTHON_USEDEP}] )
	test? ( dev-python/codecov[${PYTHON_USEDEP}] )
	test? ( dev-python/flake8-isort[${PYTHON_USEDEP}] )
	test? ( >=dev-python/flake8-3.8.4[${PYTHON_USEDEP}] )
	test? ( >=dev-python/isort-5.6.4[${PYTHON_USEDEP}] )
	test? ( >=dev-python/pytest-cov-2.10.1[${PYTHON_USEDEP}] )
	test? ( >=dev-python/pytest-6.1.2[${PYTHON_USEDEP}] )
	test? ( >=dev-python/responses-0.12.1[${PYTHON_USEDEP}] )"
BDEPEND="${DEPENDENCIES}"
RDEPEND="${DEPENDENCIES}"