# 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="SDK for creating ISCCs (International Standard Content Codes)"

HOMEPAGE="https://sdk.iscc.codes"
LICENSE="Apache-2.0"
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="sci sct"
DEPENDENCIES="dev-python/cython[${PYTHON_USEDEP}]
	dev-python/iscc-core[${PYTHON_USEDEP}]
	dev-python/iscc-schema[${PYTHON_USEDEP}]
	dev-python/python-magic-pure[${PYTHON_USEDEP}]
	dev-python/platformdirs[${PYTHON_USEDEP}]
	dev-python/jmespath[${PYTHON_USEDEP}]
	dev-python/pillow[${PYTHON_USEDEP}]
	dev-python/pytaglib[${PYTHON_USEDEP}]
	dev-python/numpy[${PYTHON_USEDEP}]
	dev-python/PyMuPDF[${PYTHON_USEDEP}]
	dev-python/ebookmeta[${PYTHON_USEDEP}]
	dev-python/python-docx[${PYTHON_USEDEP}]
	dev-python/typer[${PYTHON_USEDEP}]
	dev-python/pillow-heif[${PYTHON_USEDEP}]
	dev-python/langcodes[${PYTHON_USEDEP}]
	dev-python/exiv2[${PYTHON_USEDEP}]
	dev-python/extractous[${PYTHON_USEDEP}]
	dev-python/bleach[${PYTHON_USEDEP}]
	dev-python/pdftext[${PYTHON_USEDEP}]
	dev-python/pikepdf[${PYTHON_USEDEP}]
	<=dev-python/click-8.1.8[${PYTHON_USEDEP}]
	dev-python/pillow-avif-plugin[${PYTHON_USEDEP}]
	sci? ( dev-python/iscc-sci[${PYTHON_USEDEP}] )
	sct? ( dev-python/iscc-sct[${PYTHON_USEDEP}] )
	sci? ( dev-python/onnxruntime[${PYTHON_USEDEP}] )
	sct? ( dev-python/onnxruntime[${PYTHON_USEDEP}] )"
BDEPEND="${DEPENDENCIES}"
RDEPEND="${DEPENDENCIES}"