From 5de32fb4a5d2e8cc19047c6aeb90aedbea4a8b72 Mon Sep 17 00:00:00 2001 From: Marcin Deranek Date: Wed, 3 Jan 2024 08:56:27 +0100 Subject: app-text/OCRmyPDF version bump --- app-text/OCRmyPDF/Manifest | 4 +- app-text/OCRmyPDF/OCRmyPDF-16.0.2.ebuild | 77 -------------------------------- app-text/OCRmyPDF/OCRmyPDF-16.0.3.ebuild | 77 ++++++++++++++++++++++++++++++++ 3 files changed, 79 insertions(+), 79 deletions(-) delete mode 100644 app-text/OCRmyPDF/OCRmyPDF-16.0.2.ebuild create mode 100644 app-text/OCRmyPDF/OCRmyPDF-16.0.3.ebuild diff --git a/app-text/OCRmyPDF/Manifest b/app-text/OCRmyPDF/Manifest index 7fa938e..90f4083 100644 --- a/app-text/OCRmyPDF/Manifest +++ b/app-text/OCRmyPDF/Manifest @@ -1,5 +1,5 @@ DIST OCRmyPDF-15.4.4.tar.gz 6656966 BLAKE2B 9d154147bedc96b4cb903b67c83beb2dbd0051d6940bf672b23dc6cfe12de78661996bd55ca73978a5cd3694a8cc5024c1b2d1dead372ea146bc9143517c12d7 SHA512 5c0b64a9c42be26f38c2a4cac81a18c015a81a4d4fd866375b0291e1d01d27100adc420ecc0daeb9bf2c3aafb59ae95e93d97bafdfa1cbffd18e8b155b57d133 -DIST OCRmyPDF-16.0.2.tar.gz 6668452 BLAKE2B a39bc1abddd49bfcfae1dee149826f4582615e43249241006b0192ceffae10db6c446e89f37cfeef9fbb00931199d6a057f4101a974557e52cba03d5dea7de5a SHA512 2f0a71baa9ce5e562f976ece8973753bc1bae76e17f2862cbfe8159275b05d077f01430041c1f62e440b492e8796599dfed10d353127c84f444d155b97852e25 +DIST OCRmyPDF-16.0.3.tar.gz 6668012 BLAKE2B c73b8142b0e5335a4da3efd7e71b03fe5315d0b434920e4256e9b636419abdd6c7633edcc84a2d657ab03f0432fec7697bcfbebc2694c949a609f27830006d68 SHA512 cd645ff160da10b409d91cf6febe02dfe988c31f1e2c9776fd7feaf231831cc2264f9c22f192ef217899a743b6445dc292fe3de2561d5de7208b62673d1f5c8b EBUILD OCRmyPDF-15.4.4.ebuild 2170 BLAKE2B 34a3104fcefcf653d2e9a8cb0dcff8325058b5b29413b87696bf205bac21130976afa296d1c889588e6766e12f5c440b7b8a1b04880fc02bbe411d42e44d5683 SHA512 5934d7e1cf24885bc121c2396893e5f6728694b4ca172502686ec0d3eb42ae4122002c9821a8b7ded1d600cd695631c5b656ce51d02ab39d95e747989da91dca -EBUILD OCRmyPDF-16.0.2.ebuild 2165 BLAKE2B fc92a5054f33865c849574d9050313c9fdfb966cab211e7929b37cfe4c4beb924f8847060d61114123c2f6f3fabc31af5ffef7fcf9fa888afe2b1e80a0c81124 SHA512 f7795e75d9f9fb9db4394583ac0c8e25ee14f3c7663d36929c2df07ccc400958136519aaf8d141b2a3144f034c70a025809c452fe8c2590ab45991e420925bff +EBUILD OCRmyPDF-16.0.3.ebuild 2165 BLAKE2B 2b16e3cb5e0374d144374d3518946e028aa58b00f44d516e16d52af6845b59dfbd635603b1a979c8f143af9c47bc17a8004a3e5acd62064cbe881be380126a2f SHA512 de69d1f87596a6aa6617d268418a6149365726c0d152abed711bbe91389fd0a35adfa2babc984a8094954ee2141f3f4f12fec33fbf9f8c8dbf6a577b6fed34b8 MISC metadata.xml 487 BLAKE2B ff83beac62a69edac41d4b7f72db5a9e2d318ca7a3aa1aceec924f3bcae7767b9a00fc29e6227371d36123c57d4ef19ebc1996789acfcf1428600076986579d1 SHA512 8677c9314d5586205d93045efb49f1495957e99bdfe69208c12dce0fd72a9261b4bfdcb05d05ffb897f0c5f6827c2ec327a569b970ac0ef9b293df2801d72fb9 diff --git a/app-text/OCRmyPDF/OCRmyPDF-16.0.2.ebuild b/app-text/OCRmyPDF/OCRmyPDF-16.0.2.ebuild deleted file mode 100644 index f2b5ac3..0000000 --- a/app-text/OCRmyPDF/OCRmyPDF-16.0.2.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.55 - >=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.0.3.ebuild b/app-text/OCRmyPDF/OCRmyPDF-16.0.3.ebuild new file mode 100644 index 0000000..d2685c5 --- /dev/null +++ b/app-text/OCRmyPDF/OCRmyPDF-16.0.3.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