public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Andrew Ammerlaan" <andrewammerlaan@riseup.net>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: app-text/OCRmyPDF/
Date: Tue,  9 Feb 2021 14:46:14 +0000 (UTC)	[thread overview]
Message-ID: <1612751173.5624c81713ee766e07f9908dc4f509e32328d92b.andrewammerlaan@gentoo> (raw)

commit:     5624c81713ee766e07f9908dc4f509e32328d92b
Author:     Theo Anderson <telans <AT> posteo <DOT> de>
AuthorDate: Mon Feb  8 02:26:02 2021 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Mon Feb  8 02:26:13 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5624c817

app-text/OCRmyPDF: bump to 11.6.0

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

 app-text/OCRmyPDF/Manifest               |  1 +
 app-text/OCRmyPDF/OCRmyPDF-11.6.0.ebuild | 58 ++++++++++++++++++++++++++++++++
 app-text/OCRmyPDF/metadata.xml           |  2 +-
 3 files changed, 60 insertions(+), 1 deletion(-)

diff --git a/app-text/OCRmyPDF/Manifest b/app-text/OCRmyPDF/Manifest
index 7422812d..a55fe201 100644
--- a/app-text/OCRmyPDF/Manifest
+++ b/app-text/OCRmyPDF/Manifest
@@ -1,2 +1,3 @@
 DIST OCRmyPDF-11.4.5.tar.gz 7882974 BLAKE2B dd2c73e3aa78f0dadebcd25879aa315836e703bd089663a310af5b5231a03bf4cfe3acdbc4a658a99b92d585cd992134fdc1d3a12d7b2a74e205fe5b2ffa1b50 SHA512 4abf32733f520c0f8d99a9b1631d37ac339067b55756a9d9d4f0c182eca96f251ab7779d1c0af913891a57f3d103cc028ce3899dc263869ac6af3cf6f75e1ead
 DIST OCRmyPDF-11.5.0.tar.gz 7884615 BLAKE2B e0b298e011aa648b9d94febbead532d97af510e7281d1d0a8b828843627b9ad326a863e4bc7060a6fd746f114676449ea3575d94d60c30cf08873b06eb31b244 SHA512 e40d28a6b21e729077f34d3e1012965a3f162e4374c0e8c88acc05b143c14626829f25f2c91bb8995aca7609778fac78c91d89c6186109194fc1f211a3462e41
+DIST OCRmyPDF-11.6.0.tar.gz 7884950 BLAKE2B 408693ccb73e3c4c0298de27f2c8bff76ca50805a2dc1f84d25e8e5731d31631be238780a8b169d6d42c8a948b58d8708d95b0f0baf30d75deae4e4eac787106 SHA512 d77bbd5adb67a5e354162690665db62cd5baaa6f68443d2303f319d029c0a61b93d9363f5758fabf6d84959a8e07c164be7518f4bcc9f1d4d3408f116bc8caad

diff --git a/app-text/OCRmyPDF/OCRmyPDF-11.6.0.ebuild b/app-text/OCRmyPDF/OCRmyPDF-11.6.0.ebuild
new file mode 100644
index 00000000..ed5786c9
--- /dev/null
+++ b/app-text/OCRmyPDF/OCRmyPDF-11.6.0.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
+}

diff --git a/app-text/OCRmyPDF/metadata.xml b/app-text/OCRmyPDF/metadata.xml
index bb2748b2..411f0ece 100644
--- a/app-text/OCRmyPDF/metadata.xml
+++ b/app-text/OCRmyPDF/metadata.xml
@@ -11,7 +11,7 @@
 	</maintainer>
 	<use>
 		<flag name="jbig2enc">
-			Uses <pkg>media-libs/jbig2enc</pkg> for better compression algorithm
+			Uses <pkg>media-libs/jbig2enc</pkg> for a better compression algorithm
 		</flag>
 	</use>
 </pkgmetadata>


             reply	other threads:[~2021-02-09 14:46 UTC|newest]

Thread overview: 47+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-09 14:46 Andrew Ammerlaan [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-06-25  9:52 [gentoo-commits] repo/proj/guru:master commit in: app-text/OCRmyPDF/ David Roman
2024-06-17 23:08 Julien Roy
2024-06-17 23:08 Julien Roy
2023-06-07  7:04 Viorel Munteanu
2023-04-28 17:52 Arthur Zamarin
2023-04-13  7:02 Florian Schmaus
2023-02-06  8:21 Viorel Munteanu
2022-11-16 19:33 Florian Schmaus
2022-11-16 19:33 Florian Schmaus
2022-11-05 15:26 Arthur Zamarin
2022-11-01  2:55 Ronny Gutbrod
2022-11-01  2:55 Ronny Gutbrod
2022-10-29  5:54 Arthur Zamarin
2022-07-05  7:14 Florian Schmaus
2022-07-05  7:14 Florian Schmaus
2022-07-05  7:14 Florian Schmaus
2022-06-01 11:17 Andrew Ammerlaan
2022-06-01 11:17 Andrew Ammerlaan
2022-05-29 18:29 Andrew Ammerlaan
2022-03-25 11:24 Ronny Gutbrod
2022-02-23  0:33 Ronny Gutbrod
2022-02-01 10:38 Florian Schmaus
2021-07-03  9:59 Andrew Ammerlaan
2021-04-28  8:08 Andrew Ammerlaan
2021-04-28  8:08 Andrew Ammerlaan
2021-03-27 15:38 Andrew Ammerlaan
2021-03-02  9:02 Theo Anderson
2021-03-02  9:00 [gentoo-commits] repo/proj/guru:dev " Theo Anderson
2021-03-02  9:02 ` [gentoo-commits] repo/proj/guru:master " Theo Anderson
2021-02-16 21:10 Theo Anderson
2021-02-16 21:10 Theo Anderson
2021-02-09 14:46 Andrew Ammerlaan
2021-01-11  7:13 Andrew Ammerlaan
2021-01-11  7:13 Andrew Ammerlaan
2021-01-10 11:31 Andrew Ammerlaan
2021-01-10 11:31 Andrew Ammerlaan
2021-01-04  9:34 Andrew Ammerlaan
2021-01-04  9:34 Andrew Ammerlaan
2021-01-04  9:34 Andrew Ammerlaan
2021-01-01 13:14 Andrew Ammerlaan
2020-12-18 19:05 [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2020-12-18 19:05 ` [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
2020-04-16 19:45 Andrew Ammerlaan
2020-04-16 17:14 Andrew Ammerlaan
2020-04-16  9:59 Andrew Ammerlaan
2020-04-16  9:59 Andrew Ammerlaan
2020-04-16  9:59 Andrew Ammerlaan
2020-04-16  9:59 Andrew Ammerlaan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1612751173.5624c81713ee766e07f9908dc4f509e32328d92b.andrewammerlaan@gentoo \
    --to=andrewammerlaan@riseup.net \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox