From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1237503-garchives=archives.gentoo.org@lists.gentoo.org>
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 330E31382C5
	for <garchives@archives.gentoo.org>; Mon,  4 Jan 2021 09:34:54 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 0B92CE0969;
	Mon,  4 Jan 2021 09:34:52 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4])
	(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 D9692E0969
	for <gentoo-commits@lists.gentoo.org>; Mon,  4 Jan 2021 09:34:51 +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 901B7341177
	for <gentoo-commits@lists.gentoo.org>; Mon,  4 Jan 2021 09:34:50 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 74C75493
	for <gentoo-commits@lists.gentoo.org>; Mon,  4 Jan 2021 09:34:46 +0000 (UTC)
From: "Andrew Ammerlaan" <andrewammerlaan@riseup.net>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Andrew Ammerlaan" <andrewammerlaan@riseup.net>
Message-ID: <1609738738.7a267c8917578d0a4b5c0f351dbde91d1975c87d.andrewammerlaan@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.4.4.ebuild
X-VCS-Directories: app-text/OCRmyPDF/
X-VCS-Committer: andrewammerlaan
X-VCS-Committer-Name: Andrew Ammerlaan
X-VCS-Revision: 7a267c8917578d0a4b5c0f351dbde91d1975c87d
X-VCS-Branch: master
Date: Mon,  4 Jan 2021 09:34:46 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 7c97c9bd-c443-488f-b52c-4e41bcf57312
X-Archives-Hash: 7e9cd22e605086bef3a30c82d6ad3b0e

commit:     7a267c8917578d0a4b5c0f351dbde91d1975c87d
Author:     Theo Anderson <telans <AT> posteo <DOT> de>
AuthorDate: Mon Jan  4 04:34:33 2021 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Mon Jan  4 05:38:58 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7a267c89

app-text/OCRmyPDF: bump to 11.4.4

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Theo Anderson <telans <AT> posteo.de>

 app-text/OCRmyPDF/Manifest               |  1 +
 app-text/OCRmyPDF/OCRmyPDF-11.4.4.ebuild | 67 ++++++++++++++++++++++++++++++++
 2 files changed, 68 insertions(+)

diff --git a/app-text/OCRmyPDF/Manifest b/app-text/OCRmyPDF/Manifest
index d190c20c..110f2d5d 100644
--- a/app-text/OCRmyPDF/Manifest
+++ b/app-text/OCRmyPDF/Manifest
@@ -1,3 +1,4 @@
 DIST OCRmyPDF-11.4.0.tar.gz 7880918 BLAKE2B 2031a0d8f5676d84be7e4d52a2b8457143dfb85248bc925d452ebe652190da0f34a464478a9cda8ed0650eeb5db5019f83530ea0b74b57079e1cab0e43a20b16 SHA512 f6ed03eacf3dd0aa554841b70e6b2fbb8a7cc7854723a4fb0a52b7b3fcf26387f9bb60b9db57f67af53a979edc66666a3dadbdd10c20fbb375cfaf46339e6737
 DIST OCRmyPDF-11.4.1.tar.gz 7880882 BLAKE2B 80bcce4775e9192cc23f0b9ed0ba8fcbb4b585c628b796f69b60d2e84bcf8157812cf5fa769688af1e71626d41ba249d56ac5cc6bcf4f4fc3a60fa4b5809320b SHA512 bd27d66b24b63584d1945fd29b08e4d8dcffd989b7285ec0d94559514da676cbb7cd6910453d553f859d501ce5a10bb90554574f0e435bbf6d4037d89d0dd4aa
 DIST OCRmyPDF-11.4.3.tar.gz 7883284 BLAKE2B e127dbb60bf18c152f9725fa097897aa5392c8db71f5540f3410e07327b6a7de4536d38ff6bda25eb29e3ced768ab86a9e6a6b5510f09dfa031dba4e0953cc92 SHA512 d40587a1e38b9f3adabb3c144fae0436eeab01f9c01de87c47e5b2b7fe1c5df85b9ade60daadff6177574d9933c61dad9df9602a5f46880a077991e2a9ab8ca4
+DIST OCRmyPDF-11.4.4.tar.gz 7883043 BLAKE2B 25d4f259c257884107c2fa76c2f662fc867528555ea47b3d3cabbbc3e9fd68bdb55ae4540556607ee31f534152b7c55076224c194e6299ab4bbd1b6f874752dc SHA512 198491f11764b68dc26877f73c815f1425b3bf730c5ada8319b1122ac525a3790e9e86a25b7965bf674197571960a76256984071e3f0b9a1507794dbb875340b

diff --git a/app-text/OCRmyPDF/OCRmyPDF-11.4.4.ebuild b/app-text/OCRmyPDF/OCRmyPDF-11.4.4.ebuild
new file mode 100644
index 00000000..bf5a296b
--- /dev/null
+++ b/app-text/OCRmyPDF/OCRmyPDF-11.4.4.ebuild
@@ -0,0 +1,67 @@
+# 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="GPL-3"
+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
+
+python_prepare_all() {
+	# do not depend on deprecated dep
+	sed -i -e '/pytest-runner/d' setup.py || die
+
+	distutils-r1_python_prepare_all
+}
+
+src_install() {
+	distutils-r1_src_install
+
+	newbashcomp "${S}"/misc/completion/ocrmypdf.bash "${PN,,}"
+
+	insinto /usr/share/fish/vendor_completions.d
+	doins "${S}"/misc/completion/ocrmypdf.fish
+}