From a20d667784ddbd84ac967a8b4d9ea3a3e91a94d7 Mon Sep 17 00:00:00 2001 From: Marcin Deranek Date: Mon, 18 Dec 2023 21:34:36 +0100 Subject: app-text/OCRmyPDF version bump --- app-text/OCRmyPDF/Manifest | 6 +-- app-text/OCRmyPDF/OCRmyPDF-14.4.0.ebuild | 70 ----------------------------- app-text/OCRmyPDF/OCRmyPDF-15.3.1.ebuild | 77 -------------------------------- app-text/OCRmyPDF/OCRmyPDF-16.0.0.ebuild | 77 ++++++++++++++++++++++++++++++++ 4 files changed, 79 insertions(+), 151 deletions(-) delete mode 100644 app-text/OCRmyPDF/OCRmyPDF-14.4.0.ebuild delete mode 100644 app-text/OCRmyPDF/OCRmyPDF-15.3.1.ebuild create mode 100644 app-text/OCRmyPDF/OCRmyPDF-16.0.0.ebuild diff --git a/app-text/OCRmyPDF/Manifest b/app-text/OCRmyPDF/Manifest index 9d481f0..52e5cc1 100644 --- a/app-text/OCRmyPDF/Manifest +++ b/app-text/OCRmyPDF/Manifest @@ -1,7 +1,5 @@ -DIST OCRmyPDF-14.4.0.tar.gz 6521563 BLAKE2B aa929c51661c26ab6c628dbc98a2051407fbe416919797be1f4a63cdee12cf47d3a3120b7db84a8a6cfdd051fba33cb3df4fb8d7020b9c8c9b7a22182b378c4e SHA512 eb176a313a68eaed429eb39bd0c0ebaba445b40d9c1b8659ae243c3d17933fa9af830c06685f31320ec29f1868e84632f326ccdd8dc52486e5b2fe96d6a705cd -DIST OCRmyPDF-15.3.1.tar.gz 6576963 BLAKE2B bdb90bdab881487a2a72c7f679ede6ddfc739721d83f80b9898fc013c3f3ef8a731076829fa1574568fefeeb46b2366bcde36494d449c1695fbd1d1b2238f2e5 SHA512 865715b07e26db2b7ea38c732929319cdb5fe438e3e49a0862189a296558e2faadee6a62a1d0cdbbdbdfa7f6826be4e681e32c1f1ca39ac4fc97ce499c4dbe86 DIST OCRmyPDF-15.4.4.tar.gz 6656966 BLAKE2B 9d154147bedc96b4cb903b67c83beb2dbd0051d6940bf672b23dc6cfe12de78661996bd55ca73978a5cd3694a8cc5024c1b2d1dead372ea146bc9143517c12d7 SHA512 5c0b64a9c42be26f38c2a4cac81a18c015a81a4d4fd866375b0291e1d01d27100adc420ecc0daeb9bf2c3aafb59ae95e93d97bafdfa1cbffd18e8b155b57d133 -EBUILD OCRmyPDF-14.4.0.ebuild 2020 BLAKE2B 226627129209fe13d23b95cec03ef8ce587177cf464ca5138de876086ec051422daf0a89622bbde1d61688a4f59277c178c17831addd4091ef74c4d47c0b539e SHA512 fabb7ac2f3471cbfd3de60ae3c93fc3c66966b3cefa192aa9eedf3df2d459d837c7739b1273dbe18e022c1c11c592cc734f81df1e9dc34dd274f39848b0c4580 -EBUILD OCRmyPDF-15.3.1.ebuild 2141 BLAKE2B fb326cd04885b77b11a88bcf445110aada8ea1feabcd639345a710f31b13762c9b7e6a49774514a60d8176a416723533aa28975ffd3e5ae7362aca397d664c87 SHA512 61b759349479b58d7df6eaef458e0359c7084a5510e45e883df9a4503f3b46565cb39d99d164fb1985865d5ce83646dde7e546df95571fcb4ce366c721f5292a +DIST OCRmyPDF-16.0.0.tar.gz 6668404 BLAKE2B d432ba56db5e1dd41115ce7feaaa4d6e12bd3e9315859f7010adaac63b4b5981487865550361492bfa4f9f9b753ad250a02a503370b5ef73f4e3edc5e95dd06b SHA512 44b725d37b26bc4d05ceeab2ffe0793a754b7a304391b6b7150486bcbc7e4655a7ac680f094d37ebf074af22a618a796f2ebc5692e72d7ceb09cc7d42d943ce2 EBUILD OCRmyPDF-15.4.4.ebuild 2170 BLAKE2B 34a3104fcefcf653d2e9a8cb0dcff8325058b5b29413b87696bf205bac21130976afa296d1c889588e6766e12f5c440b7b8a1b04880fc02bbe411d42e44d5683 SHA512 5934d7e1cf24885bc121c2396893e5f6728694b4ca172502686ec0d3eb42ae4122002c9821a8b7ded1d600cd695631c5b656ce51d02ab39d95e747989da91dca +EBUILD OCRmyPDF-16.0.0.ebuild 2171 BLAKE2B 9a2256e09a876417b003f1d7a9ad300ad848c611f37fbee05c34fa972642f152a1d2562e1ce4b0727e4600c01ccca951cbe24b2a874a25ebdc1f7182a506c3fb SHA512 ece7fb9564a40b8a65a04823ea1998ea9cee63168daf3ee18c45182fdcc6c5d53fe0561b65db6e9718d08e8e96b5712b31892bd2a530a860e86491e08248e282 MISC metadata.xml 487 BLAKE2B ff83beac62a69edac41d4b7f72db5a9e2d318ca7a3aa1aceec924f3bcae7767b9a00fc29e6227371d36123c57d4ef19ebc1996789acfcf1428600076986579d1 SHA512 8677c9314d5586205d93045efb49f1495957e99bdfe69208c12dce0fd72a9261b4bfdcb05d05ffb897f0c5f6827c2ec327a569b970ac0ef9b293df2801d72fb9 diff --git a/app-text/OCRmyPDF/OCRmyPDF-14.4.0.ebuild b/app-text/OCRmyPDF/OCRmyPDF-14.4.0.ebuild deleted file mode 100644 index 4aa2260..0000000 --- a/app-text/OCRmyPDF/OCRmyPDF-14.4.0.ebuild +++ /dev/null @@ -1,70 +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 bash-completion-r1 distutils-r1 optfeature - -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" - -RDEPEND=" - >=app-text/ghostscript-gpl-9.50 - >=app-text/pdfminer-20201018[${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-5.0.1[${PYTHON_USEDEP}] - >=dev-python/pillow-8.2.0[lcms,${PYTHON_USEDEP}] - >=dev-python/pluggy-0.13.0[${PYTHON_USEDEP}] - >=dev-python/reportlab-3.5.66[${PYTHON_USEDEP}] - >=dev-python/rich-13[${PYTHON_USEDEP}] - >=dev-python/tqdm-4[${PYTHON_USEDEP}] - >=media-gfx/img2pdf-0.3.0[${PYTHON_USEDEP}] -" -BDEPEND=" - >=dev-python/setuptools-scm-7.0.5[${PYTHON_USEDEP}] - test? ( - >=app-text/unpaper-6.1 - >=dev-python/hypothesis-6.0.0[${PYTHON_USEDEP}] - dev-python/pytest-helpers-namespace[${PYTHON_USEDEP}] - ~dev-python/python-xmp-toolkit-2.0.1[${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 - -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 - newbashcomp misc/completion/ocrmypdf.bash "${PN,,}" - insinto /usr/share/fish/vendor_completions.d - doins misc/completion/ocrmypdf.fish -} - -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-15.3.1.ebuild b/app-text/OCRmyPDF/OCRmyPDF-15.3.1.ebuild deleted file mode 100644 index 035a098..0000000 --- a/app-text/OCRmyPDF/OCRmyPDF-15.3.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.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.0[${PYTHON_USEDEP}] - >=dev-python/pillow-10.0.1[lcms,${PYTHON_USEDEP}] - >=dev-python/pluggy-0.13.0[${PYTHON_USEDEP}] - >=dev-python/reportlab-3.6.8[${PYTHON_USEDEP}] - >=dev-python/rich-13[${PYTHON_USEDEP}] - >=media-gfx/img2pdf-0.4.4[${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}] - 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.0.ebuild b/app-text/OCRmyPDF/OCRmyPDF-16.0.0.ebuild new file mode 100644 index 0000000..7eeb9cd --- /dev/null +++ b/app-text/OCRmyPDF/OCRmyPDF-16.0.0.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.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.8.0[${PYTHON_USEDEP}] + >=dev-python/pillow-10.0.1[jpeg,jpeg2k,lcms,tiff,webp,zlib,${PYTHON_USEDEP}] + >=dev-python/pluggy-0.13.0[${PYTHON_USEDEP}] + >=dev-python/rich-13[${PYTHON_USEDEP}] + >=media-gfx/img2pdf-0.4.4[${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