public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Theo Anderson" <telans@posteo.de>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: app-text/OCRmyPDF/
Date: Sat, 26 Dec 2020 09:09:57 +0000 (UTC)	[thread overview]
Message-ID: <1608973778.61f2aae7af18c4a89ff7a1ec525c9d67abbabdab.telans@gentoo> (raw)

commit:     61f2aae7af18c4a89ff7a1ec525c9d67abbabdab
Author:     Theo Anderson <telans <AT> posteo <DOT> de>
AuthorDate: Sat Dec 26 08:41:36 2020 +0000
Commit:     Theo Anderson <telans <AT> posteo <DOT> de>
CommitDate: Sat Dec 26 09:09:38 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=61f2aae7

app-text/OCRmyPDF: bump to 11.4.1

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.1.ebuild | 68 ++++++++++++++++++++++++++++++++
 2 files changed, 69 insertions(+)

diff --git a/app-text/OCRmyPDF/Manifest b/app-text/OCRmyPDF/Manifest
index 14db1f0d..3e241f2b 100644
--- a/app-text/OCRmyPDF/Manifest
+++ b/app-text/OCRmyPDF/Manifest
@@ -1 +1,2 @@
 DIST OCRmyPDF-11.4.0.tar.gz 7880918 BLAKE2B 2031a0d8f5676d84be7e4d52a2b8457143dfb85248bc925d452ebe652190da0f34a464478a9cda8ed0650eeb5db5019f83530ea0b74b57079e1cab0e43a20b16 SHA512 f6ed03eacf3dd0aa554841b70e6b2fbb8a7cc7854723a4fb0a52b7b3fcf26387f9bb60b9db57f67af53a979edc66666a3dadbdd10c20fbb375cfaf46339e6737
+DIST OCRmyPDF-11.4.1.tar.gz 7880882 BLAKE2B 80bcce4775e9192cc23f0b9ed0ba8fcbb4b585c628b796f69b60d2e84bcf8157812cf5fa769688af1e71626d41ba249d56ac5cc6bcf4f4fc3a60fa4b5809320b SHA512 bd27d66b24b63584d1945fd29b08e4d8dcffd989b7285ec0d94559514da676cbb7cd6910453d553f859d501ce5a10bb90554574f0e435bbf6d4037d89d0dd4aa

diff --git a/app-text/OCRmyPDF/OCRmyPDF-11.4.1.ebuild b/app-text/OCRmyPDF/OCRmyPDF-11.4.1.ebuild
new file mode 100644
index 00000000..ce3eb17d
--- /dev/null
+++ b/app-text/OCRmyPDF/OCRmyPDF-11.4.1.ebuild
@@ -0,0 +1,68 @@
+# Copyright 2020 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"
+MY_GITHUB_AUTHOR="jbarlow83"
+SRC_URI="https://github.com/${MY_GITHUB_AUTHOR}/${PN}/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}]
+	jbig2enc? ( media-libs/jbig2enc )
+	media-gfx/img2pdf[${PYTHON_USEDEP}]
+	media-gfx/pngquant
+	media-libs/leptonica
+	virtual/python-cffi[${PYTHON_USEDEP}]
+"
+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
+}


             reply	other threads:[~2020-12-26  9:10 UTC|newest]

Thread overview: 56+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-26  9:09 Theo Anderson [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-06-23 10:23 [gentoo-commits] repo/proj/guru:dev commit in: app-text/OCRmyPDF/ Lucio Sauer
2024-06-17 22:58 Alarig Le Lay
2024-06-17 22:55 Alarig Le Lay
2023-06-06 18:01 Anna Vyalkova
2023-05-04  2:02 Anna Vyalkova
2023-04-28  7:06 Anna Vyalkova
2023-04-13  5:42 Jonas Frei
2023-02-05 19:31 Yuan Liao
2022-11-18  7:59 Anna Vyalkova
2022-11-17 22:21 Henri Gasc
2022-11-17 21:22 Anna Vyalkova
2022-11-16 15:09 Anna Vyalkova
2022-11-16 15:09 Anna Vyalkova
2022-11-04 19:43 Anna Vyalkova
2022-10-30 13:49 Anna Vyalkova
2022-10-30 13:49 Anna Vyalkova
2022-10-29  5:54 [gentoo-commits] repo/proj/guru:master " Arthur Zamarin
2022-10-29  5:51 ` [gentoo-commits] repo/proj/guru:dev " Arthur Zamarin
2022-10-25  4:12 Carlos Eduardo
2022-07-04 12:16 Theo Anderson
2022-07-04 12:16 Theo Anderson
2022-07-04 12:16 Theo Anderson
2022-06-01  5:03 Anna Vyalkova
2022-06-01  5:03 Anna Vyalkova
2022-05-29 16:18 Carlos Eduardo
2022-04-20 19:04 Alexandru Campeanu
2022-04-20 13:35 Carlos Eduardo
2022-03-20 19:19 Carlos Eduardo
2022-02-22 21:25 Carlos Eduardo
2022-01-29 22:43 Carlos Eduardo
2021-10-04  8:11 Theo Anderson
2021-07-02  7:59 Alarig Le Lay
2021-04-28  2:16 Theo Anderson
2021-04-28  2:16 Theo Anderson
2021-03-26 20:42 Theo Anderson
2021-03-02  9:02 [gentoo-commits] repo/proj/guru:master " Theo Anderson
2021-03-02  9:00 ` [gentoo-commits] repo/proj/guru:dev " Theo Anderson
2021-03-02  9:00 Theo Anderson
2021-02-16 21:10 [gentoo-commits] repo/proj/guru:master " Theo Anderson
2021-02-16  2:03 ` [gentoo-commits] repo/proj/guru:dev " Theo Anderson
2021-02-16 21:10 [gentoo-commits] repo/proj/guru:master " Theo Anderson
2021-02-16  2:03 ` [gentoo-commits] repo/proj/guru:dev " Theo Anderson
2021-02-08  3:02 Theo Anderson
2021-02-08  3:02 Theo Anderson
2021-01-11  5:27 Theo Anderson
2021-01-11  5:27 Theo Anderson
2021-01-08 21:18 Theo Anderson
2021-01-08 21:18 Theo Anderson
2021-01-04  5:39 Theo Anderson
2021-01-04  5:39 Theo Anderson
2021-01-04  5:39 Theo Anderson
2020-12-31  8:21 Theo Anderson
2020-12-18 19:05 Andrew Ammerlaan
2020-04-16 18:28 Alarig Le Lay
2020-04-16 17:14 [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
2020-04-16 17:13 ` [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2020-04-15 18:30 Alarig Le Lay
2020-04-15 18:30 Alarig Le Lay
2020-04-15 18:30 Alarig Le Lay
2020-04-15 17:33 Alarig Le Lay

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=1608973778.61f2aae7af18c4a89ff7a1ec525c9d67abbabdab.telans@gentoo \
    --to=telans@posteo.de \
    --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