# 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="Internet Archive PDF compression tools" HOMEPAGE="https://github.com/internetarchive/archive-pdf-tools" LICENSE="AGPL-3" 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/PyMuPDF[${PYTHON_USEDEP}] >=dev-python/pillow-8.3[${PYTHON_USEDEP}] dev-python/archive-hocr-tools[${PYTHON_USEDEP}] >=dev-python/xmltodict-0.12[${PYTHON_USEDEP}] >=dev-python/roman-3.3[${PYTHON_USEDEP}] dev-python/numpy[${PYTHON_USEDEP}] dev-python/lxml[${PYTHON_USEDEP}] dev-python/scikit-image[${PYTHON_USEDEP}] dev-python/pywavelets[${PYTHON_USEDEP}] dev-python/importlib-resources[${PYTHON_USEDEP}] docs? ( >=dev-python/sphinx-3.0[${PYTHON_USEDEP}] )" BDEPEND="${DEPENDENCIES}" RDEPEND="${DEPENDENCIES}"