From 6a5f8b69e6b01f486cd9862ed2cbcdecf342c5f3 Mon Sep 17 00:00:00 2001 From: Marcin Deranek Date: Tue, 23 Jul 2024 20:06:50 +0200 Subject: app-text/OCRmyPDF Version bump --- app-text/OCRmyPDF/Manifest | 4 +- app-text/OCRmyPDF/OCRmyPDF-16.4.1.ebuild | 77 -------------------------------- app-text/OCRmyPDF/OCRmyPDF-16.4.2.ebuild | 77 ++++++++++++++++++++++++++++++++ 3 files changed, 79 insertions(+), 79 deletions(-) delete mode 100644 app-text/OCRmyPDF/OCRmyPDF-16.4.1.ebuild create mode 100644 app-text/OCRmyPDF/OCRmyPDF-16.4.2.ebuild (limited to 'app-text') diff --git a/app-text/OCRmyPDF/Manifest b/app-text/OCRmyPDF/Manifest index cc20819..48e3dcc 100644 --- a/app-text/OCRmyPDF/Manifest +++ b/app-text/OCRmyPDF/Manifest @@ -1,5 +1,5 @@ DIST OCRmyPDF-16.3.1.tar.gz 6691988 BLAKE2B 82fb80b18df2ddfa79314958e8e54366a6886b4a96cdfcb7a54cc87c9f380c86fa89cbe1e3039169c2bbdc9d1835ba1cbe86e3e44015d5b50b1b90e0cf7a1904 SHA512 fbd6b0d1a8fc11361c0c0548f625629a64042866618009729c3adcf66ab7ac612ad58d4f3ba419c577d9c11ea6f8b14be8918c704e86ea96a05c461c0939242d -DIST OCRmyPDF-16.4.1.tar.gz 6694542 BLAKE2B 74acfa3dcb7b0b70fc01a210391f103b0f5bc566a34457f861a4788e9ecede7c51d0c4da32824570bf6039b0c6a2c67a0453e44bf9cf355736ffb63f014788b7 SHA512 7a5f3856852333b0429bb18b82a29c8972e8225f1302c918d91d3b9c1e9b012d14ee5af76b42c07a5680e81643de4825e105d33f5f5663422e5c190c1b1719e2 +DIST OCRmyPDF-16.4.2.tar.gz 6693911 BLAKE2B 42f32876a8dc71c1a6ffa1c4dd04c4575450237af34fe97e8a436ca7811bc0d6ba0523338d948bb80e20ce968cc128cd3f55064b3835287f638555f07d5b574a SHA512 4f89a47e927427883c29a8818af50711b9142cc9154c26e960a2fc6acf0ac814cc7b38f96b328b80056b518ebbd996e8b19fe27acb6e490535b65aa215713fd4 EBUILD OCRmyPDF-16.3.1.ebuild 2158 BLAKE2B d1574557209ff8823c067e68327e18d6c603d842d66ebbc48b43fc417ec91b7b86c9cd11d74bb26f1849d286dffe5c6ac8a78523013ed150e888fb38c5d134dc SHA512 8f75f99084748b41b00f10bee380ae734628c8e03458d628c9724b0acfa2a5e7b3c17057c808c043d2dea59938285c109d2f6541730a2e4120c8afb5cb5e59f9 -EBUILD OCRmyPDF-16.4.1.ebuild 2158 BLAKE2B d1574557209ff8823c067e68327e18d6c603d842d66ebbc48b43fc417ec91b7b86c9cd11d74bb26f1849d286dffe5c6ac8a78523013ed150e888fb38c5d134dc SHA512 8f75f99084748b41b00f10bee380ae734628c8e03458d628c9724b0acfa2a5e7b3c17057c808c043d2dea59938285c109d2f6541730a2e4120c8afb5cb5e59f9 +EBUILD OCRmyPDF-16.4.2.ebuild 2158 BLAKE2B d1574557209ff8823c067e68327e18d6c603d842d66ebbc48b43fc417ec91b7b86c9cd11d74bb26f1849d286dffe5c6ac8a78523013ed150e888fb38c5d134dc SHA512 8f75f99084748b41b00f10bee380ae734628c8e03458d628c9724b0acfa2a5e7b3c17057c808c043d2dea59938285c109d2f6541730a2e4120c8afb5cb5e59f9 MISC metadata.xml 487 BLAKE2B ff83beac62a69edac41d4b7f72db5a9e2d318ca7a3aa1aceec924f3bcae7767b9a00fc29e6227371d36123c57d4ef19ebc1996789acfcf1428600076986579d1 SHA512 8677c9314d5586205d93045efb49f1495957e99bdfe69208c12dce0fd72a9261b4bfdcb05d05ffb897f0c5f6827c2ec327a569b970ac0ef9b293df2801d72fb9 diff --git a/app-text/OCRmyPDF/OCRmyPDF-16.4.1.ebuild b/app-text/OCRmyPDF/OCRmyPDF-16.4.1.ebuild deleted file mode 100644 index 25e9576..0000000 --- a/app-text/OCRmyPDF/OCRmyPDF-16.4.1.ebuild +++ /dev/null @@ -1,77 +0,0 @@ -# Copyright 2020-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} ) - -inherit distutils-r1 optfeature shell-completion - -DESCRIPTION="OCRmyPDF adds an OCR text layer to scanned PDF files" -HOMEPAGE="https://github.com/ocrmypdf/OCRmyPDF" -SRC_URI="https://github.com/ocrmypdf/OCRmyPDF/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MPL-2.0" -SLOT="0" -KEYWORDS="~amd64" -IUSE="bash-completion fish-completion" - -RDEPEND=" - >=app-text/ghostscript-gpl-9.54 - >=app-text/pdfminer-20220319[${PYTHON_USEDEP}] - >=app-text/tesseract-4.1.1[jpeg,tiff,png,webp] - >=dev-python/deprecation-2.1.0[${PYTHON_USEDEP}] - >=dev-python/packaging-20[${PYTHON_USEDEP}] - >=dev-python/pikepdf-8.10.1[${PYTHON_USEDEP}] - >=dev-python/pillow-10.0.1[jpeg,jpeg2k,lcms,tiff,webp,zlib,${PYTHON_USEDEP}] - >=dev-python/pluggy-1[${PYTHON_USEDEP}] - >=dev-python/rich-13[${PYTHON_USEDEP}] - >=media-gfx/img2pdf-0.5[${PYTHON_USEDEP}] -" -BDEPEND=" - >=dev-python/setuptools-scm-7.0.5[${PYTHON_USEDEP}] - test? ( - >=app-text/unpaper-6.1 - >=dev-python/hypothesis-6.36.0[${PYTHON_USEDEP}] - dev-python/pytest-helpers-namespace[${PYTHON_USEDEP}] - dev-python/python-xmp-toolkit[${PYTHON_USEDEP}] - >=dev-python/reportlab-3.6.8[${PYTHON_USEDEP}] - media-libs/exempi - >=media-libs/jbig2enc-0.29 - media-libs/libxmp - >=media-gfx/pngquant-2.5 - ) -" - -distutils_enable_tests pytest -distutils_enable_sphinx docs \ - dev-python/sphinx-issues \ - dev-python/sphinx-rtd-theme - -EPYTEST_DESELECT=( - # Causes pytest INTERNALERROR - 'tests/test_metadata.py::test_malformed_docinfo' -) - -export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} - -src_prepare() { - distutils-r1_src_prepare - sed -e "/-n auto/d" -i pyproject.toml || die -} - -src_install() { - distutils-r1_src_install - - use bash-completion && - newbashcomp misc/completion/ocrmypdf.bash "${PN,,}" - use fish-completion && - newfishcomp misc/completion/ocrmypdf.fish "${PN,,}" -} - -pkg_postinst() { - optfeature "JBIG2 optimization support" media-libs/jbig2enc - optfeature "image cleaning support" app-text/unpaper - optfeature "PNG optimization support" media-gfx/pngquant -} diff --git a/app-text/OCRmyPDF/OCRmyPDF-16.4.2.ebuild b/app-text/OCRmyPDF/OCRmyPDF-16.4.2.ebuild new file mode 100644 index 0000000..25e9576 --- /dev/null +++ b/app-text/OCRmyPDF/OCRmyPDF-16.4.2.ebuild @@ -0,0 +1,77 @@ +# Copyright 2020-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 optfeature shell-completion + +DESCRIPTION="OCRmyPDF adds an OCR text layer to scanned PDF files" +HOMEPAGE="https://github.com/ocrmypdf/OCRmyPDF" +SRC_URI="https://github.com/ocrmypdf/OCRmyPDF/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MPL-2.0" +SLOT="0" +KEYWORDS="~amd64" +IUSE="bash-completion fish-completion" + +RDEPEND=" + >=app-text/ghostscript-gpl-9.54 + >=app-text/pdfminer-20220319[${PYTHON_USEDEP}] + >=app-text/tesseract-4.1.1[jpeg,tiff,png,webp] + >=dev-python/deprecation-2.1.0[${PYTHON_USEDEP}] + >=dev-python/packaging-20[${PYTHON_USEDEP}] + >=dev-python/pikepdf-8.10.1[${PYTHON_USEDEP}] + >=dev-python/pillow-10.0.1[jpeg,jpeg2k,lcms,tiff,webp,zlib,${PYTHON_USEDEP}] + >=dev-python/pluggy-1[${PYTHON_USEDEP}] + >=dev-python/rich-13[${PYTHON_USEDEP}] + >=media-gfx/img2pdf-0.5[${PYTHON_USEDEP}] +" +BDEPEND=" + >=dev-python/setuptools-scm-7.0.5[${PYTHON_USEDEP}] + test? ( + >=app-text/unpaper-6.1 + >=dev-python/hypothesis-6.36.0[${PYTHON_USEDEP}] + dev-python/pytest-helpers-namespace[${PYTHON_USEDEP}] + dev-python/python-xmp-toolkit[${PYTHON_USEDEP}] + >=dev-python/reportlab-3.6.8[${PYTHON_USEDEP}] + media-libs/exempi + >=media-libs/jbig2enc-0.29 + media-libs/libxmp + >=media-gfx/pngquant-2.5 + ) +" + +distutils_enable_tests pytest +distutils_enable_sphinx docs \ + dev-python/sphinx-issues \ + dev-python/sphinx-rtd-theme + +EPYTEST_DESELECT=( + # Causes pytest INTERNALERROR + 'tests/test_metadata.py::test_malformed_docinfo' +) + +export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} + +src_prepare() { + distutils-r1_src_prepare + sed -e "/-n auto/d" -i pyproject.toml || die +} + +src_install() { + distutils-r1_src_install + + use bash-completion && + newbashcomp misc/completion/ocrmypdf.bash "${PN,,}" + use fish-completion && + newfishcomp misc/completion/ocrmypdf.fish "${PN,,}" +} + +pkg_postinst() { + optfeature "JBIG2 optimization support" media-libs/jbig2enc + optfeature "image cleaning support" app-text/unpaper + optfeature "PNG optimization support" media-gfx/pngquant +} -- cgit v1.2.3