From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 850A21382C5 for ; Tue, 16 Feb 2021 21:10:56 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CAF48E0729; Tue, 16 Feb 2021 21:10:55 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 89D78E0729 for ; Tue, 16 Feb 2021 21:10:54 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C7ABF3413B0 for ; Tue, 16 Feb 2021 21:10:53 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 335514C2 for ; Tue, 16 Feb 2021 21:10:52 +0000 (UTC) From: "Theo Anderson" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Theo Anderson" Message-ID: <1613441012.59ec6fd66029c7437ea8ff78b192d8b38a11a829.telans@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: app-text/OCRmyPDF/ X-VCS-Repository: repo/proj/guru X-VCS-Files: app-text/OCRmyPDF/Manifest app-text/OCRmyPDF/OCRmyPDF-11.6.2.ebuild X-VCS-Directories: app-text/OCRmyPDF/ X-VCS-Committer: telans X-VCS-Committer-Name: Theo Anderson X-VCS-Revision: 59ec6fd66029c7437ea8ff78b192d8b38a11a829 X-VCS-Branch: master Date: Tue, 16 Feb 2021 21:10:52 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: d65013b3-052c-4424-8bf1-5646e22de1f3 X-Archives-Hash: 0f6035feb1c919c988dd65fec0a2ff19 commit: 59ec6fd66029c7437ea8ff78b192d8b38a11a829 Author: Theo Anderson posteo de> AuthorDate: Tue Feb 16 02:03:32 2021 +0000 Commit: Theo Anderson posteo de> CommitDate: Tue Feb 16 02:03:32 2021 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=59ec6fd6 app-text/OCRmyPDF: bump to 11.6.2 Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Theo Anderson posteo.de> app-text/OCRmyPDF/Manifest | 1 + app-text/OCRmyPDF/OCRmyPDF-11.6.2.ebuild | 58 ++++++++++++++++++++++++++++++++ 2 files changed, 59 insertions(+) diff --git a/app-text/OCRmyPDF/Manifest b/app-text/OCRmyPDF/Manifest index ae61fd6b..f904cb5d 100644 --- a/app-text/OCRmyPDF/Manifest +++ b/app-text/OCRmyPDF/Manifest @@ -1,2 +1,3 @@ DIST OCRmyPDF-11.5.0.tar.gz 7884615 BLAKE2B e0b298e011aa648b9d94febbead532d97af510e7281d1d0a8b828843627b9ad326a863e4bc7060a6fd746f114676449ea3575d94d60c30cf08873b06eb31b244 SHA512 e40d28a6b21e729077f34d3e1012965a3f162e4374c0e8c88acc05b143c14626829f25f2c91bb8995aca7609778fac78c91d89c6186109194fc1f211a3462e41 DIST OCRmyPDF-11.6.0.tar.gz 7884950 BLAKE2B 408693ccb73e3c4c0298de27f2c8bff76ca50805a2dc1f84d25e8e5731d31631be238780a8b169d6d42c8a948b58d8708d95b0f0baf30d75deae4e4eac787106 SHA512 d77bbd5adb67a5e354162690665db62cd5baaa6f68443d2303f319d029c0a61b93d9363f5758fabf6d84959a8e07c164be7518f4bcc9f1d4d3408f116bc8caad +DIST OCRmyPDF-11.6.2.tar.gz 7885633 BLAKE2B a4c09a8088abe3f9e984e8c7ce1b58699c5e40c46de8e9f81ac43838772541758467887b22c3a9fe8026fb8cd125466968e5745af69c9760a0f470879e40685b SHA512 1f92022352b63d2642a0fd49ea72d70973c08d2b2cc84d3d92f06bfd883a858f7dba06f83a921245846d20fc90a1afa0570e7d58fe673e1dfad82e5e047e8de3 diff --git a/app-text/OCRmyPDF/OCRmyPDF-11.6.2.ebuild b/app-text/OCRmyPDF/OCRmyPDF-11.6.2.ebuild new file mode 100644 index 00000000..ed5786c9 --- /dev/null +++ b/app-text/OCRmyPDF/OCRmyPDF-11.6.2.ebuild @@ -0,0 +1,58 @@ +# Copyright 2020-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7..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 +} From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 6A4F21382C5 for ; Tue, 16 Feb 2021 02:04:04 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AAB59E0875; Tue, 16 Feb 2021 02:04:03 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8F38AE0876 for ; Tue, 16 Feb 2021 02:04:02 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 3B201341161 for ; Tue, 16 Feb 2021 02:04:01 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 878C64C for ; Tue, 16 Feb 2021 02:03:59 +0000 (UTC) From: "Theo Anderson" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Theo Anderson" Message-ID: <1613441012.59ec6fd66029c7437ea8ff78b192d8b38a11a829.telans@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: app-text/OCRmyPDF/ X-VCS-Repository: repo/proj/guru X-VCS-Files: app-text/OCRmyPDF/Manifest app-text/OCRmyPDF/OCRmyPDF-11.6.2.ebuild X-VCS-Directories: app-text/OCRmyPDF/ X-VCS-Committer: telans X-VCS-Committer-Name: Theo Anderson X-VCS-Revision: 59ec6fd66029c7437ea8ff78b192d8b38a11a829 X-VCS-Branch: dev Date: Tue, 16 Feb 2021 02:03:59 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 450524ea-0f62-4bf5-b638-ff0e35b5854c X-Archives-Hash: 095c5c951e003cc20b7c6b00228aaf78 Message-ID: <20210216020359.dES0xljicDxbvDC7ylnor1mDxD7ZZ7eyRLzQH6J-t2M@z> commit: 59ec6fd66029c7437ea8ff78b192d8b38a11a829 Author: Theo Anderson posteo de> AuthorDate: Tue Feb 16 02:03:32 2021 +0000 Commit: Theo Anderson posteo de> CommitDate: Tue Feb 16 02:03:32 2021 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=59ec6fd6 app-text/OCRmyPDF: bump to 11.6.2 Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Theo Anderson posteo.de> app-text/OCRmyPDF/Manifest | 1 + app-text/OCRmyPDF/OCRmyPDF-11.6.2.ebuild | 58 ++++++++++++++++++++++++++++++++ 2 files changed, 59 insertions(+) diff --git a/app-text/OCRmyPDF/Manifest b/app-text/OCRmyPDF/Manifest index ae61fd6b..f904cb5d 100644 --- a/app-text/OCRmyPDF/Manifest +++ b/app-text/OCRmyPDF/Manifest @@ -1,2 +1,3 @@ DIST OCRmyPDF-11.5.0.tar.gz 7884615 BLAKE2B e0b298e011aa648b9d94febbead532d97af510e7281d1d0a8b828843627b9ad326a863e4bc7060a6fd746f114676449ea3575d94d60c30cf08873b06eb31b244 SHA512 e40d28a6b21e729077f34d3e1012965a3f162e4374c0e8c88acc05b143c14626829f25f2c91bb8995aca7609778fac78c91d89c6186109194fc1f211a3462e41 DIST OCRmyPDF-11.6.0.tar.gz 7884950 BLAKE2B 408693ccb73e3c4c0298de27f2c8bff76ca50805a2dc1f84d25e8e5731d31631be238780a8b169d6d42c8a948b58d8708d95b0f0baf30d75deae4e4eac787106 SHA512 d77bbd5adb67a5e354162690665db62cd5baaa6f68443d2303f319d029c0a61b93d9363f5758fabf6d84959a8e07c164be7518f4bcc9f1d4d3408f116bc8caad +DIST OCRmyPDF-11.6.2.tar.gz 7885633 BLAKE2B a4c09a8088abe3f9e984e8c7ce1b58699c5e40c46de8e9f81ac43838772541758467887b22c3a9fe8026fb8cd125466968e5745af69c9760a0f470879e40685b SHA512 1f92022352b63d2642a0fd49ea72d70973c08d2b2cc84d3d92f06bfd883a858f7dba06f83a921245846d20fc90a1afa0570e7d58fe673e1dfad82e5e047e8de3 diff --git a/app-text/OCRmyPDF/OCRmyPDF-11.6.2.ebuild b/app-text/OCRmyPDF/OCRmyPDF-11.6.2.ebuild new file mode 100644 index 00000000..ed5786c9 --- /dev/null +++ b/app-text/OCRmyPDF/OCRmyPDF-11.6.2.ebuild @@ -0,0 +1,58 @@ +# Copyright 2020-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7..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 +}