From 871db14b2f7caba3854f88e2bfeb68df022fc6a8 Mon Sep 17 00:00:00 2001 From: Marcin Deranek Date: Wed, 27 Mar 2024 15:13:53 +0100 Subject: app-text/OCRmyPDF version bump --- app-text/OCRmyPDF/Manifest | 4 +- app-text/OCRmyPDF/OCRmyPDF-16.1.1.ebuild | 77 -------------------------------- app-text/OCRmyPDF/OCRmyPDF-16.1.2.ebuild | 77 ++++++++++++++++++++++++++++++++ 3 files changed, 79 insertions(+), 79 deletions(-) delete mode 100644 app-text/OCRmyPDF/OCRmyPDF-16.1.1.ebuild create mode 100644 app-text/OCRmyPDF/OCRmyPDF-16.1.2.ebuild diff --git a/app-text/OCRmyPDF/Manifest b/app-text/OCRmyPDF/Manifest index 585f013..57ecea9 100644 --- a/app-text/OCRmyPDF/Manifest +++ b/app-text/OCRmyPDF/Manifest @@ -1,7 +1,7 @@ DIST OCRmyPDF-15.4.4.tar.gz 6656966 BLAKE2B 9d154147bedc96b4cb903b67c83beb2dbd0051d6940bf672b23dc6cfe12de78661996bd55ca73978a5cd3694a8cc5024c1b2d1dead372ea146bc9143517c12d7 SHA512 5c0b64a9c42be26f38c2a4cac81a18c015a81a4d4fd866375b0291e1d01d27100adc420ecc0daeb9bf2c3aafb59ae95e93d97bafdfa1cbffd18e8b155b57d133 DIST OCRmyPDF-16.0.4.tar.gz 6687648 BLAKE2B ae8b0b3d72a854ed333e2f872182943635c894a7d1d0f8ec21a3d032072f31c4adb8f493800529f426be75310cdfedfedd4fd22d5000d68a987466fba7660715 SHA512 fe9f877dbca5532511a542333b670600b7403bdfefbc0815c92a99be089b6eebb81e1a0d130f9a4af5502d9c6b6e7306edbee164332eb667e10333492ff06a0e -DIST OCRmyPDF-16.1.1.tar.gz 6689353 BLAKE2B 21c03898475634941348ce2f5762a5cae9b72f3e545e114af0d5b1a91a94e54fb2384d5a4a4b428bd5fe25ea453892d4a794d9a32ab3e3588a5f9c1707eaa3db SHA512 b15d432962fde7e3ee413e48c4891487cad5c4137fca65384e5df4d8cf39d495b77d941693a170f9de90b16bbf7a13fe5edd3df19653df6bcdb3981ddb53a228 +DIST OCRmyPDF-16.1.2.tar.gz 6688943 BLAKE2B 903a830a81804bda063d59bb4ad98d08179504451be0f62cf371e5214be28c4d414d725d9188c5d3893df09275a826e765bff038a61d318e0b8510c6bbf78b92 SHA512 72728abafdbda4e42c4ebb19a3b8c88944ecbbcc2d5a4681999bbd9b00594f75746f46334e4f8885ac455841997d16e3699b08a655ff3c7c81622184c2ab292b EBUILD OCRmyPDF-15.4.4.ebuild 2170 BLAKE2B 34a3104fcefcf653d2e9a8cb0dcff8325058b5b29413b87696bf205bac21130976afa296d1c889588e6766e12f5c440b7b8a1b04880fc02bbe411d42e44d5683 SHA512 5934d7e1cf24885bc121c2396893e5f6728694b4ca172502686ec0d3eb42ae4122002c9821a8b7ded1d600cd695631c5b656ce51d02ab39d95e747989da91dca EBUILD OCRmyPDF-16.0.4.ebuild 2165 BLAKE2B 2b16e3cb5e0374d144374d3518946e028aa58b00f44d516e16d52af6845b59dfbd635603b1a979c8f143af9c47bc17a8004a3e5acd62064cbe881be380126a2f SHA512 de69d1f87596a6aa6617d268418a6149365726c0d152abed711bbe91389fd0a35adfa2babc984a8094954ee2141f3f4f12fec33fbf9f8c8dbf6a577b6fed34b8 -EBUILD OCRmyPDF-16.1.1.ebuild 2165 BLAKE2B 2b16e3cb5e0374d144374d3518946e028aa58b00f44d516e16d52af6845b59dfbd635603b1a979c8f143af9c47bc17a8004a3e5acd62064cbe881be380126a2f SHA512 de69d1f87596a6aa6617d268418a6149365726c0d152abed711bbe91389fd0a35adfa2babc984a8094954ee2141f3f4f12fec33fbf9f8c8dbf6a577b6fed34b8 +EBUILD OCRmyPDF-16.1.2.ebuild 2165 BLAKE2B 2b16e3cb5e0374d144374d3518946e028aa58b00f44d516e16d52af6845b59dfbd635603b1a979c8f143af9c47bc17a8004a3e5acd62064cbe881be380126a2f SHA512 de69d1f87596a6aa6617d268418a6149365726c0d152abed711bbe91389fd0a35adfa2babc984a8094954ee2141f3f4f12fec33fbf9f8c8dbf6a577b6fed34b8 MISC metadata.xml 487 BLAKE2B ff83beac62a69edac41d4b7f72db5a9e2d318ca7a3aa1aceec924f3bcae7767b9a00fc29e6227371d36123c57d4ef19ebc1996789acfcf1428600076986579d1 SHA512 8677c9314d5586205d93045efb49f1495957e99bdfe69208c12dce0fd72a9261b4bfdcb05d05ffb897f0c5f6827c2ec327a569b970ac0ef9b293df2801d72fb9 diff --git a/app-text/OCRmyPDF/OCRmyPDF-16.1.1.ebuild b/app-text/OCRmyPDF/OCRmyPDF-16.1.1.ebuild deleted file mode 100644 index d2685c5..0000000 --- a/app-text/OCRmyPDF/OCRmyPDF-16.1.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..11} ) - -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-2.0.1[${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.1.2.ebuild b/app-text/OCRmyPDF/OCRmyPDF-16.1.2.ebuild new file mode 100644 index 0000000..d2685c5 --- /dev/null +++ b/app-text/OCRmyPDF/OCRmyPDF-16.1.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..11} ) + +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-2.0.1[${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