commit: 99ac403aae8c773f4bcf267ac5a2fc5181a0a05a Author: Alexandru Campeanu <tiotags1 <AT> gmail <DOT> com> AuthorDate: Wed Apr 20 19:03:16 2022 +0000 Commit: Alexandru Campeanu <tiotags1 <AT> gmail <DOT> com> CommitDate: Wed Apr 20 19:03:16 2022 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=99ac403a
app-text/OCRmyPDF: drop 12.0.2, 12.6.0 Signed-off-by: Alexandru Campeanu <tiotags1 <AT> gmail.com> app-text/OCRmyPDF/OCRmyPDF-12.0.2.ebuild | 58 -------------------------------- app-text/OCRmyPDF/OCRmyPDF-12.6.0.ebuild | 58 -------------------------------- 2 files changed, 116 deletions(-) diff --git a/app-text/OCRmyPDF/OCRmyPDF-12.0.2.ebuild b/app-text/OCRmyPDF/OCRmyPDF-12.0.2.ebuild deleted file mode 100644 index 23c16679f..000000000 --- a/app-text/OCRmyPDF/OCRmyPDF-12.0.2.ebuild +++ /dev/null @@ -1,58 +0,0 @@ -# Copyright 2020-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_8 ) -DISTUTILS_USE_SETUPTOOLS=rdepend - -inherit bash-completion-r1 distutils-r1 - -DESCRIPTION="OCRmyPDF adds an OCR text layer to scanned PDF files" -HOMEPAGE="https://github.com/jbarlow83/OCRmyPDF" -SRC_URI="https://github.com/jbarlow83/OCRmyPDF/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MPL-2.0" -SLOT="0" -KEYWORDS="~amd64" - -# This uses *a lot* of RAM, I have 32gb and these tests tried to use it all -RESTRICT="test" -IUSE="jbig2enc" - -RDEPEND=" - app-text/ghostscript-gpl - app-text/tesseract - app-text/unpaper - dev-python/cffi[${PYTHON_USEDEP}] - dev-python/coloredlogs[${PYTHON_USEDEP}] - >=dev-python/pdfminer-six-20191110[${PYTHON_USEDEP}] - <=dev-python/pdfminer-six-20201018[${PYTHON_USEDEP}] - dev-python/pikepdf[${PYTHON_USEDEP}] - dev-python/pillow[${PYTHON_USEDEP}] - dev-python/pluggy[${PYTHON_USEDEP}] - dev-python/reportlab[${PYTHON_USEDEP}] - dev-python/tqdm[${PYTHON_USEDEP}] - media-gfx/img2pdf[${PYTHON_USEDEP}] - media-gfx/pngquant - media-libs/leptonica - virtual/python-cffi[${PYTHON_USEDEP}] - jbig2enc? ( media-libs/jbig2enc ) -" -DEPEND=" - test? ( - dev-python/pytest-helpers-namespace[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - ~dev-python/python-xmp-toolkit-2.0.1[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest -distutils_enable_sphinx docs --no-autodoc - -src_install() { - distutils-r1_src_install - newbashcomp misc/completion/ocrmypdf.bash "${PN,,}" - insinto /usr/share/fish/vendor_completions.d - doins misc/completion/ocrmypdf.fish -} diff --git a/app-text/OCRmyPDF/OCRmyPDF-12.6.0.ebuild b/app-text/OCRmyPDF/OCRmyPDF-12.6.0.ebuild deleted file mode 100644 index cb722a1f5..000000000 --- a/app-text/OCRmyPDF/OCRmyPDF-12.6.0.ebuild +++ /dev/null @@ -1,58 +0,0 @@ -# Copyright 2020-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_8 ) -DISTUTILS_USE_SETUPTOOLS=rdepend - -inherit bash-completion-r1 distutils-r1 - -DESCRIPTION="OCRmyPDF adds an OCR text layer to scanned PDF files" -HOMEPAGE="https://github.com/jbarlow83/OCRmyPDF" -SRC_URI="https://github.com/jbarlow83/OCRmyPDF/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MPL-2.0" -SLOT="0" -KEYWORDS="~amd64" - -# This uses *a lot* of RAM, I have 32gb and these tests tried to use it all -RESTRICT="test" -IUSE="jbig2enc" - -RDEPEND=" - app-text/ghostscript-gpl - app-text/tesseract - app-text/unpaper - dev-python/cffi[${PYTHON_USEDEP}] - dev-python/coloredlogs[${PYTHON_USEDEP}] - >=dev-python/pdfminer-six-20191110[${PYTHON_USEDEP}] - <=dev-python/pdfminer-six-20201018[${PYTHON_USEDEP}] - dev-python/pikepdf[${PYTHON_USEDEP}] - dev-python/pillow[${PYTHON_USEDEP}] - dev-python/pluggy[${PYTHON_USEDEP}] - dev-python/reportlab[${PYTHON_USEDEP}] - dev-python/tqdm[${PYTHON_USEDEP}] - media-gfx/img2pdf[${PYTHON_USEDEP}] - media-gfx/pngquant - media-libs/leptonica - virtual/python-cffi[${PYTHON_USEDEP}] - jbig2enc? ( media-libs/jbig2enc ) -" -DEPEND=" - test? ( - dev-python/pytest-helpers-namespace[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - ~dev-python/python-xmp-toolkit-2.0.1[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest -distutils_enable_sphinx docs --no-autodoc - -src_install() { - distutils-r1_src_install - newbashcomp misc/completion/ocrmypdf.bash "${PN,,}" - insinto /usr/share/fish/vendor_completions.d - doins misc/completion/ocrmypdf.fish -}
