# 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} )
DISTUTILS_USE_PEP517=standalone

inherit python-r1 gs-pypi

DESCRIPTION="API for adding content to the Kolibri content curation server"

HOMEPAGE="https://github.com/learningequality/ricecooker"
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="dev google-drive sentry test"
DEPENDENCIES=">=dev-python/requests-2.11.1[${PYTHON_USEDEP}]
	dev-python/le-utils[${PYTHON_USEDEP}]
	dev-python/requests-file[${PYTHON_USEDEP}]
	<dev-python/beautifulsoup4-4.9.0[${PYTHON_USEDEP}]
	~dev-python/selenium-4.36.0[${PYTHON_USEDEP}]
	dev-python/yt-dlp[${PYTHON_USEDEP}]
	dev-python/html5lib[${PYTHON_USEDEP}]
	~dev-python/cachecontrol-0.14.3[${PYTHON_USEDEP}]
	~dev-python/filelock-3.19.1[${PYTHON_USEDEP}]
	dev-python/css-html-js-minify[${PYTHON_USEDEP}]
	dev-python/PyPDF2[${PYTHON_USEDEP}]
	>=dev-python/dictdiffer-0.8.0[${PYTHON_USEDEP}]
	~dev-python/pillow-11.3.0[${PYTHON_USEDEP}]
	<dev-python/colorlog-6.11[${PYTHON_USEDEP}]
	~dev-python/chardet-5.2.0[${PYTHON_USEDEP}]
	dev-python/ffmpy[${PYTHON_USEDEP}]
	dev-python/pdf2image[${PYTHON_USEDEP}]
	dev-python/le-pycaption[${PYTHON_USEDEP}]
	dev-python/EbookLib[${PYTHON_USEDEP}]
	>=dev-python/filetype-1.1.0[${PYTHON_USEDEP}]
	~dev-python/urllib3-2.6.2[${PYTHON_USEDEP}]
	dev-python/langcodes[${PYTHON_USEDEP}]
	test? ( ~dev-python/requests-cache-1.2.1[${PYTHON_USEDEP}] )
	test? ( ~dev-python/pytest-8.4.2[${PYTHON_USEDEP}] )
	test? ( ~dev-python/pytest-env-1.1.5[${PYTHON_USEDEP}] )
	test? ( ~dev-python/vcrpy-7.0.0[${PYTHON_USEDEP}] )
	test? ( ~dev-python/mock-5.2.0[${PYTHON_USEDEP}] )
	dev? ( dev-python/pre-commit[${PYTHON_USEDEP}] )
	google-drive? ( dev-python/google-api-python-client[${PYTHON_USEDEP}] )
	google-drive? ( dev-python/google-auth[${PYTHON_USEDEP}] )
	sentry? ( dev-python/sentry-sdk[${PYTHON_USEDEP}] )"
BDEPEND="${DEPENDENCIES}"
RDEPEND="${DEPENDENCIES}"