# 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="thumbor is an open-source photo thumbnail service by globo.com"

HOMEPAGE="https://github.com/thumbor/thumbor/wiki"
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 opencv tests"
DEPENDENCIES="~dev-python/colorama-0.0[${PYTHON_USEDEP}]
	dev-python/derpconf[${PYTHON_USEDEP}]
	dev-python/JpegIPTC[${PYTHON_USEDEP}]
	dev-python/libthumbor[${PYTHON_USEDEP}]
	~dev-python/piexif-1.0[${PYTHON_USEDEP}]
	<dev-python/pillow-11.0.0[${PYTHON_USEDEP}]
	~dev-python/pytz-2023.0[${PYTHON_USEDEP}]
	~dev-python/setuptools-75.0[${PYTHON_USEDEP}]
	~dev-python/statsd-4.0[${PYTHON_USEDEP}]
	dev-python/thumbor-plugins-gifv[${PYTHON_USEDEP}]
	~dev-python/tornado-6.0[${PYTHON_USEDEP}]
	~dev-python/webcolors-1.0[${PYTHON_USEDEP}]
	all? ( dev-python/opencv-python-headless[${PYTHON_USEDEP}] )
	all? ( ~dev-python/numpy-1.0[${PYTHON_USEDEP}] )
	all? ( dev-python/CairoSVG[${PYTHON_USEDEP}] )
	all? ( ~dev-python/pycurl-7.0[${PYTHON_USEDEP}] )
	all? ( dev-python/pillow-avif-plugin[${PYTHON_USEDEP}] )
	all? ( dev-python/pillow-heif[${PYTHON_USEDEP}] )
	opencv? ( dev-python/opencv-python-headless[${PYTHON_USEDEP}] )
	opencv? ( ~dev-python/numpy-1.0[${PYTHON_USEDEP}] )
	tests? ( dev-python/opencv-python-headless[${PYTHON_USEDEP}] )
	tests? ( ~dev-python/numpy-1.0[${PYTHON_USEDEP}] )
	tests? ( dev-python/CairoSVG[${PYTHON_USEDEP}] )
	tests? ( ~dev-python/pycurl-7.0[${PYTHON_USEDEP}] )
	tests? ( dev-python/pillow-avif-plugin[${PYTHON_USEDEP}] )
	tests? ( dev-python/pillow-heif[${PYTHON_USEDEP}] )
	tests? ( ~dev-python/coverage-7.0[${PYTHON_USEDEP}] )
	tests? ( ~dev-python/flake8-7.0[${PYTHON_USEDEP}] )
	tests? ( ~dev-python/isort-5.0[${PYTHON_USEDEP}] )
	tests? ( dev-python/pre-commit[${PYTHON_USEDEP}] )
	tests? ( dev-python/preggy[${PYTHON_USEDEP}] )
	tests? ( ~dev-python/pylint-3.0[${PYTHON_USEDEP}] )
	tests? ( dev-python/pyssim[${PYTHON_USEDEP}] )
	tests? ( ~dev-python/pytest-7.0[${PYTHON_USEDEP}] )
	tests? ( ~dev-python/pytest-asyncio-0.0[${PYTHON_USEDEP}] )
	tests? ( ~dev-python/pytest-cov-4.0[${PYTHON_USEDEP}] )
	tests? ( dev-python/pytest-tldr[${PYTHON_USEDEP}] )
	tests? ( ~dev-python/pytest-xdist-3.0[${PYTHON_USEDEP}] )
	tests? ( ~dev-python/redis-5.0[${PYTHON_USEDEP}] )
	tests? ( dev-python/remotecv[${PYTHON_USEDEP}] )
	tests? ( dev-python/sentry-sdk[${PYTHON_USEDEP}] )
	tests? ( dev-python/yanc[${PYTHON_USEDEP}] )"
BDEPEND="${DEPENDENCIES}"
RDEPEND="${DEPENDENCIES}"