[gentoo-commits] repo/proj/guru:master commit in: app-text/OCRmyPDF/

2023-06-07 Thread Viorel Munteanu
commit: 63c92e846af3afc3ec3704ec3716eac25fa7bdab
Author: Anna (cybertailor) Vyalkova  sysrq  in>
AuthorDate: Tue Jun  6 17:05:40 2023 +
Commit: Viorel Munteanu  gentoo  org>
CommitDate: Tue Jun  6 18:00:37 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=63c92e84

app-text/OCRmyPDF: add 14.2.1

Signed-off-by: Anna (cybertailor) Vyalkova  sysrq.in>

 app-text/OCRmyPDF/Manifest   |  1 +
 app-text/OCRmyPDF/OCRmyPDF-14.2.1.ebuild | 77 
 2 files changed, 78 insertions(+)

diff --git a/app-text/OCRmyPDF/Manifest b/app-text/OCRmyPDF/Manifest
index f5c8a89e7..b0e2af3e6 100644
--- a/app-text/OCRmyPDF/Manifest
+++ b/app-text/OCRmyPDF/Manifest
@@ -1 +1,2 @@
 DIST OCRmyPDF-14.1.0.tar.gz 6508692 BLAKE2B 
cb9eb2a782c0640d149047190c5d92a1cf6c183346ae34f0663c26b5d5ddba9bd7c1796c390d805c29443ef04e2d2c1cf7228469d4d3ee4fc0bf7e67214b084d
 SHA512 
f68049e14416eb9b4a28436935c70b674e8dbe1c529d94c3a0b95e1d56f7b8e785ca29daf1183323510786bb04b2b9e963ff9021d3acab73aff5ff88393eb8d3
+DIST OCRmyPDF-14.2.1.tar.gz 6510184 BLAKE2B 
db107170e5c7c8caac2518c9ec8b8fd24e3362ab257f9d2c601c90f2dd614ba08fdd389561def151188a72493c7cd7ae2e24d6cf20458661470ad4f8505ab17a
 SHA512 
68a834325f2154e8fc8eccc1276dfca7fa04a44c5144f1d20b331bbf91625d5826f13652c05a433390b5cc5f9a821797ab0d8e7b0c05bcf5f7350b2077ed48ff

diff --git a/app-text/OCRmyPDF/OCRmyPDF-14.2.1.ebuild 
b/app-text/OCRmyPDF/OCRmyPDF-14.2.1.ebuild
new file mode 100644
index 0..59dfdfe0a
--- /dev/null
+++ b/app-text/OCRmyPDF/OCRmyPDF-14.2.1.ebuild
@@ -0,0 +1,77 @@
+# Copyright 2020-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..11} )
+
+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"
+
+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-9.50
+   >=app-text/pdfminer-20201018[${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-8.2.0[lcms,${PYTHON_USEDEP}]
+   >=dev-python/pluggy-0.13.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}]
+"
+BDEPEND="
+   dev-python/setuptools-scm[${PYTHON_USEDEP}]
+   test? (
+   app-text/tessdata_fast[l10n_de,l10n_en]
+   >=app-text/unpaper-6.1
+   dev-python/hypothesis[${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
+   )
+"
+
+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
+}



[gentoo-commits] repo/proj/guru:master commit in: app-text/OCRmyPDF/

2023-04-28 Thread Arthur Zamarin
commit: 1d7c8b7d6ab72ec7214d3cf5f25db33889e9fd77
Author: Anna (cybertailor) Vyalkova  sysrq  in>
AuthorDate: Fri Apr 28 04:50:59 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Apr 28 05:21:24 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=1d7c8b7d

app-text/OCRmyPDF: add 14.1.0

Closes: https://bugs.gentoo.org/881703
Signed-off-by: Anna (cybertailor) Vyalkova  sysrq.in>

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

diff --git a/app-text/OCRmyPDF/Manifest b/app-text/OCRmyPDF/Manifest
index 3fe3cf033..16d46d32e 100644
--- a/app-text/OCRmyPDF/Manifest
+++ b/app-text/OCRmyPDF/Manifest
@@ -1 +1,2 @@
 DIST OCRmyPDF-14.0.1.tar.gz 6502713 BLAKE2B 
fc0a1b681bbc25f091f2262ec00c9ed638e38fae9042a1fa50efaff2af915279dffd6fb9b8db73dbced2adfb8d8bf4e66417f9cb5f6dd80c78a842bf6d20fbdd
 SHA512 
371e53bc6ff272b9b34029c7dad78e453d20c77995b5d61ceddac3b92f5f9496be726c8da8a07c75504a2a7626ba8cefb2f2d6e8288e093d5fd95ecd4546c8ce
+DIST OCRmyPDF-14.1.0.tar.gz 6508692 BLAKE2B 
cb9eb2a782c0640d149047190c5d92a1cf6c183346ae34f0663c26b5d5ddba9bd7c1796c390d805c29443ef04e2d2c1cf7228469d4d3ee4fc0bf7e67214b084d
 SHA512 
f68049e14416eb9b4a28436935c70b674e8dbe1c529d94c3a0b95e1d56f7b8e785ca29daf1183323510786bb04b2b9e963ff9021d3acab73aff5ff88393eb8d3

diff --git a/app-text/OCRmyPDF/OCRmyPDF-14.1.0.ebuild 
b/app-text/OCRmyPDF/OCRmyPDF-14.1.0.ebuild
new file mode 100644
index 0..2c6df65bb
--- /dev/null
+++ b/app-text/OCRmyPDF/OCRmyPDF-14.1.0.ebuild
@@ -0,0 +1,68 @@
+# Copyright 2020-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{9..11} )
+
+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"
+
+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-9.50
+   >=app-text/pdfminer-20201018[${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-8.2.0[lcms,${PYTHON_USEDEP}]
+   >=dev-python/pluggy-0.13.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}]
+"
+BDEPEND="
+   dev-python/setuptools-scm[${PYTHON_USEDEP}]
+   test? (
+   >=app-text/unpaper-6.1
+   dev-python/pytest-helpers-namespace[${PYTHON_USEDEP}]
+   >=dev-python/python-xmp-toolkit-2.0.1[${PYTHON_USEDEP}]
+   >=media-libs/jbig2enc-0.29
+   >=media-gfx/pngquant-2.5
+   )
+"
+
+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
+}



[gentoo-commits] repo/proj/guru:master commit in: app-text/OCRmyPDF/

2023-04-13 Thread Florian Schmaus
commit: ccb14ee4943ede49dd6e01e83c79929688a918a6
Author: Jonas Frei  pm  me>
AuthorDate: Thu Apr 13 05:37:10 2023 +
Commit: Florian Schmaus  gentoo  org>
CommitDate: Thu Apr 13 05:37:10 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ccb14ee4

app-text/OCRmyPDF: Make use of 'shell-completion' eclass

Signed-off-by: Jonas Frei  pm.me>

 app-text/OCRmyPDF/OCRmyPDF-14.0.1-r4.ebuild | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/app-text/OCRmyPDF/OCRmyPDF-14.0.1-r4.ebuild 
b/app-text/OCRmyPDF/OCRmyPDF-14.0.1-r4.ebuild
index 0561df0b5..59a7f5bd3 100644
--- a/app-text/OCRmyPDF/OCRmyPDF-14.0.1-r4.ebuild
+++ b/app-text/OCRmyPDF/OCRmyPDF-14.0.1-r4.ebuild
@@ -6,7 +6,7 @@ EAPI=8
 DISTUTILS_USE_PEP517=setuptools
 PYTHON_COMPAT=( python3_{9..10} )
 
-inherit bash-completion-r1 distutils-r1 optfeature
+inherit distutils-r1 optfeature shell-completion
 
 DESCRIPTION="OCRmyPDF adds an OCR text layer to scanned PDF files"
 HOMEPAGE="https://github.com/ocrmypdf/OCRmyPDF;
@@ -58,8 +58,7 @@ src_install() {
distutils-r1_src_install
newbashcomp misc/completion/ocrmypdf.bash "${PN,,}"
 
-   insinto /usr/share/fish/vendor_completions.d
-   doins misc/completion/ocrmypdf.fish
+   dofishcomp misc/completion/ocrmypdf.fish
 }
 
 pkg_postinst() {



[gentoo-commits] repo/proj/guru:master commit in: app-text/OCRmyPDF/

2023-02-06 Thread Viorel Munteanu
commit: 3298d34a5cddf143c025e430895ef51f867720da
Author: Yuan Liao  gmail  com>
AuthorDate: Sun Feb  5 19:21:04 2023 +
Commit: Viorel Munteanu  gentoo  org>
CommitDate: Sun Feb  5 19:21:04 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3298d34a

app-text/OCRmyPDF: Update Manifest

Upstream has been moved from github.com/OCRmyPDF to github.com/ocrmypdf,
which changed the distfile tarball's checksums.

Closes: https://bugs.gentoo.org/892866
Signed-off-by: Yuan Liao  gmail.com>

 app-text/OCRmyPDF/Manifest | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-text/OCRmyPDF/Manifest b/app-text/OCRmyPDF/Manifest
index 56c32500d..3fe3cf033 100644
--- a/app-text/OCRmyPDF/Manifest
+++ b/app-text/OCRmyPDF/Manifest
@@ -1 +1 @@
-DIST OCRmyPDF-14.0.1.tar.gz 6503040 BLAKE2B 
b54f5b7960c9f5303f4c2d0f8d949a7c3a813674a28f2166d89aaaf6e5203d94f0dee368846578a0ac554e35ed3cf9f479b907973b06e3e663c98ea700888b19
 SHA512 
6872ba20cfd455b5421a25e45b6a06f7aaa821c59d4825822dac0898989917752c1018d4477bfa3a106b2b036ce6cf511a16990cca4226a490ad2a97f8eb5229
+DIST OCRmyPDF-14.0.1.tar.gz 6502713 BLAKE2B 
fc0a1b681bbc25f091f2262ec00c9ed638e38fae9042a1fa50efaff2af915279dffd6fb9b8db73dbced2adfb8d8bf4e66417f9cb5f6dd80c78a842bf6d20fbdd
 SHA512 
371e53bc6ff272b9b34029c7dad78e453d20c77995b5d61ceddac3b92f5f9496be726c8da8a07c75504a2a7626ba8cefb2f2d6e8288e093d5fd95ecd4546c8ce



[gentoo-commits] repo/proj/guru:master commit in: app-text/OCRmyPDF/

2022-11-16 Thread Florian Schmaus
commit: 23dc71a1bfbe8aa01a6f3332aa2f0749cc543e0f
Author: Anna (cybertailor) Vyalkova  sysrq  in>
AuthorDate: Wed Nov 16 15:08:35 2022 +
Commit: Florian Schmaus  gentoo  org>
CommitDate: Wed Nov 16 15:08:35 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=23dc71a1

app-text/OCRmyPDF: add github upstream metadata

Signed-off-by: Anna (cybertailor) Vyalkova  sysrq.in>

 app-text/OCRmyPDF/metadata.xml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/app-text/OCRmyPDF/metadata.xml b/app-text/OCRmyPDF/metadata.xml
index 934947dfb..59b9697ff 100644
--- a/app-text/OCRmyPDF/metadata.xml
+++ b/app-text/OCRmyPDF/metadata.xml
@@ -9,4 +9,7 @@
tel...@posteo.de
James Beddek

+   
+   ocrmypdf/OCRmyPDF
+   
 



[gentoo-commits] repo/proj/guru:master commit in: app-text/OCRmyPDF/

2022-11-16 Thread Florian Schmaus
commit: c8062dba27fdc4bf0be3b1eb94c72455a64a3d2e
Author: Anna (cybertailor) Vyalkova  sysrq  in>
AuthorDate: Wed Nov 16 14:54:51 2022 +
Commit: Florian Schmaus  gentoo  org>
CommitDate: Wed Nov 16 14:54:51 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c8062dba

app-text/OCRmyPDF: require all image formats

Closes: https://bugs.gentoo.org/880011
Signed-off-by: Anna (cybertailor) Vyalkova  sysrq.in>

 .../OCRmyPDF/{OCRmyPDF-14.0.1-r2.ebuild => OCRmyPDF-14.0.1-r3.ebuild}  | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/app-text/OCRmyPDF/OCRmyPDF-14.0.1-r2.ebuild 
b/app-text/OCRmyPDF/OCRmyPDF-14.0.1-r3.ebuild
similarity index 96%
rename from app-text/OCRmyPDF/OCRmyPDF-14.0.1-r2.ebuild
rename to app-text/OCRmyPDF/OCRmyPDF-14.0.1-r3.ebuild
index c15e0a32d..9fcbcd939 100644
--- a/app-text/OCRmyPDF/OCRmyPDF-14.0.1-r2.ebuild
+++ b/app-text/OCRmyPDF/OCRmyPDF-14.0.1-r3.ebuild
@@ -15,12 +15,11 @@ 
SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
 LICENSE="CC-BY-SA-2.5 CC-BY-SA-4.0 MIT MPL-2.0 ZLIB"
 SLOT="0"
 KEYWORDS="~amd64"
-IUSE="jpeg png webp"
 
 RDEPEND="
>=app-text/ghostscript-gpl-9.50
>=app-text/pdfminer-20201018[${PYTHON_USEDEP}]
-   >=app-text/tesseract-4.1.1[jpeg?,tiff,png?,webp?]
+   >=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}]



[gentoo-commits] repo/proj/guru:master commit in: app-text/OCRmyPDF/

2022-11-05 Thread Arthur Zamarin
commit: 3ddaec13abe81b0110747332fda01149daeb0081
Author: Anna (cybertailor) Vyalkova  sysrq  in>
AuthorDate: Fri Nov  4 19:38:59 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Nov  4 19:43:43 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3ddaec13

app-text/OCRmyPDF: try to fix tests

Closes: https://bugs.gentoo.org/879103
Signed-off-by: Anna (cybertailor) Vyalkova  sysrq.in>

 .../{OCRmyPDF-14.0.1-r1.ebuild => OCRmyPDF-14.0.1-r2.ebuild} | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/app-text/OCRmyPDF/OCRmyPDF-14.0.1-r1.ebuild 
b/app-text/OCRmyPDF/OCRmyPDF-14.0.1-r2.ebuild
similarity index 92%
rename from app-text/OCRmyPDF/OCRmyPDF-14.0.1-r1.ebuild
rename to app-text/OCRmyPDF/OCRmyPDF-14.0.1-r2.ebuild
index dadc4dfa5..c15e0a32d 100644
--- a/app-text/OCRmyPDF/OCRmyPDF-14.0.1-r1.ebuild
+++ b/app-text/OCRmyPDF/OCRmyPDF-14.0.1-r2.ebuild
@@ -15,11 +15,12 @@ 
SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
 LICENSE="CC-BY-SA-2.5 CC-BY-SA-4.0 MIT MPL-2.0 ZLIB"
 SLOT="0"
 KEYWORDS="~amd64"
+IUSE="jpeg png webp"
 
 RDEPEND="
>=app-text/ghostscript-gpl-9.50
>=app-text/pdfminer-20201018[${PYTHON_USEDEP}]
-   >=app-text/tesseract-4.1.1
+   >=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}]
@@ -64,6 +65,6 @@ src_install() {
 
 pkg_postinst() {
optfeature "JBIG2 optimization support" media-libs/jbig2enc
-   optfeature "PNG optimization support" media-gfx/pngquant
optfeature "image cleaning support" app-text/unpaper
+   use png && optfeature "PNG optimization support" media-gfx/pngquant
 }



[gentoo-commits] repo/proj/guru:master commit in: app-text/OCRmyPDF/

2022-10-31 Thread Ronny Gutbrod
commit: d0da00f8e5381f4002886e6a5a3966768134ccf6
Author: Anna (cybertailor) Vyalkova  sysrq  in>
AuthorDate: Sun Oct 30 12:39:55 2022 +
Commit: Ronny Gutbrod  tastytea  de>
CommitDate: Sun Oct 30 13:09:17 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d0da00f8

app-text/OCRmyPDF: add missing deps and stuff

Closes: https://bugs.gentoo.org/878795
Closes: https://bugs.gentoo.org/862121
Signed-off-by: Anna (cybertailor) Vyalkova  sysrq.in>

 ...PDF-14.0.1.ebuild => OCRmyPDF-14.0.1-r1.ebuild} | 40 ++
 1 file changed, 25 insertions(+), 15 deletions(-)

diff --git a/app-text/OCRmyPDF/OCRmyPDF-14.0.1.ebuild 
b/app-text/OCRmyPDF/OCRmyPDF-14.0.1-r1.ebuild
similarity index 55%
rename from app-text/OCRmyPDF/OCRmyPDF-14.0.1.ebuild
rename to app-text/OCRmyPDF/OCRmyPDF-14.0.1-r1.ebuild
index 813f3f1f0..dadc4dfa5 100644
--- a/app-text/OCRmyPDF/OCRmyPDF-14.0.1.ebuild
+++ b/app-text/OCRmyPDF/OCRmyPDF-14.0.1-r1.ebuild
@@ -10,50 +10,60 @@ inherit bash-completion-r1 distutils-r1 optfeature
 
 DESCRIPTION="OCRmyPDF adds an OCR text layer to scanned PDF files"
 HOMEPAGE="https://github.com/ocrmypdf/OCRmyPDF;
-SRC_URI="https://github.com/ocrmypdf/OCRmyPDF/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
 
-LICENSE="MPL-2.0"
+LICENSE="CC-BY-SA-2.5 CC-BY-SA-4.0 MIT MPL-2.0 ZLIB"
 SLOT="0"
 KEYWORDS="~amd64"
-RESTRICT="test" # Exhausts RAM
 
 RDEPEND="
>=app-text/ghostscript-gpl-9.50
+   >=app-text/pdfminer-20201018[${PYTHON_USEDEP}]
>=app-text/tesseract-4.1.1
-   app-text/unpaper
-   dev-python/cffi[${PYTHON_USEDEP}]
-   >=dev-python/coloredlogs-15.0.1[${PYTHON_USEDEP}]
+   >=dev-python/coloredlogs-14.0[${PYTHON_USEDEP}]
+   >=dev-python/deprecation-2.1.0[${PYTHON_USEDEP}]
>=dev-python/packaging-20[${PYTHON_USEDEP}]
-   >dev-python/pdfminer-six-20200720[${PYTHON_USEDEP}]
-   >dev-python/pikepdf-5.0.0[${PYTHON_USEDEP}]
+   >dev-python/pikepdf-5.0.1[${PYTHON_USEDEP}]
>=dev-python/pillow-8.2.0[${PYTHON_USEDEP}]
>=dev-python/pluggy-0.13.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}]
-   media-gfx/pngquant
-   media-libs/leptonica
-   virtual/python-cffi[${PYTHON_USEDEP}]
 "
-DEPEND="
+BDEPEND="
+   dev-python/setuptools_scm[${PYTHON_USEDEP}]
test? (
+   >=app-text/unpaper-6.1
dev-python/pytest-helpers-namespace[${PYTHON_USEDEP}]
-   ~dev-python/python-xmp-toolkit-2.0.1[${PYTHON_USEDEP}]
+   >=dev-python/python-xmp-toolkit-2.0.1[${PYTHON_USEDEP}]
+   >=media-libs/jbig2enc-0.29
+   >=media-gfx/pngquant-2.5
)
 "
 
 distutils_enable_tests pytest
-distutils_enable_sphinx docs --no-autodoc
+
+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,,}"
+
insinto /usr/share/fish/vendor_completions.d
doins misc/completion/ocrmypdf.fish
 }
 
 pkg_postinst() {
-   optfeature "JBIG2 support" media-libs/jbig2enc
+   optfeature "JBIG2 optimization support" media-libs/jbig2enc
+   optfeature "PNG optimization support" media-gfx/pngquant
+   optfeature "image cleaning support" app-text/unpaper
 }



[gentoo-commits] repo/proj/guru:master commit in: app-text/OCRmyPDF/

2022-10-31 Thread Ronny Gutbrod
commit: 8c525d9d1033ef08f31b35341ba7d4ca003fcb74
Author: Anna (cybertailor) Vyalkova  sysrq  in>
AuthorDate: Sun Oct 30 12:04:28 2022 +
Commit: Ronny Gutbrod  tastytea  de>
CommitDate: Sun Oct 30 12:04:28 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=8c525d9d

app-text/OCRmyPDF: drop 13.4.6-r1, 13.6.0

Signed-off-by: Anna (cybertailor) Vyalkova  sysrq.in>

 app-text/OCRmyPDF/Manifest  |  2 -
 app-text/OCRmyPDF/OCRmyPDF-13.4.6-r1.ebuild | 59 -
 app-text/OCRmyPDF/OCRmyPDF-13.6.0.ebuild| 58 
 3 files changed, 119 deletions(-)

diff --git a/app-text/OCRmyPDF/Manifest b/app-text/OCRmyPDF/Manifest
index 5ddad5e2a..56c32500d 100644
--- a/app-text/OCRmyPDF/Manifest
+++ b/app-text/OCRmyPDF/Manifest
@@ -1,3 +1 @@
-DIST OCRmyPDF-13.4.6.tar.gz 7890082 BLAKE2B 
5d1fe4a0147dc7ca5bf5d1468e6cb23b57d436b80ec60b3cec9af4b1768af10fb387b724975e0c5e83aaa79806d4ba7a984fcf1d78f8bfaf97f42edfefa20f81
 SHA512 
fedf17630af21e94e45373aec45966cca2baa8abaca604a2a6820a74e62cf115bad376234b69dffad1ab26e50d5b891b1255026262512b518547f133f12c33d5
-DIST OCRmyPDF-13.6.0.tar.gz 7897382 BLAKE2B 
e05df2c44b32c1de17e7352f821c4bfb86dffad1c5bbb3440fab09b5172ba0bae99de4fe93039cf70e56f901a1afc0659f06c8760fb6f1b12edb7658a9b0cb7e
 SHA512 
d58b154dd6affd9ef69b1ff79b20daee7ac9021601a3db2b9d571410b179a826de09f4b68a4683724749856fd27e2cca608e150c94aeca8bfdbc8c4d11d22a20
 DIST OCRmyPDF-14.0.1.tar.gz 6503040 BLAKE2B 
b54f5b7960c9f5303f4c2d0f8d949a7c3a813674a28f2166d89aaaf6e5203d94f0dee368846578a0ac554e35ed3cf9f479b907973b06e3e663c98ea700888b19
 SHA512 
6872ba20cfd455b5421a25e45b6a06f7aaa821c59d4825822dac0898989917752c1018d4477bfa3a106b2b036ce6cf511a16990cca4226a490ad2a97f8eb5229

diff --git a/app-text/OCRmyPDF/OCRmyPDF-13.4.6-r1.ebuild 
b/app-text/OCRmyPDF/OCRmyPDF-13.4.6-r1.ebuild
deleted file mode 100644
index 6a22b6003..0
--- a/app-text/OCRmyPDF/OCRmyPDF-13.4.6-r1.ebuild
+++ /dev/null
@@ -1,59 +0,0 @@
-# Copyright 2020-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{8..10} )
-DISTUTILS_USE_SETUPTOOLS=rdepend
-
-inherit bash-completion-r1 distutils-r1 optfeature
-
-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"
-
-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"
-
-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-20200720[${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}]
-"
-DEPEND="
-   test? (
-   dev-python/pytest-helpers-namespace[${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
-}
-
-pkg_postinst() {
-   optfeature "JBIG2 support" media-libs/jbig2enc
-}

diff --git a/app-text/OCRmyPDF/OCRmyPDF-13.6.0.ebuild 
b/app-text/OCRmyPDF/OCRmyPDF-13.6.0.ebuild
deleted file mode 100644
index 923bd29e7..0
--- a/app-text/OCRmyPDF/OCRmyPDF-13.6.0.ebuild
+++ /dev/null
@@ -1,58 +0,0 @@
-# Copyright 2020-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{8..10} )
-
-inherit bash-completion-r1 distutils-r1 optfeature
-
-DESCRIPTION="OCRmyPDF adds an OCR text layer to scanned PDF files"
-HOMEPAGE="https://github.com/ocrmypdf/OCRmyPDF;
-SRC_URI="https://github.com/ocrmypdf/OCRmyPDF/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="MPL-2.0"
-SLOT="0"
-KEYWORDS="~amd64"
-RESTRICT="test" # Exhausts RAM
-
-RDEPEND="
-   app-text/ghostscript-gpl
-   app-text/tesseract
-   app-text/unpaper
-   dev-python/cffi[${PYTHON_USEDEP}]
-   >=dev-python/coloredlogs-15.0.1[${PYTHON_USEDEP}]
-   >=dev-python/packaging-20[${PYTHON_USEDEP}]
-   >dev-python/pdfminer-six-20200720[${PYTHON_USEDEP}]
-   >dev-python/pikepdf-5.0.0[${PYTHON_USEDEP}]
-   >=dev-python/pillow-8.2.0[${PYTHON_USEDEP}]
-   >=dev-python/pluggy-0.13.0[${PYTHON_USEDEP}]
-   

[gentoo-commits] repo/proj/guru:master commit in: app-text/OCRmyPDF/

2022-07-05 Thread Florian Schmaus
commit: 2fca7460b00323be79f923caf6ff82e5d0f6c727
Author: James Beddek  posteo  de>
AuthorDate: Mon Jul  4 11:59:54 2022 +
Commit: Florian Schmaus  gentoo  org>
CommitDate: Mon Jul  4 11:59:54 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2fca7460

app-text/OCRmyPDF: add 13.6.0

Signed-off-by: James Beddek  posteo.de>

 app-text/OCRmyPDF/Manifest   |  1 +
 app-text/OCRmyPDF/OCRmyPDF-13.6.0.ebuild | 58 
 2 files changed, 59 insertions(+)

diff --git a/app-text/OCRmyPDF/Manifest b/app-text/OCRmyPDF/Manifest
index 0d41e1813..625e70793 100644
--- a/app-text/OCRmyPDF/Manifest
+++ b/app-text/OCRmyPDF/Manifest
@@ -1,2 +1,3 @@
 DIST OCRmyPDF-13.4.3.tar.gz 7889740 BLAKE2B 
d107b83f0d66fe6d19cc22bf76851650cd75c79900eff2c1e68d02a15ffb875dfa97472f8a8e80fe7051a7a8d33b9729855277121ed2e204b50729b6171bde26
 SHA512 
301efe2492de00527cacb8640eea68bf3f5398ca53a932872f3c62ef85616fc45e2c08c662cb42cfca69c6e2b5debf8860b192421c4370e7191cea5dbc4bf32d
 DIST OCRmyPDF-13.4.6.tar.gz 7890082 BLAKE2B 
5d1fe4a0147dc7ca5bf5d1468e6cb23b57d436b80ec60b3cec9af4b1768af10fb387b724975e0c5e83aaa79806d4ba7a984fcf1d78f8bfaf97f42edfefa20f81
 SHA512 
fedf17630af21e94e45373aec45966cca2baa8abaca604a2a6820a74e62cf115bad376234b69dffad1ab26e50d5b891b1255026262512b518547f133f12c33d5
+DIST OCRmyPDF-13.6.0.tar.gz 7897382 BLAKE2B 
e05df2c44b32c1de17e7352f821c4bfb86dffad1c5bbb3440fab09b5172ba0bae99de4fe93039cf70e56f901a1afc0659f06c8760fb6f1b12edb7658a9b0cb7e
 SHA512 
d58b154dd6affd9ef69b1ff79b20daee7ac9021601a3db2b9d571410b179a826de09f4b68a4683724749856fd27e2cca608e150c94aeca8bfdbc8c4d11d22a20

diff --git a/app-text/OCRmyPDF/OCRmyPDF-13.6.0.ebuild 
b/app-text/OCRmyPDF/OCRmyPDF-13.6.0.ebuild
new file mode 100644
index 0..923bd29e7
--- /dev/null
+++ b/app-text/OCRmyPDF/OCRmyPDF-13.6.0.ebuild
@@ -0,0 +1,58 @@
+# Copyright 2020-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} )
+
+inherit bash-completion-r1 distutils-r1 optfeature
+
+DESCRIPTION="OCRmyPDF adds an OCR text layer to scanned PDF files"
+HOMEPAGE="https://github.com/ocrmypdf/OCRmyPDF;
+SRC_URI="https://github.com/ocrmypdf/OCRmyPDF/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="MPL-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+RESTRICT="test" # Exhausts RAM
+
+RDEPEND="
+   app-text/ghostscript-gpl
+   app-text/tesseract
+   app-text/unpaper
+   dev-python/cffi[${PYTHON_USEDEP}]
+   >=dev-python/coloredlogs-15.0.1[${PYTHON_USEDEP}]
+   >=dev-python/packaging-20[${PYTHON_USEDEP}]
+   >dev-python/pdfminer-six-20200720[${PYTHON_USEDEP}]
+   >dev-python/pikepdf-5.0.0[${PYTHON_USEDEP}]
+   >=dev-python/pillow-8.2.0[${PYTHON_USEDEP}]
+   >=dev-python/pluggy-0.13.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}]
+   media-gfx/pngquant
+   media-libs/leptonica
+   virtual/python-cffi[${PYTHON_USEDEP}]
+"
+DEPEND="
+   test? (
+   dev-python/pytest-helpers-namespace[${PYTHON_USEDEP}]
+   ~dev-python/python-xmp-toolkit-2.0.1[${PYTHON_USEDEP}]
+   )
+"
+
+distutils_enable_tests pytest
+distutils_enable_sphinx docs --no-autodoc
+
+export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
+
+src_install() {
+   distutils-r1_src_install
+   newbashcomp misc/completion/ocrmypdf.bash "${PN,,}"
+   insinto /usr/share/fish/vendor_completions.d
+   doins misc/completion/ocrmypdf.fish
+}
+
+pkg_postinst() {
+   optfeature "JBIG2 support" media-libs/jbig2enc
+}



[gentoo-commits] repo/proj/guru:master commit in: app-text/OCRmyPDF/

2022-07-05 Thread Florian Schmaus
commit: e1bd7ecb8679a76e2b820465c9fe04f05837d807
Author: James Beddek  posteo  de>
AuthorDate: Mon Jul  4 12:00:32 2022 +
Commit: Florian Schmaus  gentoo  org>
CommitDate: Mon Jul  4 12:00:32 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e1bd7ecb

app-text/OCRmyPDF: remove unused USE definition

Signed-off-by: James Beddek  posteo.de>

 app-text/OCRmyPDF/metadata.xml | 5 -
 1 file changed, 5 deletions(-)

diff --git a/app-text/OCRmyPDF/metadata.xml b/app-text/OCRmyPDF/metadata.xml
index 3e488937b..934947dfb 100644
--- a/app-text/OCRmyPDF/metadata.xml
+++ b/app-text/OCRmyPDF/metadata.xml
@@ -9,9 +9,4 @@
tel...@posteo.de
James Beddek

-   
-   
-   Uses media-libs/jbig2enc for a better 
compression algorithm
-   
-   
 



[gentoo-commits] repo/proj/guru:master commit in: app-text/OCRmyPDF/

2022-07-05 Thread Florian Schmaus
commit: 5abd3f324fb67b7b722eed9d5da80d265672adfb
Author: James Beddek  posteo  de>
AuthorDate: Mon Jul  4 12:00:07 2022 +
Commit: Florian Schmaus  gentoo  org>
CommitDate: Mon Jul  4 12:00:07 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5abd3f32

app-text/OCRmyPDF: drop 13.4.3

Signed-off-by: James Beddek  posteo.de>

 app-text/OCRmyPDF/Manifest   |  1 -
 app-text/OCRmyPDF/OCRmyPDF-13.4.3.ebuild | 57 
 2 files changed, 58 deletions(-)

diff --git a/app-text/OCRmyPDF/Manifest b/app-text/OCRmyPDF/Manifest
index 625e70793..26cc3a9d4 100644
--- a/app-text/OCRmyPDF/Manifest
+++ b/app-text/OCRmyPDF/Manifest
@@ -1,3 +1,2 @@
-DIST OCRmyPDF-13.4.3.tar.gz 7889740 BLAKE2B 
d107b83f0d66fe6d19cc22bf76851650cd75c79900eff2c1e68d02a15ffb875dfa97472f8a8e80fe7051a7a8d33b9729855277121ed2e204b50729b6171bde26
 SHA512 
301efe2492de00527cacb8640eea68bf3f5398ca53a932872f3c62ef85616fc45e2c08c662cb42cfca69c6e2b5debf8860b192421c4370e7191cea5dbc4bf32d
 DIST OCRmyPDF-13.4.6.tar.gz 7890082 BLAKE2B 
5d1fe4a0147dc7ca5bf5d1468e6cb23b57d436b80ec60b3cec9af4b1768af10fb387b724975e0c5e83aaa79806d4ba7a984fcf1d78f8bfaf97f42edfefa20f81
 SHA512 
fedf17630af21e94e45373aec45966cca2baa8abaca604a2a6820a74e62cf115bad376234b69dffad1ab26e50d5b891b1255026262512b518547f133f12c33d5
 DIST OCRmyPDF-13.6.0.tar.gz 7897382 BLAKE2B 
e05df2c44b32c1de17e7352f821c4bfb86dffad1c5bbb3440fab09b5172ba0bae99de4fe93039cf70e56f901a1afc0659f06c8760fb6f1b12edb7658a9b0cb7e
 SHA512 
d58b154dd6affd9ef69b1ff79b20daee7ac9021601a3db2b9d571410b179a826de09f4b68a4683724749856fd27e2cca608e150c94aeca8bfdbc8c4d11d22a20

diff --git a/app-text/OCRmyPDF/OCRmyPDF-13.4.3.ebuild 
b/app-text/OCRmyPDF/OCRmyPDF-13.4.3.ebuild
deleted file mode 100644
index 5539447dc..0
--- a/app-text/OCRmyPDF/OCRmyPDF-13.4.3.ebuild
+++ /dev/null
@@ -1,57 +0,0 @@
-# Copyright 2020-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{7,8,9,10} )
-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/ocrmypdf/OCRmyPDF;
-SRC_URI="https://github.com/ocrmypdf/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-20200720[${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
-}



[gentoo-commits] repo/proj/guru:master commit in: app-text/OCRmyPDF/

2022-06-01 Thread Andrew Ammerlaan
commit: 608f81933ffd462a0074c713f411f087be046c99
Author: Anna (cybertailor) Vyalkova  sysrq  in>
AuthorDate: Wed Jun  1 04:56:22 2022 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Wed Jun  1 05:02:50 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=608f8193

app-text/OCRmyPDF: fix deps

Closes: https://bugs.gentoo.org/816729
Closes: https://bugs.gentoo.org/836141
Signed-off-by: Anna (cybertailor) Vyalkova  sysrq.in>

 .../{OCRmyPDF-13.4.6.ebuild => OCRmyPDF-13.4.6-r1.ebuild}| 12 +++-
 1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/app-text/OCRmyPDF/OCRmyPDF-13.4.6.ebuild 
b/app-text/OCRmyPDF/OCRmyPDF-13.4.6-r1.ebuild
similarity index 85%
rename from app-text/OCRmyPDF/OCRmyPDF-13.4.6.ebuild
rename to app-text/OCRmyPDF/OCRmyPDF-13.4.6-r1.ebuild
index 0692a0bae..6a22b6003 100644
--- a/app-text/OCRmyPDF/OCRmyPDF-13.4.6.ebuild
+++ b/app-text/OCRmyPDF/OCRmyPDF-13.4.6-r1.ebuild
@@ -6,11 +6,11 @@ EAPI=8
 PYTHON_COMPAT=( python3_{8..10} )
 DISTUTILS_USE_SETUPTOOLS=rdepend
 
-inherit bash-completion-r1 distutils-r1
+inherit bash-completion-r1 distutils-r1 optfeature
 
 DESCRIPTION="OCRmyPDF adds an OCR text layer to scanned PDF files"
 HOMEPAGE="https://github.com/ocrmypdf/OCRmyPDF;
-SRC_URI="https://github.com/ocrmypdf/OCRmyPDF/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="MPL-2.0"
 SLOT="0"
@@ -18,7 +18,6 @@ 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
@@ -36,17 +35,16 @@ RDEPEND="
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() {
@@ -55,3 +53,7 @@ src_install() {
insinto /usr/share/fish/vendor_completions.d
doins misc/completion/ocrmypdf.fish
 }
+
+pkg_postinst() {
+   optfeature "JBIG2 support" media-libs/jbig2enc
+}



[gentoo-commits] repo/proj/guru:master commit in: app-text/OCRmyPDF/

2022-06-01 Thread Andrew Ammerlaan
commit: 302e47d59e29310e2143e3f959c720c94ef41f08
Author: Anna (cybertailor) Vyalkova  sysrq  in>
AuthorDate: Wed Jun  1 04:50:42 2022 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Wed Jun  1 05:02:49 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=302e47d5

app-text/OCRmyPDF: drop 13.2.0, 13.4.0, 13.4.1

Signed-off-by: Anna (cybertailor) Vyalkova  sysrq.in>

 app-text/OCRmyPDF/Manifest   |  3 --
 app-text/OCRmyPDF/OCRmyPDF-13.2.0.ebuild | 58 
 app-text/OCRmyPDF/OCRmyPDF-13.4.0.ebuild | 58 
 app-text/OCRmyPDF/OCRmyPDF-13.4.1.ebuild | 58 
 4 files changed, 177 deletions(-)

diff --git a/app-text/OCRmyPDF/Manifest b/app-text/OCRmyPDF/Manifest
index 782ea2702..0d41e1813 100644
--- a/app-text/OCRmyPDF/Manifest
+++ b/app-text/OCRmyPDF/Manifest
@@ -1,5 +1,2 @@
-DIST OCRmyPDF-13.2.0.tar.gz 7885396 BLAKE2B 
0eea864d056d2238f7ea244a7fc9b6a548409caf9264349be2e0d5be5dea7ddc474f5e95ce92ad926992e42b27cdedf77005d124782374be5b6606a01338aa69
 SHA512 
476924ad440042fb75a9cd56fb90a93b636fc805393087952d704602f92bd0d33ed5701b45ed037b312874800857da784b367eaea3858dc0b38e4b1d49417e52
-DIST OCRmyPDF-13.4.0.tar.gz 7889193 BLAKE2B 
42923508524df38ed62f1a0c4d6b308dac8e00a44b428dee2dd5494915778910e434d5bf8a5957fe48685c0263b3151044794b14cbc209e4a3909da1e2411fe3
 SHA512 
1b581ba469e0f625481c551d9b53c553745a02c748bd2e16bd7a589f4eacfd3f21ba5d435b52286694220627de0d3d7202513191ee5e1e04b7bdd392d0abc5cd
-DIST OCRmyPDF-13.4.1.tar.gz 7888750 BLAKE2B 
178954136f797f166a37db602b302cf50752010504b934b6633b0b2f52f2fb57e88995b3ffbb534990857698fa63c9966a92babaf9bcb7e3833e4f6f3d325e15
 SHA512 
c65dd1d6dc957fbfff7926241c4b887146d3efbf1181dd9bc43fca464ebc07e1507425e90af72311e89fe1ed75ee1e293600d6f7f538f7a5ee8dd8998173c972
 DIST OCRmyPDF-13.4.3.tar.gz 7889740 BLAKE2B 
d107b83f0d66fe6d19cc22bf76851650cd75c79900eff2c1e68d02a15ffb875dfa97472f8a8e80fe7051a7a8d33b9729855277121ed2e204b50729b6171bde26
 SHA512 
301efe2492de00527cacb8640eea68bf3f5398ca53a932872f3c62ef85616fc45e2c08c662cb42cfca69c6e2b5debf8860b192421c4370e7191cea5dbc4bf32d
 DIST OCRmyPDF-13.4.6.tar.gz 7890082 BLAKE2B 
5d1fe4a0147dc7ca5bf5d1468e6cb23b57d436b80ec60b3cec9af4b1768af10fb387b724975e0c5e83aaa79806d4ba7a984fcf1d78f8bfaf97f42edfefa20f81
 SHA512 
fedf17630af21e94e45373aec45966cca2baa8abaca604a2a6820a74e62cf115bad376234b69dffad1ab26e50d5b891b1255026262512b518547f133f12c33d5

diff --git a/app-text/OCRmyPDF/OCRmyPDF-13.2.0.ebuild 
b/app-text/OCRmyPDF/OCRmyPDF-13.2.0.ebuild
deleted file mode 100644
index ec16fef12..0
--- a/app-text/OCRmyPDF/OCRmyPDF-13.2.0.ebuild
+++ /dev/null
@@ -1,58 +0,0 @@
-# Copyright 2020-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{7,8,9} )
-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/OCRmyPDF-13.4.0.ebuild 
b/app-text/OCRmyPDF/OCRmyPDF-13.4.0.ebuild
deleted file mode 100644
index ec16fef12..0
--- a/app-text/OCRmyPDF/OCRmyPDF-13.4.0.ebuild
+++ /dev/null
@@ -1,58 +0,0 @@
-# Copyright 2020-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{7,8,9} )
-DISTUTILS_USE_SETUPTOOLS=rdepend
-
-inherit 

[gentoo-commits] repo/proj/guru:master commit in: app-text/OCRmyPDF/

2022-05-29 Thread Andrew Ammerlaan
commit: bbb0524ea630dc07393c7bce53a44f9422af363c
Author: Carlos Eduardo  gmail  com>
AuthorDate: Sun May 29 16:18:22 2022 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Sun May 29 16:18:22 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=bbb0524e

app-text/OCRmyPDF: add 13.4.6

Signed-off-by: Carlos Eduardo  gmail.com>

 app-text/OCRmyPDF/Manifest   |  1 +
 app-text/OCRmyPDF/OCRmyPDF-13.4.6.ebuild | 57 
 2 files changed, 58 insertions(+)

diff --git a/app-text/OCRmyPDF/Manifest b/app-text/OCRmyPDF/Manifest
index 736bb91da..782ea2702 100644
--- a/app-text/OCRmyPDF/Manifest
+++ b/app-text/OCRmyPDF/Manifest
@@ -2,3 +2,4 @@ DIST OCRmyPDF-13.2.0.tar.gz 7885396 BLAKE2B 
0eea864d056d2238f7ea244a7fc9b6a54840
 DIST OCRmyPDF-13.4.0.tar.gz 7889193 BLAKE2B 
42923508524df38ed62f1a0c4d6b308dac8e00a44b428dee2dd5494915778910e434d5bf8a5957fe48685c0263b3151044794b14cbc209e4a3909da1e2411fe3
 SHA512 
1b581ba469e0f625481c551d9b53c553745a02c748bd2e16bd7a589f4eacfd3f21ba5d435b52286694220627de0d3d7202513191ee5e1e04b7bdd392d0abc5cd
 DIST OCRmyPDF-13.4.1.tar.gz 7888750 BLAKE2B 
178954136f797f166a37db602b302cf50752010504b934b6633b0b2f52f2fb57e88995b3ffbb534990857698fa63c9966a92babaf9bcb7e3833e4f6f3d325e15
 SHA512 
c65dd1d6dc957fbfff7926241c4b887146d3efbf1181dd9bc43fca464ebc07e1507425e90af72311e89fe1ed75ee1e293600d6f7f538f7a5ee8dd8998173c972
 DIST OCRmyPDF-13.4.3.tar.gz 7889740 BLAKE2B 
d107b83f0d66fe6d19cc22bf76851650cd75c79900eff2c1e68d02a15ffb875dfa97472f8a8e80fe7051a7a8d33b9729855277121ed2e204b50729b6171bde26
 SHA512 
301efe2492de00527cacb8640eea68bf3f5398ca53a932872f3c62ef85616fc45e2c08c662cb42cfca69c6e2b5debf8860b192421c4370e7191cea5dbc4bf32d
+DIST OCRmyPDF-13.4.6.tar.gz 7890082 BLAKE2B 
5d1fe4a0147dc7ca5bf5d1468e6cb23b57d436b80ec60b3cec9af4b1768af10fb387b724975e0c5e83aaa79806d4ba7a984fcf1d78f8bfaf97f42edfefa20f81
 SHA512 
fedf17630af21e94e45373aec45966cca2baa8abaca604a2a6820a74e62cf115bad376234b69dffad1ab26e50d5b891b1255026262512b518547f133f12c33d5

diff --git a/app-text/OCRmyPDF/OCRmyPDF-13.4.6.ebuild 
b/app-text/OCRmyPDF/OCRmyPDF-13.4.6.ebuild
new file mode 100644
index 0..0692a0bae
--- /dev/null
+++ b/app-text/OCRmyPDF/OCRmyPDF-13.4.6.ebuild
@@ -0,0 +1,57 @@
+# Copyright 2020-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} )
+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/ocrmypdf/OCRmyPDF;
+SRC_URI="https://github.com/ocrmypdf/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-20200720[${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
+}



[gentoo-commits] repo/proj/guru:master commit in: app-text/OCRmyPDF/

2022-03-25 Thread Ronny Gutbrod
commit: 645c88ddc1ca41ffbb337b2c62dba39c5cd781ad
Author: Carlos Eduardo  gmail  com>
AuthorDate: Sun Mar 20 19:17:49 2022 +
Commit: Ronny Gutbrod  tastytea  de>
CommitDate: Sun Mar 20 19:17:49 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=645c88dd

app-text/OCRmyPDF: bump to 13.4.1

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Carlos Eduardo  gmail.com>

 app-text/OCRmyPDF/Manifest   |  1 +
 app-text/OCRmyPDF/OCRmyPDF-13.4.1.ebuild | 58 
 2 files changed, 59 insertions(+)

diff --git a/app-text/OCRmyPDF/Manifest b/app-text/OCRmyPDF/Manifest
index 829604781..f095dd87b 100644
--- a/app-text/OCRmyPDF/Manifest
+++ b/app-text/OCRmyPDF/Manifest
@@ -2,3 +2,4 @@ DIST OCRmyPDF-12.0.2.tar.gz 7895055 BLAKE2B 
4fab449f9edf8788c74773da0e73adca9dc6
 DIST OCRmyPDF-12.6.0.tar.gz 7897200 BLAKE2B 
e183280e11414a7b2bedd339e971f1c74697d9847771e24592207e5bfe82af184544576c067856cdee9d8409bdca856e8aeb48c8e5b4e32154b69111fba2d775
 SHA512 
0792fccec7ecdfc93a02c4e29d0c88076c191aed3a2848c4db5d6b18ad4837a24e325dfc961aaa7c68407de7dd471e45e7b6389d6cf8f9465fe3892038696e97
 DIST OCRmyPDF-13.2.0.tar.gz 7885396 BLAKE2B 
0eea864d056d2238f7ea244a7fc9b6a548409caf9264349be2e0d5be5dea7ddc474f5e95ce92ad926992e42b27cdedf77005d124782374be5b6606a01338aa69
 SHA512 
476924ad440042fb75a9cd56fb90a93b636fc805393087952d704602f92bd0d33ed5701b45ed037b312874800857da784b367eaea3858dc0b38e4b1d49417e52
 DIST OCRmyPDF-13.4.0.tar.gz 7889193 BLAKE2B 
42923508524df38ed62f1a0c4d6b308dac8e00a44b428dee2dd5494915778910e434d5bf8a5957fe48685c0263b3151044794b14cbc209e4a3909da1e2411fe3
 SHA512 
1b581ba469e0f625481c551d9b53c553745a02c748bd2e16bd7a589f4eacfd3f21ba5d435b52286694220627de0d3d7202513191ee5e1e04b7bdd392d0abc5cd
+DIST OCRmyPDF-13.4.1.tar.gz 7888750 BLAKE2B 
178954136f797f166a37db602b302cf50752010504b934b6633b0b2f52f2fb57e88995b3ffbb534990857698fa63c9966a92babaf9bcb7e3833e4f6f3d325e15
 SHA512 
c65dd1d6dc957fbfff7926241c4b887146d3efbf1181dd9bc43fca464ebc07e1507425e90af72311e89fe1ed75ee1e293600d6f7f538f7a5ee8dd8998173c972

diff --git a/app-text/OCRmyPDF/OCRmyPDF-13.4.1.ebuild 
b/app-text/OCRmyPDF/OCRmyPDF-13.4.1.ebuild
new file mode 100644
index 0..ec16fef12
--- /dev/null
+++ b/app-text/OCRmyPDF/OCRmyPDF-13.4.1.ebuild
@@ -0,0 +1,58 @@
+# Copyright 2020-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{7,8,9} )
+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
+}



[gentoo-commits] repo/proj/guru:master commit in: app-text/OCRmyPDF/

2022-02-22 Thread Ronny Gutbrod
commit: 685a9bc05472da434eb121ddd9ff4941c2322499
Author: Carlos Eduardo  gmail  com>
AuthorDate: Tue Feb 22 21:25:32 2022 +
Commit: Ronny Gutbrod  tastytea  de>
CommitDate: Tue Feb 22 21:25:32 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=685a9bc0

app-text/OCRmyPDF: add 13.4.0

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Carlos Eduardo  gmail.com>

 app-text/OCRmyPDF/Manifest   |  1 +
 app-text/OCRmyPDF/OCRmyPDF-13.4.0.ebuild | 58 
 2 files changed, 59 insertions(+)

diff --git a/app-text/OCRmyPDF/Manifest b/app-text/OCRmyPDF/Manifest
index 8680e73f5..829604781 100644
--- a/app-text/OCRmyPDF/Manifest
+++ b/app-text/OCRmyPDF/Manifest
@@ -1,3 +1,4 @@
 DIST OCRmyPDF-12.0.2.tar.gz 7895055 BLAKE2B 
4fab449f9edf8788c74773da0e73adca9dc686afcbc69d9d6263049044b202744244eab4f4d6e5596461c55d399320a5e7604c6a8080c0d6a05ea6df15314eac
 SHA512 
8bc749353d88dd1e0b2fbd313ba45fa5bf79b70c0366bde21dbe457ce269d02bea64e797e73b823fe9c02b2bd18f181f6cea414306ab1470e244e4201f86781a
 DIST OCRmyPDF-12.6.0.tar.gz 7897200 BLAKE2B 
e183280e11414a7b2bedd339e971f1c74697d9847771e24592207e5bfe82af184544576c067856cdee9d8409bdca856e8aeb48c8e5b4e32154b69111fba2d775
 SHA512 
0792fccec7ecdfc93a02c4e29d0c88076c191aed3a2848c4db5d6b18ad4837a24e325dfc961aaa7c68407de7dd471e45e7b6389d6cf8f9465fe3892038696e97
 DIST OCRmyPDF-13.2.0.tar.gz 7885396 BLAKE2B 
0eea864d056d2238f7ea244a7fc9b6a548409caf9264349be2e0d5be5dea7ddc474f5e95ce92ad926992e42b27cdedf77005d124782374be5b6606a01338aa69
 SHA512 
476924ad440042fb75a9cd56fb90a93b636fc805393087952d704602f92bd0d33ed5701b45ed037b312874800857da784b367eaea3858dc0b38e4b1d49417e52
+DIST OCRmyPDF-13.4.0.tar.gz 7889193 BLAKE2B 
42923508524df38ed62f1a0c4d6b308dac8e00a44b428dee2dd5494915778910e434d5bf8a5957fe48685c0263b3151044794b14cbc209e4a3909da1e2411fe3
 SHA512 
1b581ba469e0f625481c551d9b53c553745a02c748bd2e16bd7a589f4eacfd3f21ba5d435b52286694220627de0d3d7202513191ee5e1e04b7bdd392d0abc5cd

diff --git a/app-text/OCRmyPDF/OCRmyPDF-13.4.0.ebuild 
b/app-text/OCRmyPDF/OCRmyPDF-13.4.0.ebuild
new file mode 100644
index 0..ec16fef12
--- /dev/null
+++ b/app-text/OCRmyPDF/OCRmyPDF-13.4.0.ebuild
@@ -0,0 +1,58 @@
+# Copyright 2020-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{7,8,9} )
+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
+}



[gentoo-commits] repo/proj/guru:master commit in: app-text/OCRmyPDF/

2022-02-01 Thread Florian Schmaus
commit: fdeb1562163d8942513011b1c247561e0471089f
Author: Carlos Eduardo  gmail  com>
AuthorDate: Sat Jan 29 22:43:09 2022 +
Commit: Florian Schmaus  gentoo  org>
CommitDate: Sat Jan 29 22:43:09 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=fdeb1562

app-text/OCRmyPDF: add 13.2.0

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Carlos Eduardo  gmail.com>

 app-text/OCRmyPDF/Manifest   |  1 +
 app-text/OCRmyPDF/OCRmyPDF-13.2.0.ebuild | 58 
 2 files changed, 59 insertions(+)

diff --git a/app-text/OCRmyPDF/Manifest b/app-text/OCRmyPDF/Manifest
index ad570a2cb..8680e73f5 100644
--- a/app-text/OCRmyPDF/Manifest
+++ b/app-text/OCRmyPDF/Manifest
@@ -1,2 +1,3 @@
 DIST OCRmyPDF-12.0.2.tar.gz 7895055 BLAKE2B 
4fab449f9edf8788c74773da0e73adca9dc686afcbc69d9d6263049044b202744244eab4f4d6e5596461c55d399320a5e7604c6a8080c0d6a05ea6df15314eac
 SHA512 
8bc749353d88dd1e0b2fbd313ba45fa5bf79b70c0366bde21dbe457ce269d02bea64e797e73b823fe9c02b2bd18f181f6cea414306ab1470e244e4201f86781a
 DIST OCRmyPDF-12.6.0.tar.gz 7897200 BLAKE2B 
e183280e11414a7b2bedd339e971f1c74697d9847771e24592207e5bfe82af184544576c067856cdee9d8409bdca856e8aeb48c8e5b4e32154b69111fba2d775
 SHA512 
0792fccec7ecdfc93a02c4e29d0c88076c191aed3a2848c4db5d6b18ad4837a24e325dfc961aaa7c68407de7dd471e45e7b6389d6cf8f9465fe3892038696e97
+DIST OCRmyPDF-13.2.0.tar.gz 7885396 BLAKE2B 
0eea864d056d2238f7ea244a7fc9b6a548409caf9264349be2e0d5be5dea7ddc474f5e95ce92ad926992e42b27cdedf77005d124782374be5b6606a01338aa69
 SHA512 
476924ad440042fb75a9cd56fb90a93b636fc805393087952d704602f92bd0d33ed5701b45ed037b312874800857da784b367eaea3858dc0b38e4b1d49417e52

diff --git a/app-text/OCRmyPDF/OCRmyPDF-13.2.0.ebuild 
b/app-text/OCRmyPDF/OCRmyPDF-13.2.0.ebuild
new file mode 100644
index 0..ec16fef12
--- /dev/null
+++ b/app-text/OCRmyPDF/OCRmyPDF-13.2.0.ebuild
@@ -0,0 +1,58 @@
+# Copyright 2020-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{7,8,9} )
+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
+}



[gentoo-commits] repo/proj/guru:master commit in: app-text/OCRmyPDF/

2021-07-03 Thread Andrew Ammerlaan
commit: 3fa87d068a0d560c4d9bbb76121f074a860494d7
Author: Alarig Le Lay  swordarmor  fr>
AuthorDate: Fri Jul  2 07:59:08 2021 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Fri Jul  2 07:59:08 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3fa87d06

app-text/OCRmyPDF: Fixing manifest

Closes: https://bugs.gentoo.org/799716
Package-Manager: Portage-3.0.18, Repoman-3.0.2
Signed-off-by: Alarig Le Lay  swordarmor.fr>

 app-text/OCRmyPDF/Manifest | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-text/OCRmyPDF/Manifest b/app-text/OCRmyPDF/Manifest
index 8df7877a2..1c431256e 100644
--- a/app-text/OCRmyPDF/Manifest
+++ b/app-text/OCRmyPDF/Manifest
@@ -1 +1 @@
-DIST OCRmyPDF-12.0.2.tar.gz 7895022 BLAKE2B 
4dae3e78f8f5c6b6008cb7b86393523e19b6bc3ea505ee7abb71c68df76c646cd9cad14e688626d6f41b99a93816b93d78f266e91c4583385a5a55169493ad5c
 SHA512 
05fd4cb4a67c01f8ad16b13d30d675173ca8e2cd94ffb5ef73051784e09a82ce0e0953bed04a11efd30f00c665523200563af25d559d2e034fee6f78c6728d9b
+DIST OCRmyPDF-12.0.2.tar.gz 7895055 BLAKE2B 
4fab449f9edf8788c74773da0e73adca9dc686afcbc69d9d6263049044b202744244eab4f4d6e5596461c55d399320a5e7604c6a8080c0d6a05ea6df15314eac
 SHA512 
8bc749353d88dd1e0b2fbd313ba45fa5bf79b70c0366bde21dbe457ce269d02bea64e797e73b823fe9c02b2bd18f181f6cea414306ab1470e244e4201f86781a



[gentoo-commits] repo/proj/guru:master commit in: app-text/OCRmyPDF/

2021-04-28 Thread Andrew Ammerlaan
commit: e29da84bc76553f011baa13987a5c0fc87fefe20
Author: Theo Anderson  posteo  de>
AuthorDate: Wed Apr 28 01:40:34 2021 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Wed Apr 28 01:40:34 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e29da84b

app-text/OCRmyPDF: add 12.0.1

Signed-off-by: Theo Anderson  posteo.de>

 app-text/OCRmyPDF/Manifest   |  1 +
 app-text/OCRmyPDF/OCRmyPDF-12.0.1.ebuild | 58 
 2 files changed, 59 insertions(+)

diff --git a/app-text/OCRmyPDF/Manifest b/app-text/OCRmyPDF/Manifest
index d6bb63d7d..7f37194f2 100644
--- a/app-text/OCRmyPDF/Manifest
+++ b/app-text/OCRmyPDF/Manifest
@@ -1,3 +1,4 @@
 DIST OCRmyPDF-11.6.2.tar.gz 7885633 BLAKE2B 
a4c09a8088abe3f9e984e8c7ce1b58699c5e40c46de8e9f81ac43838772541758467887b22c3a9fe8026fb8cd125466968e5745af69c9760a0f470879e40685b
 SHA512 
1f92022352b63d2642a0fd49ea72d70973c08d2b2cc84d3d92f06bfd883a858f7dba06f83a921245846d20fc90a1afa0570e7d58fe673e1dfad82e5e047e8de3
 DIST OCRmyPDF-11.7.0.tar.gz 7885763 BLAKE2B 
9658222f85f32958338823686e4c7d66a07060b4660033c167a8462fec7f9c863f516e877b9dca2979f9471a7bbda1a5c611dfbdcdc7ea75fafdb13bca2cef08
 SHA512 
d9353bc627a13d5092e79e264287942da757669992a3585f44d97d254d4043f41a6e4646026115bd81bf5bcf0d2810c1a382097a23938e0925cbc1fa46815595
 DIST OCRmyPDF-11.7.1.tar.gz 7886196 BLAKE2B 
8da696926824b54061035157f7962f428f8c2bf8d94f9bec119a963e05b1bbade1a0740fa7fea4a5a8b8d442b18a294a9ba8ca3b824e5c40445fa7e50279d49b
 SHA512 
75e8b969ff94e1d6b36ddfacc3d79aae00ada2622ace8ef911de2febb815a2b0a5d7b3e46e5adb74687871d75ff1a08bf9cd3f1529bc412fccade1bad16b5fc6
+DIST OCRmyPDF-12.0.1.tar.gz 7895727 BLAKE2B 
f31adaf417b50cad5140f7073e4e66350103b46f968c28892b50f5164834903cd214dc3a6e83c2d22b1df3f3d44ea48ab2fff7c356ec39adabb812b77deba3a3
 SHA512 
7e7718d9ad1349d4702f859a8f985c6523f136ce745bd9c69038792c5f580b1124c1a6c2efe9a06bf3bdd21cc2d6d005140ade29361be4e13e625b201791c680

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



[gentoo-commits] repo/proj/guru:master commit in: app-text/OCRmyPDF/

2021-04-28 Thread Andrew Ammerlaan
commit: b7ff06a6740bbd1d259d5f363a68b017331b656a
Author: Theo Anderson  posteo  de>
AuthorDate: Wed Apr 28 01:40:49 2021 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Wed Apr 28 01:40:49 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b7ff06a6

app-text/OCRmyPDF: drop 11.6.2, 11.7.0, 11.7.1

Signed-off-by: Theo Anderson  posteo.de>

 app-text/OCRmyPDF/Manifest   |  3 --
 app-text/OCRmyPDF/OCRmyPDF-11.6.2.ebuild | 58 
 app-text/OCRmyPDF/OCRmyPDF-11.7.0.ebuild | 58 
 app-text/OCRmyPDF/OCRmyPDF-11.7.1.ebuild | 58 
 4 files changed, 177 deletions(-)

diff --git a/app-text/OCRmyPDF/Manifest b/app-text/OCRmyPDF/Manifest
index 7f37194f2..04c33c563 100644
--- a/app-text/OCRmyPDF/Manifest
+++ b/app-text/OCRmyPDF/Manifest
@@ -1,4 +1 @@
-DIST OCRmyPDF-11.6.2.tar.gz 7885633 BLAKE2B 
a4c09a8088abe3f9e984e8c7ce1b58699c5e40c46de8e9f81ac43838772541758467887b22c3a9fe8026fb8cd125466968e5745af69c9760a0f470879e40685b
 SHA512 
1f92022352b63d2642a0fd49ea72d70973c08d2b2cc84d3d92f06bfd883a858f7dba06f83a921245846d20fc90a1afa0570e7d58fe673e1dfad82e5e047e8de3
-DIST OCRmyPDF-11.7.0.tar.gz 7885763 BLAKE2B 
9658222f85f32958338823686e4c7d66a07060b4660033c167a8462fec7f9c863f516e877b9dca2979f9471a7bbda1a5c611dfbdcdc7ea75fafdb13bca2cef08
 SHA512 
d9353bc627a13d5092e79e264287942da757669992a3585f44d97d254d4043f41a6e4646026115bd81bf5bcf0d2810c1a382097a23938e0925cbc1fa46815595
-DIST OCRmyPDF-11.7.1.tar.gz 7886196 BLAKE2B 
8da696926824b54061035157f7962f428f8c2bf8d94f9bec119a963e05b1bbade1a0740fa7fea4a5a8b8d442b18a294a9ba8ca3b824e5c40445fa7e50279d49b
 SHA512 
75e8b969ff94e1d6b36ddfacc3d79aae00ada2622ace8ef911de2febb815a2b0a5d7b3e46e5adb74687871d75ff1a08bf9cd3f1529bc412fccade1bad16b5fc6
 DIST OCRmyPDF-12.0.1.tar.gz 7895727 BLAKE2B 
f31adaf417b50cad5140f7073e4e66350103b46f968c28892b50f5164834903cd214dc3a6e83c2d22b1df3f3d44ea48ab2fff7c356ec39adabb812b77deba3a3
 SHA512 
7e7718d9ad1349d4702f859a8f985c6523f136ce745bd9c69038792c5f580b1124c1a6c2efe9a06bf3bdd21cc2d6d005140ade29361be4e13e625b201791c680

diff --git a/app-text/OCRmyPDF/OCRmyPDF-11.6.2.ebuild 
b/app-text/OCRmyPDF/OCRmyPDF-11.6.2.ebuild
deleted file mode 100644
index ed5786c97..0
--- a/app-text/OCRmyPDF/OCRmyPDF-11.6.2.ebuild
+++ /dev/null
@@ -1,58 +0,0 @@
-# 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/OCRmyPDF-11.7.0.ebuild 
b/app-text/OCRmyPDF/OCRmyPDF-11.7.0.ebuild
deleted file mode 100644
index ed5786c97..0
--- a/app-text/OCRmyPDF/OCRmyPDF-11.7.0.ebuild
+++ /dev/null
@@ -1,58 +0,0 @@
-# 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 

[gentoo-commits] repo/proj/guru:master commit in: app-text/OCRmyPDF/

2021-03-27 Thread Andrew Ammerlaan
commit: a018d2ccc5179d1bac5e0fef74da2173f3573494
Author: Theo Anderson  posteo  de>
AuthorDate: Tue Mar  9 11:03:46 2021 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Fri Mar 26 20:42:00 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a018d2cc

app-text/OCRmyPDF: add 11.7.1

Signed-off-by: Theo Anderson  posteo.de>

 app-text/OCRmyPDF/Manifest   |  1 +
 app-text/OCRmyPDF/OCRmyPDF-11.7.1.ebuild | 58 
 2 files changed, 59 insertions(+)

diff --git a/app-text/OCRmyPDF/Manifest b/app-text/OCRmyPDF/Manifest
index 95a0e8bc3..d6bb63d7d 100644
--- a/app-text/OCRmyPDF/Manifest
+++ b/app-text/OCRmyPDF/Manifest
@@ -1,2 +1,3 @@
 DIST OCRmyPDF-11.6.2.tar.gz 7885633 BLAKE2B 
a4c09a8088abe3f9e984e8c7ce1b58699c5e40c46de8e9f81ac43838772541758467887b22c3a9fe8026fb8cd125466968e5745af69c9760a0f470879e40685b
 SHA512 
1f92022352b63d2642a0fd49ea72d70973c08d2b2cc84d3d92f06bfd883a858f7dba06f83a921245846d20fc90a1afa0570e7d58fe673e1dfad82e5e047e8de3
 DIST OCRmyPDF-11.7.0.tar.gz 7885763 BLAKE2B 
9658222f85f32958338823686e4c7d66a07060b4660033c167a8462fec7f9c863f516e877b9dca2979f9471a7bbda1a5c611dfbdcdc7ea75fafdb13bca2cef08
 SHA512 
d9353bc627a13d5092e79e264287942da757669992a3585f44d97d254d4043f41a6e4646026115bd81bf5bcf0d2810c1a382097a23938e0925cbc1fa46815595
+DIST OCRmyPDF-11.7.1.tar.gz 7886196 BLAKE2B 
8da696926824b54061035157f7962f428f8c2bf8d94f9bec119a963e05b1bbade1a0740fa7fea4a5a8b8d442b18a294a9ba8ca3b824e5c40445fa7e50279d49b
 SHA512 
75e8b969ff94e1d6b36ddfacc3d79aae00ada2622ace8ef911de2febb815a2b0a5d7b3e46e5adb74687871d75ff1a08bf9cd3f1529bc412fccade1bad16b5fc6

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



[gentoo-commits] repo/proj/guru:master commit in: app-text/OCRmyPDF/

2021-02-09 Thread Andrew Ammerlaan
commit: 5624c81713ee766e07f9908dc4f509e32328d92b
Author: Theo Anderson  posteo  de>
AuthorDate: Mon Feb  8 02:26:02 2021 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Mon Feb  8 02:26:13 2021 +
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  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 ..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 @@



-   Uses media-libs/jbig2enc for better 
compression algorithm
+   Uses media-libs/jbig2enc for a better 
compression algorithm


 



[gentoo-commits] repo/proj/guru:master commit in: app-text/OCRmyPDF/

2021-02-09 Thread Andrew Ammerlaan
commit: cedfe1e27936a4a5e3256660bbdfd9777273e80f
Author: Theo Anderson  posteo  de>
AuthorDate: Mon Feb  8 02:26:32 2021 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Mon Feb  8 02:26:32 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=cedfe1e2

app-text/OCRmyPDF: drop old

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.4.5.ebuild | 64 
 2 files changed, 65 deletions(-)

diff --git a/app-text/OCRmyPDF/Manifest b/app-text/OCRmyPDF/Manifest
index a55fe201..ae61fd6b 100644
--- a/app-text/OCRmyPDF/Manifest
+++ b/app-text/OCRmyPDF/Manifest
@@ -1,3 +1,2 @@
-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.4.5.ebuild 
b/app-text/OCRmyPDF/OCRmyPDF-11.4.5.ebuild
deleted file mode 100644
index ba67ede5..
--- a/app-text/OCRmyPDF/OCRmyPDF-11.4.5.ebuild
+++ /dev/null
@@ -1,64 +0,0 @@
-# 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
-}



[gentoo-commits] repo/proj/guru:master commit in: app-text/OCRmyPDF/

2021-01-10 Thread Andrew Ammerlaan
commit: 13d5df7d5fb3f5b956d0f6624254c97d8d57f2af
Author: Theo Anderson  posteo  de>
AuthorDate: Sun Jan 10 20:49:16 2021 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Mon Jan 11 05:27:44 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=13d5df7d

app-text/OCRmyPDF: drop old

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

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

diff --git a/app-text/OCRmyPDF/Manifest b/app-text/OCRmyPDF/Manifest
index f8ac6659..7422812d 100644
--- a/app-text/OCRmyPDF/Manifest
+++ b/app-text/OCRmyPDF/Manifest
@@ -1,3 +1,2 @@
-DIST OCRmyPDF-11.4.4.tar.gz 7883043 BLAKE2B 
25d4f259c257884107c2fa76c2f662fc867528555ea47b3d3cabbbc3e9fd68bdb55ae4540556607ee31f534152b7c55076224c194e6299ab4bbd1b6f874752dc
 SHA512 
198491f11764b68dc26877f73c815f1425b3bf730c5ada8319b1122ac525a3790e9e86a25b7965bf674197571960a76256984071e3f0b9a1507794dbb875340b
 DIST OCRmyPDF-11.4.5.tar.gz 7882974 BLAKE2B 
dd2c73e3aa78f0dadebcd25879aa315836e703bd089663a310af5b5231a03bf4cfe3acdbc4a658a99b92d585cd992134fdc1d3a12d7b2a74e205fe5b2ffa1b50
 SHA512 
4abf32733f520c0f8d99a9b1631d37ac339067b55756a9d9d4f0c182eca96f251ab7779d1c0af913891a57f3d103cc028ce3899dc263869ac6af3cf6f75e1ead
 DIST OCRmyPDF-11.5.0.tar.gz 7884615 BLAKE2B 
e0b298e011aa648b9d94febbead532d97af510e7281d1d0a8b828843627b9ad326a863e4bc7060a6fd746f114676449ea3575d94d60c30cf08873b06eb31b244
 SHA512 
e40d28a6b21e729077f34d3e1012965a3f162e4374c0e8c88acc05b143c14626829f25f2c91bb8995aca7609778fac78c91d89c6186109194fc1f211a3462e41

diff --git a/app-text/OCRmyPDF/OCRmyPDF-11.4.4.ebuild 
b/app-text/OCRmyPDF/OCRmyPDF-11.4.4.ebuild
deleted file mode 100644
index bf5a296b..
--- a/app-text/OCRmyPDF/OCRmyPDF-11.4.4.ebuild
+++ /dev/null
@@ -1,67 +0,0 @@
-# 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
-}



[gentoo-commits] repo/proj/guru:master commit in: app-text/OCRmyPDF/

2021-01-10 Thread Andrew Ammerlaan
commit: aa0528147ab3fb6152df244d1cc9cafdcbf2173b
Author: Theo Anderson  posteo  de>
AuthorDate: Sun Jan 10 20:48:54 2021 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Mon Jan 11 05:27:42 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=aa052814

app-text/OCRmyPDF: bump to 11.5.0

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

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

diff --git a/app-text/OCRmyPDF/Manifest b/app-text/OCRmyPDF/Manifest
index 6570e79e..f8ac6659 100644
--- a/app-text/OCRmyPDF/Manifest
+++ b/app-text/OCRmyPDF/Manifest
@@ -1,2 +1,3 @@
 DIST OCRmyPDF-11.4.4.tar.gz 7883043 BLAKE2B 
25d4f259c257884107c2fa76c2f662fc867528555ea47b3d3cabbbc3e9fd68bdb55ae4540556607ee31f534152b7c55076224c194e6299ab4bbd1b6f874752dc
 SHA512 
198491f11764b68dc26877f73c815f1425b3bf730c5ada8319b1122ac525a3790e9e86a25b7965bf674197571960a76256984071e3f0b9a1507794dbb875340b
 DIST OCRmyPDF-11.4.5.tar.gz 7882974 BLAKE2B 
dd2c73e3aa78f0dadebcd25879aa315836e703bd089663a310af5b5231a03bf4cfe3acdbc4a658a99b92d585cd992134fdc1d3a12d7b2a74e205fe5b2ffa1b50
 SHA512 
4abf32733f520c0f8d99a9b1631d37ac339067b55756a9d9d4f0c182eca96f251ab7779d1c0af913891a57f3d103cc028ce3899dc263869ac6af3cf6f75e1ead
+DIST OCRmyPDF-11.5.0.tar.gz 7884615 BLAKE2B 
e0b298e011aa648b9d94febbead532d97af510e7281d1d0a8b828843627b9ad326a863e4bc7060a6fd746f114676449ea3575d94d60c30cf08873b06eb31b244
 SHA512 
e40d28a6b21e729077f34d3e1012965a3f162e4374c0e8c88acc05b143c14626829f25f2c91bb8995aca7609778fac78c91d89c6186109194fc1f211a3462e41

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



[gentoo-commits] repo/proj/guru:master commit in: app-text/OCRmyPDF/

2021-01-10 Thread Andrew Ammerlaan
commit: f7a1c459bced591327a6ad04ecdba6bd1c8c004f
Author: Theo Anderson  posteo  de>
AuthorDate: Fri Jan  8 21:18:33 2021 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Fri Jan  8 21:18:33 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f7a1c459

app-text/OCRmyPDF: bump to 11.4.5

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

 app-text/OCRmyPDF/Manifest   |  1 +
 app-text/OCRmyPDF/OCRmyPDF-11.4.5.ebuild | 64 
 2 files changed, 65 insertions(+)

diff --git a/app-text/OCRmyPDF/Manifest b/app-text/OCRmyPDF/Manifest
index e5428e24..2560c8f5 100644
--- a/app-text/OCRmyPDF/Manifest
+++ b/app-text/OCRmyPDF/Manifest
@@ -1,2 +1,3 @@
 DIST OCRmyPDF-11.4.3.tar.gz 7883284 BLAKE2B 
e127dbb60bf18c152f9725fa097897aa5392c8db71f5540f3410e07327b6a7de4536d38ff6bda25eb29e3ced768ab86a9e6a6b5510f09dfa031dba4e0953cc92
 SHA512 
d40587a1e38b9f3adabb3c144fae0436eeab01f9c01de87c47e5b2b7fe1c5df85b9ade60daadff6177574d9933c61dad9df9602a5f46880a077991e2a9ab8ca4
 DIST OCRmyPDF-11.4.4.tar.gz 7883043 BLAKE2B 
25d4f259c257884107c2fa76c2f662fc867528555ea47b3d3cabbbc3e9fd68bdb55ae4540556607ee31f534152b7c55076224c194e6299ab4bbd1b6f874752dc
 SHA512 
198491f11764b68dc26877f73c815f1425b3bf730c5ada8319b1122ac525a3790e9e86a25b7965bf674197571960a76256984071e3f0b9a1507794dbb875340b
+DIST OCRmyPDF-11.4.5.tar.gz 7882974 BLAKE2B 
dd2c73e3aa78f0dadebcd25879aa315836e703bd089663a310af5b5231a03bf4cfe3acdbc4a658a99b92d585cd992134fdc1d3a12d7b2a74e205fe5b2ffa1b50
 SHA512 
4abf32733f520c0f8d99a9b1631d37ac339067b55756a9d9d4f0c182eca96f251ab7779d1c0af913891a57f3d103cc028ce3899dc263869ac6af3cf6f75e1ead

diff --git a/app-text/OCRmyPDF/OCRmyPDF-11.4.5.ebuild 
b/app-text/OCRmyPDF/OCRmyPDF-11.4.5.ebuild
new file mode 100644
index ..ba67ede5
--- /dev/null
+++ b/app-text/OCRmyPDF/OCRmyPDF-11.4.5.ebuild
@@ -0,0 +1,64 @@
+# 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
+}



[gentoo-commits] repo/proj/guru:master commit in: app-text/OCRmyPDF/

2021-01-10 Thread Andrew Ammerlaan
commit: 4a6813e75df45abe6a53b81bbef09b2f23afbec5
Author: Theo Anderson  posteo  de>
AuthorDate: Fri Jan  8 21:18:51 2021 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Fri Jan  8 21:18:51 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4a6813e7

app-text/OCRmyPDF: drop old

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

 app-text/OCRmyPDF/Manifest   |  1 -
 app-text/OCRmyPDF/OCRmyPDF-11.4.3.ebuild | 67 
 2 files changed, 68 deletions(-)

diff --git a/app-text/OCRmyPDF/Manifest b/app-text/OCRmyPDF/Manifest
index 2560c8f5..6570e79e 100644
--- a/app-text/OCRmyPDF/Manifest
+++ b/app-text/OCRmyPDF/Manifest
@@ -1,3 +1,2 @@
-DIST OCRmyPDF-11.4.3.tar.gz 7883284 BLAKE2B 
e127dbb60bf18c152f9725fa097897aa5392c8db71f5540f3410e07327b6a7de4536d38ff6bda25eb29e3ced768ab86a9e6a6b5510f09dfa031dba4e0953cc92
 SHA512 
d40587a1e38b9f3adabb3c144fae0436eeab01f9c01de87c47e5b2b7fe1c5df85b9ade60daadff6177574d9933c61dad9df9602a5f46880a077991e2a9ab8ca4
 DIST OCRmyPDF-11.4.4.tar.gz 7883043 BLAKE2B 
25d4f259c257884107c2fa76c2f662fc867528555ea47b3d3cabbbc3e9fd68bdb55ae4540556607ee31f534152b7c55076224c194e6299ab4bbd1b6f874752dc
 SHA512 
198491f11764b68dc26877f73c815f1425b3bf730c5ada8319b1122ac525a3790e9e86a25b7965bf674197571960a76256984071e3f0b9a1507794dbb875340b
 DIST OCRmyPDF-11.4.5.tar.gz 7882974 BLAKE2B 
dd2c73e3aa78f0dadebcd25879aa315836e703bd089663a310af5b5231a03bf4cfe3acdbc4a658a99b92d585cd992134fdc1d3a12d7b2a74e205fe5b2ffa1b50
 SHA512 
4abf32733f520c0f8d99a9b1631d37ac339067b55756a9d9d4f0c182eca96f251ab7779d1c0af913891a57f3d103cc028ce3899dc263869ac6af3cf6f75e1ead

diff --git a/app-text/OCRmyPDF/OCRmyPDF-11.4.3.ebuild 
b/app-text/OCRmyPDF/OCRmyPDF-11.4.3.ebuild
deleted file mode 100644
index 09e6ae28..
--- a/app-text/OCRmyPDF/OCRmyPDF-11.4.3.ebuild
+++ /dev/null
@@ -1,67 +0,0 @@
-# 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;
-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}]
-   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
-}



[gentoo-commits] repo/proj/guru:master commit in: app-text/OCRmyPDF/

2021-01-04 Thread Andrew Ammerlaan
commit: a771e68591965c0ea0352ac2730a18268c65b17d
Author: Theo Anderson  posteo  de>
AuthorDate: Mon Jan  4 04:35:56 2021 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Mon Jan  4 05:38:58 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a771e685

app-text/OCRmyPDF: drop old

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

 app-text/OCRmyPDF/Manifest   |  2 -
 app-text/OCRmyPDF/OCRmyPDF-11.4.0.ebuild | 67 ---
 app-text/OCRmyPDF/OCRmyPDF-11.4.1.ebuild | 68 
 3 files changed, 137 deletions(-)

diff --git a/app-text/OCRmyPDF/Manifest b/app-text/OCRmyPDF/Manifest
index 110f2d5d..e5428e24 100644
--- a/app-text/OCRmyPDF/Manifest
+++ b/app-text/OCRmyPDF/Manifest
@@ -1,4 +1,2 @@
-DIST OCRmyPDF-11.4.0.tar.gz 7880918 BLAKE2B 
2031a0d8f5676d84be7e4d52a2b8457143dfb85248bc925d452ebe652190da0f34a464478a9cda8ed0650eeb5db5019f83530ea0b74b57079e1cab0e43a20b16
 SHA512 
f6ed03eacf3dd0aa554841b70e6b2fbb8a7cc7854723a4fb0a52b7b3fcf26387f9bb60b9db57f67af53a979edc6a3dadbdd10c20fbb375cfaf46339e6737
-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.0.ebuild 
b/app-text/OCRmyPDF/OCRmyPDF-11.4.0.ebuild
deleted file mode 100644
index ed383cfd..
--- a/app-text/OCRmyPDF/OCRmyPDF-11.4.0.ebuild
+++ /dev/null
@@ -1,67 +0,0 @@
-# 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"
-
-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}]
-)"
-
-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}]
-"
-
-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
-}

diff --git a/app-text/OCRmyPDF/OCRmyPDF-11.4.1.ebuild 
b/app-text/OCRmyPDF/OCRmyPDF-11.4.1.ebuild
deleted file mode 100644
index ce3eb17d..
--- a/app-text/OCRmyPDF/OCRmyPDF-11.4.1.ebuild
+++ /dev/null
@@ -1,68 +0,0 @@
-# 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"

[gentoo-commits] repo/proj/guru:master commit in: app-text/OCRmyPDF/

2021-01-04 Thread Andrew Ammerlaan
commit: 7a267c8917578d0a4b5c0f351dbde91d1975c87d
Author: Theo Anderson  posteo  de>
AuthorDate: Mon Jan  4 04:34:33 2021 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Mon Jan  4 05:38:58 2021 +
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  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 
f6ed03eacf3dd0aa554841b70e6b2fbb8a7cc7854723a4fb0a52b7b3fcf26387f9bb60b9db57f67af53a979edc6a3dadbdd10c20fbb375cfaf46339e6737
 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 ..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
+}



[gentoo-commits] repo/proj/guru:master commit in: app-text/OCRmyPDF/

2021-01-04 Thread Andrew Ammerlaan
commit: ffda3bafe5c31de19459d2d2c8dbf121c7673652
Author: Theo Anderson  posteo  de>
AuthorDate: Mon Jan  4 04:35:36 2021 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Mon Jan  4 05:38:58 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ffda3baf

app-text/OCRmyPDF: add self as maintainer

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

 app-text/OCRmyPDF/metadata.xml | 4 
 1 file changed, 4 insertions(+)

diff --git a/app-text/OCRmyPDF/metadata.xml b/app-text/OCRmyPDF/metadata.xml
index c95868ce..bb2748b2 100644
--- a/app-text/OCRmyPDF/metadata.xml
+++ b/app-text/OCRmyPDF/metadata.xml
@@ -5,6 +5,10 @@
ala...@swordarmor.fr
Alarig Le Lay

+   
+   tel...@posteo.de
+   Theo Anderson
+   


Uses media-libs/jbig2enc for better 
compression algorithm



[gentoo-commits] repo/proj/guru:master commit in: app-text/OCRmyPDF/

2021-01-01 Thread Andrew Ammerlaan
commit: 26291fb21890a8e36dc276cde42a9971d1e89d54
Author: Theo Anderson  posteo  de>
AuthorDate: Thu Dec 31 08:21:08 2020 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Thu Dec 31 08:21:08 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=26291fb2

app-text/OCRmyPDF: bump to 11.4.3

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

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

diff --git a/app-text/OCRmyPDF/Manifest b/app-text/OCRmyPDF/Manifest
index 3e241f2b..d190c20c 100644
--- a/app-text/OCRmyPDF/Manifest
+++ b/app-text/OCRmyPDF/Manifest
@@ -1,2 +1,3 @@
 DIST OCRmyPDF-11.4.0.tar.gz 7880918 BLAKE2B 
2031a0d8f5676d84be7e4d52a2b8457143dfb85248bc925d452ebe652190da0f34a464478a9cda8ed0650eeb5db5019f83530ea0b74b57079e1cab0e43a20b16
 SHA512 
f6ed03eacf3dd0aa554841b70e6b2fbb8a7cc7854723a4fb0a52b7b3fcf26387f9bb60b9db57f67af53a979edc6a3dadbdd10c20fbb375cfaf46339e6737
 DIST OCRmyPDF-11.4.1.tar.gz 7880882 BLAKE2B 
80bcce4775e9192cc23f0b9ed0ba8fcbb4b585c628b796f69b60d2e84bcf8157812cf5fa769688af1e71626d41ba249d56ac5cc6bcf4f4fc3a60fa4b5809320b
 SHA512 
bd27d66b24b63584d1945fd29b08e4d8dcffd989b7285ec0d94559514da676cbb7cd6910453d553f859d501ce5a10bb90554574f0e435bbf6d4037d89d0dd4aa
+DIST OCRmyPDF-11.4.3.tar.gz 7883284 BLAKE2B 
e127dbb60bf18c152f9725fa097897aa5392c8db71f5540f3410e07327b6a7de4536d38ff6bda25eb29e3ced768ab86a9e6a6b5510f09dfa031dba4e0953cc92
 SHA512 
d40587a1e38b9f3adabb3c144fae0436eeab01f9c01de87c47e5b2b7fe1c5df85b9ade60daadff6177574d9933c61dad9df9602a5f46880a077991e2a9ab8ca4

diff --git a/app-text/OCRmyPDF/OCRmyPDF-11.4.3.ebuild 
b/app-text/OCRmyPDF/OCRmyPDF-11.4.3.ebuild
new file mode 100644
index ..09e6ae28
--- /dev/null
+++ b/app-text/OCRmyPDF/OCRmyPDF-11.4.3.ebuild
@@ -0,0 +1,67 @@
+# 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;
+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}]
+   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
+}



[gentoo-commits] repo/proj/guru:master commit in: app-text/OCRmyPDF/

2020-04-16 Thread Andrew Ammerlaan
commit: a26fc1f9666f03e98fac54d4033167f6eea1a88c
Author: Alarig Le Lay  swordarmor  fr>
AuthorDate: Thu Apr 16 18:27:53 2020 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Thu Apr 16 18:27:53 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a26fc1f9

app-text/OCRmyPDF: Newer dev-python/pdfminer-six dep

See https://github.com/jbarlow83/OCRmyPDF/blob/v9.7.2/setup.py#L101

Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Alarig Le Lay  swordarmor.fr>

 app-text/OCRmyPDF/OCRmyPDF-9.7.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-text/OCRmyPDF/OCRmyPDF-9.7.2.ebuild 
b/app-text/OCRmyPDF/OCRmyPDF-9.7.2.ebuild
index b397cce..ef648cf 100644
--- a/app-text/OCRmyPDF/OCRmyPDF-9.7.2.ebuild
+++ b/app-text/OCRmyPDF/OCRmyPDF-9.7.2.ebuild
@@ -31,7 +31,7 @@ RDEPEND="
app-text/ghostscript-gpl
app-text/tesseract
app-text/unpaper
-   <=dev-python/pdfminer-six-20200124[${PYTHON_USEDEP}]
+   <=dev-python/pdfminer-six-20200402[${PYTHON_USEDEP}]
>=dev-python/pdfminer-six-20181108[${PYTHON_USEDEP}]
dev-python/pikepdf[${PYTHON_USEDEP}]
dev-python/pillow[${PYTHON_USEDEP}]



[gentoo-commits] repo/proj/guru:master commit in: app-text/OCRmyPDF/

2020-04-16 Thread Andrew Ammerlaan
commit: ca81db855911a9e6da41f47d9ad6826e9366640e
Author: Alarig Le Lay  swordarmor  fr>
AuthorDate: Wed Apr 15 17:33:08 2020 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Wed Apr 15 17:33:08 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ca81db85

app-text/OCRmyPDF: New ebuild

OCRmyPDF adds an OCR text layer to scanned PDF files

Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Alarig Le Lay  swordarmor.fr>

 app-text/OCRmyPDF/Manifest  |  1 +
 app-text/OCRmyPDF/OCRmyPDF-9.7.1.ebuild | 50 +
 app-text/OCRmyPDF/metadata.xml  | 13 +
 3 files changed, 64 insertions(+)

diff --git a/app-text/OCRmyPDF/Manifest b/app-text/OCRmyPDF/Manifest
new file mode 100644
index 000..f969020
--- /dev/null
+++ b/app-text/OCRmyPDF/Manifest
@@ -0,0 +1 @@
+DIST OCRmyPDF-9.7.1.tar.gz 7859333 BLAKE2B 
5f366d8655c55dafe911d2f1feaad84c4f032252454015693b314515d6bd308e91f93626cb3229d2956354e2c60df8420fb4d7a2023ca0a78636ea5c40d7ff56
 SHA512 
daf5f636afa2704c9163f4f0d49f944358919c2af229030d78bb29f10d0a8acf3e219060542d52982bc02180b410c6dca771c54f4d3239250365397707bccf6c

diff --git a/app-text/OCRmyPDF/OCRmyPDF-9.7.1.ebuild 
b/app-text/OCRmyPDF/OCRmyPDF-9.7.1.ebuild
new file mode 100644
index 000..bb567c2
--- /dev/null
+++ b/app-text/OCRmyPDF/OCRmyPDF-9.7.1.ebuild
@@ -0,0 +1,50 @@
+# Copyright 2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+PYTHON_COMPAT=( python3_{6,7,8} )
+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"
+IUSE="jbig2enc"
+
+DEPEND=""
+RDEPEND="
+   ${DEPEND}
+   app-text/ghostscript-gpl
+   app-text/tesseract
+   app-text/unpaper
+   <=dev-python/pdfminer-six-20200124[${PYTHON_USEDEP}]
+   >=dev-python/pdfminer-six-20181108[${PYTHON_USEDEP}]
+   dev-python/pikepdf[${PYTHON_USEDEP}]
+   dev-python/pillow[${PYTHON_USEDEP}]
+   dev-python/reportlab[${PYTHON_USEDEP}]
+   dev-python/tqdm[${PYTHON_USEDEP}]
+   media-gfx/img2pdf
+   media-gfx/pngquant
+   media-libs/leptonica
+   virtual/python-cffi[${PYTHON_USEDEP}]
+   jbig2enc? ( media-libs/jbig2enc )
+"
+BDEPEND="
+   dev-python/setuptools[${PYTHON_USEDEP}]
+   dev-python/pytest-runner[${PYTHON_USEDEP}]
+"
+
+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
+
+   dodoc README.md
+}

diff --git a/app-text/OCRmyPDF/metadata.xml b/app-text/OCRmyPDF/metadata.xml
new file mode 100644
index 000..c95868c
--- /dev/null
+++ b/app-text/OCRmyPDF/metadata.xml
@@ -0,0 +1,13 @@
+
+http://www.gentoo.org/dtd/metadata.dtd;>
+
+   
+   ala...@swordarmor.fr
+   Alarig Le Lay
+   
+   
+   
+   Uses media-libs/jbig2enc for better 
compression algorithm
+   
+   
+



[gentoo-commits] repo/proj/guru:master commit in: app-text/OCRmyPDF/

2020-04-16 Thread Andrew Ammerlaan
commit: fc4a8fc1988101b6c7f01787a77f755a2817d32a
Author: Alarig Le Lay  swordarmor  fr>
AuthorDate: Wed Apr 15 18:30:28 2020 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Wed Apr 15 18:30:28 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=fc4a8fc1

app-text/OCRmyPDF: README* is in default DOCS

Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Alarig Le Lay  swordarmor.fr>

 app-text/OCRmyPDF/OCRmyPDF-9.7.1.ebuild | 2 --
 1 file changed, 2 deletions(-)

diff --git a/app-text/OCRmyPDF/OCRmyPDF-9.7.1.ebuild 
b/app-text/OCRmyPDF/OCRmyPDF-9.7.1.ebuild
index 36d918e..3209a63 100644
--- a/app-text/OCRmyPDF/OCRmyPDF-9.7.1.ebuild
+++ b/app-text/OCRmyPDF/OCRmyPDF-9.7.1.ebuild
@@ -48,6 +48,4 @@ src_install() {
 
insinto /usr/share/fish/vendor_completions.d
doins "${S}"/misc/completion/ocrmypdf.fish
-
-   dodoc README.md
 }



[gentoo-commits] repo/proj/guru:master commit in: app-text/OCRmyPDF/

2020-04-16 Thread Andrew Ammerlaan
commit: 17cf06c74e9fff600e9ad9432b5a06e01f735256
Author: Alarig Le Lay  swordarmor  fr>
AuthorDate: Wed Apr 15 18:11:38 2020 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Wed Apr 15 18:27:49 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=17cf06c7

app-text/OCRmyPDF: Removing dev-python/pytest-runner dep

Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Alarig Le Lay  swordarmor.fr>

 app-text/OCRmyPDF/OCRmyPDF-9.7.1.ebuild | 10 +++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/app-text/OCRmyPDF/OCRmyPDF-9.7.1.ebuild 
b/app-text/OCRmyPDF/OCRmyPDF-9.7.1.ebuild
index 2837fc8..36d918e 100644
--- a/app-text/OCRmyPDF/OCRmyPDF-9.7.1.ebuild
+++ b/app-text/OCRmyPDF/OCRmyPDF-9.7.1.ebuild
@@ -33,9 +33,13 @@ RDEPEND="
virtual/python-cffi[${PYTHON_USEDEP}]
jbig2enc? ( media-libs/jbig2enc )
 "
-BDEPEND="
-   dev-python/pytest-runner[${PYTHON_USEDEP}]
-"
+
+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



[gentoo-commits] repo/proj/guru:master commit in: app-text/OCRmyPDF/

2020-04-16 Thread Andrew Ammerlaan
commit: b37e43f0a3b710b2df8d1470e84740a5b12d89d3
Author: Alarig Le Lay  swordarmor  fr>
AuthorDate: Wed Apr 15 18:10:11 2020 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Wed Apr 15 18:10:11 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b37e43f0

app-text/OCRmyPDF: Removing setuptools dep

Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Alarig Le Lay  swordarmor.fr>

 app-text/OCRmyPDF/OCRmyPDF-9.7.1.ebuild | 1 -
 1 file changed, 1 deletion(-)

diff --git a/app-text/OCRmyPDF/OCRmyPDF-9.7.1.ebuild 
b/app-text/OCRmyPDF/OCRmyPDF-9.7.1.ebuild
index bb567c2..2837fc8 100644
--- a/app-text/OCRmyPDF/OCRmyPDF-9.7.1.ebuild
+++ b/app-text/OCRmyPDF/OCRmyPDF-9.7.1.ebuild
@@ -34,7 +34,6 @@ RDEPEND="
jbig2enc? ( media-libs/jbig2enc )
 "
 BDEPEND="
-   dev-python/setuptools[${PYTHON_USEDEP}]
dev-python/pytest-runner[${PYTHON_USEDEP}]
 "