From: "Julien Roy" <julien@jroy.ca>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: app-text/OCRmyPDF/
Date: Mon, 17 Jun 2024 23:08:21 +0000 (UTC) [thread overview]
Message-ID: <1718664908.9b7f5dd7a429322e7ac5cdc85ea786be81eb5cf8.julien@gentoo> (raw)
commit: 9b7f5dd7a429322e7ac5cdc85ea786be81eb5cf8
Author: Alarig Le Lay <alarig <AT> swordarmor <DOT> fr>
AuthorDate: Mon Jun 17 22:55:02 2024 +0000
Commit: Julien Roy <julien <AT> jroy <DOT> ca>
CommitDate: Mon Jun 17 22:55:08 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9b7f5dd7
app-text/OCRmyPDF: add 16.3.1
Signed-off-by: Alarig Le Lay <alarig <AT> swordarmor.fr>
app-text/OCRmyPDF/Manifest | 1 +
app-text/OCRmyPDF/OCRmyPDF-16.3.1.ebuild | 85 ++++++++++++++++++++++++++++++++
2 files changed, 86 insertions(+)
diff --git a/app-text/OCRmyPDF/Manifest b/app-text/OCRmyPDF/Manifest
index b0e2af3e6..e9a7596f7 100644
--- a/app-text/OCRmyPDF/Manifest
+++ b/app-text/OCRmyPDF/Manifest
@@ -1,2 +1,3 @@
DIST OCRmyPDF-14.1.0.tar.gz 6508692 BLAKE2B cb9eb2a782c0640d149047190c5d92a1cf6c183346ae34f0663c26b5d5ddba9bd7c1796c390d805c29443ef04e2d2c1cf7228469d4d3ee4fc0bf7e67214b084d SHA512 f68049e14416eb9b4a28436935c70b674e8dbe1c529d94c3a0b95e1d56f7b8e785ca29daf1183323510786bb04b2b9e963ff9021d3acab73aff5ff88393eb8d3
DIST OCRmyPDF-14.2.1.tar.gz 6510184 BLAKE2B db107170e5c7c8caac2518c9ec8b8fd24e3362ab257f9d2c601c90f2dd614ba08fdd389561def151188a72493c7cd7ae2e24d6cf20458661470ad4f8505ab17a SHA512 68a834325f2154e8fc8eccc1276dfca7fa04a44c5144f1d20b331bbf91625d5826f13652c05a433390b5cc5f9a821797ab0d8e7b0c05bcf5f7350b2077ed48ff
+DIST OCRmyPDF-16.3.1.tar.gz 6692005 BLAKE2B f884cfbf0f69b09c5e6fcf7c35922ee85ca1df2b6a7644def5f923777d58f85a221e368df5f870519788f9ee5296c81dfaa491703ab0bb67407fa4f04293a3d3 SHA512 2e7db0cc236475a4bb95695e0d2fb9617a74342ba45f10ed016a263237360f6053ee74fd78a2fc2a7f9c135e104413d886646c147e63cfa461e2321ba472cbd9
diff --git a/app-text/OCRmyPDF/OCRmyPDF-16.3.1.ebuild b/app-text/OCRmyPDF/OCRmyPDF-16.3.1.ebuild
new file mode 100644
index 000000000..8a3db17de
--- /dev/null
+++ b/app-text/OCRmyPDF/OCRmyPDF-16.3.1.ebuild
@@ -0,0 +1,85 @@
+# Copyright 2020-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{11..12} )
+
+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/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+RESTRICT=test
+
+LICENSE="CC-BY-SA-2.5 CC-BY-SA-4.0 MIT MPL-2.0 ZLIB"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+ >=app-text/ghostscript-gpl-10.01.2
+ >=app-text/pdfminer-20220319[${PYTHON_USEDEP}]
+ >=app-text/tesseract-4.1.1[jpeg,tiff,png,webp]
+ >=dev-python/coloredlogs-14.0[${PYTHON_USEDEP}]
+ >=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-10.0.1[lcms,${PYTHON_USEDEP}]
+ >=dev-python/pluggy-1.0[${PYTHON_USEDEP}]
+ >=dev-python/reportlab-3.5.66[${PYTHON_USEDEP}]
+ >=dev-python/tqdm-4[${PYTHON_USEDEP}]
+ >=media-gfx/img2pdf-0.3.0[${PYTHON_USEDEP}]
+ >=dev-python/rich-13.0[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ dev-python/setuptools-scm[${PYTHON_USEDEP}]
+ test? (
+ app-text/tessdata_fast[l10n_de,l10n_en]
+ >=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:2
+ >=media-libs/jbig2enc-0.29
+ media-libs/libxmp
+ >=media-gfx/pngquant-2.5
+ >=dev-python/pytest-6.2.5[${PYTHON_USEDEP}]
+ >=dev-python/pytest-cov-3.0.0[${PYTHON_USEDEP}]
+ >=dev-python/pytest-xdist-2.5.0[${PYTHON_USEDEP}]
+ >=dev-python/reportlab-3.6.8[${PYTHON_USEDEP}]
+ >=dev-python/coverage-6.2[${PYTHON_USEDEP}]
+ dev-python/humanfriendly[${PYTHON_USEDEP}]
+ )
+"
+
+EPYTEST_IGNORE=(
+ # useless test
+ tests/test_completion.py
+)
+
+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,,}"
+
+ dofishcomp 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
+}
next reply other threads:[~2024-06-17 23:08 UTC|newest]
Thread overview: 49+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-17 23:08 Julien Roy [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-10-14 11:30 [gentoo-commits] repo/proj/guru:dev commit in: app-text/OCRmyPDF/ Florian Schmaus
2024-10-14 11:30 ` [gentoo-commits] repo/proj/guru:master " Florian Schmaus
2024-10-14 11:30 [gentoo-commits] repo/proj/guru:dev " Florian Schmaus
2024-10-14 11:30 ` [gentoo-commits] repo/proj/guru:master " Florian Schmaus
2024-06-25 9:52 David Roman
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-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=1718664908.9b7f5dd7a429322e7ac5cdc85ea786be81eb5cf8.julien@gentoo \
--to=julien@jroy.ca \
--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