# 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="Wrapper for SauceNAO JSON API"

HOMEPAGE="https://github.com/nomnoms12/saucenao_api/"
LICENSE=""
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="test"
DEPENDENCIES="~dev-python/requests-2.23.0[${PYTHON_USEDEP}]
	~dev-python/aiohttp-3.7.4[${PYTHON_USEDEP}]
	test? ( ~dev-python/responses-0.10.14[${PYTHON_USEDEP}] )
	test? ( ~dev-python/aioresponses-0.7.2[${PYTHON_USEDEP}] )
	test? ( ~dev-python/pytest-5.4.2[${PYTHON_USEDEP}] )
	test? ( ~dev-python/pytest-cov-2.8.1[${PYTHON_USEDEP}] )"
BDEPEND="${DEPENDENCIES}"
RDEPEND="${DEPENDENCIES}"