# automatically generated by g-sorcery
# please do not edit this file

EAPI=8

REALNAME="${PN}"
LITERALNAME="${PN}"
REALVERSION="${PV}"
DIGEST_SOURCES="yes"
PYTHON_COMPAT=( python3_11 )
DISTUTILS_USE_PEP517=standalone

inherit python-r1 gs-pypi

DESCRIPTION="Python library for Digital Pathology Image Processing"

HOMEPAGE="https://github.com/histolab/histolab"
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="docs"
DEPENDENCIES="<dev-python/pillow-11.0.0[${PYTHON_USEDEP}]
	<dev-python/scikit-image-0.19.4[${PYTHON_USEDEP}]
	<=dev-python/numpy-1.24.4[${PYTHON_USEDEP}]
	<dev-python/scipy-1.10.1[${PYTHON_USEDEP}]
	dev-python/openslide-python[${PYTHON_USEDEP}]
	docs? ( <dev-python/sphinx-8.0.0[${PYTHON_USEDEP}] )
	docs? ( <dev-python/sphinx-rtd-theme-3.0[${PYTHON_USEDEP}] )
	docs? ( dev-python/sphinxcontrib-katex[${PYTHON_USEDEP}] )
	docs? ( <dev-python/sphinxemoji-0.3.0[${PYTHON_USEDEP}] )
	docs? ( ~dev-python/sphinx-prompt-1.8.0[${PYTHON_USEDEP}] )
	>=dev-python/certifi-2023.7.22[${PYTHON_USEDEP}]"
BDEPEND="${DEPENDENCIES}"
RDEPEND="${DEPENDENCIES}"