Gentoo Archives: gentoo-commits

From: Theo Anderson <telans@××××××.de>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:dev commit in: app-text/OCRmyPDF/
Date: Fri, 08 Jan 2021 21:19:05
Message-Id: 1610140731.4a6813e75df45abe6a53b81bbef09b2f23afbec5.telans@gentoo
1 commit: 4a6813e75df45abe6a53b81bbef09b2f23afbec5
2 Author: Theo Anderson <telans <AT> posteo <DOT> de>
3 AuthorDate: Fri Jan 8 21:18:51 2021 +0000
4 Commit: Theo Anderson <telans <AT> posteo <DOT> de>
5 CommitDate: Fri Jan 8 21:18:51 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4a6813e7
7
8 app-text/OCRmyPDF: drop old
9
10 Package-Manager: Portage-3.0.12, Repoman-3.0.2
11 Signed-off-by: Theo Anderson <telans <AT> posteo.de>
12
13 app-text/OCRmyPDF/Manifest | 1 -
14 app-text/OCRmyPDF/OCRmyPDF-11.4.3.ebuild | 67 --------------------------------
15 2 files changed, 68 deletions(-)
16
17 diff --git a/app-text/OCRmyPDF/Manifest b/app-text/OCRmyPDF/Manifest
18 index 2560c8f5..6570e79e 100644
19 --- a/app-text/OCRmyPDF/Manifest
20 +++ b/app-text/OCRmyPDF/Manifest
21 @@ -1,3 +1,2 @@
22 -DIST OCRmyPDF-11.4.3.tar.gz 7883284 BLAKE2B e127dbb60bf18c152f9725fa097897aa5392c8db71f5540f3410e07327b6a7de4536d38ff6bda25eb29e3ced768ab86a9e6a6b5510f09dfa031dba4e0953cc92 SHA512 d40587a1e38b9f3adabb3c144fae0436eeab01f9c01de87c47e5b2b7fe1c5df85b9ade60daadff6177574d9933c61dad9df9602a5f46880a077991e2a9ab8ca4
23 DIST OCRmyPDF-11.4.4.tar.gz 7883043 BLAKE2B 25d4f259c257884107c2fa76c2f662fc867528555ea47b3d3cabbbc3e9fd68bdb55ae4540556607ee31f534152b7c55076224c194e6299ab4bbd1b6f874752dc SHA512 198491f11764b68dc26877f73c815f1425b3bf730c5ada8319b1122ac525a3790e9e86a25b7965bf674197571960a76256984071e3f0b9a1507794dbb875340b
24 DIST OCRmyPDF-11.4.5.tar.gz 7882974 BLAKE2B dd2c73e3aa78f0dadebcd25879aa315836e703bd089663a310af5b5231a03bf4cfe3acdbc4a658a99b92d585cd992134fdc1d3a12d7b2a74e205fe5b2ffa1b50 SHA512 4abf32733f520c0f8d99a9b1631d37ac339067b55756a9d9d4f0c182eca96f251ab7779d1c0af913891a57f3d103cc028ce3899dc263869ac6af3cf6f75e1ead
25
26 diff --git a/app-text/OCRmyPDF/OCRmyPDF-11.4.3.ebuild b/app-text/OCRmyPDF/OCRmyPDF-11.4.3.ebuild
27 deleted file mode 100644
28 index 09e6ae28..00000000
29 --- a/app-text/OCRmyPDF/OCRmyPDF-11.4.3.ebuild
30 +++ /dev/null
31 @@ -1,67 +0,0 @@
32 -# Copyright 2020 Gentoo Authors
33 -# Distributed under the terms of the GNU General Public License v2
34 -
35 -EAPI=7
36 -
37 -PYTHON_COMPAT=( python3_{7..8} )
38 -DISTUTILS_USE_SETUPTOOLS=rdepend
39 -
40 -inherit bash-completion-r1 distutils-r1
41 -
42 -DESCRIPTION="OCRmyPDF adds an OCR text layer to scanned PDF files"
43 -HOMEPAGE="https://github.com/jbarlow83/OCRmyPDF"
44 -SRC_URI="https://github.com/jbarlow83/OCRmyPDF/archive/v${PV}.tar.gz -> ${P}.tar.gz"
45 -
46 -LICENSE="GPL-3"
47 -SLOT="0"
48 -KEYWORDS="~amd64"
49 -
50 -# This uses *a lot* of RAM, I have 32gb and these tests tried to use it all
51 -RESTRICT="test"
52 -IUSE="jbig2enc"
53 -
54 -RDEPEND="
55 - app-text/ghostscript-gpl
56 - app-text/tesseract
57 - app-text/unpaper
58 - dev-python/cffi[${PYTHON_USEDEP}]
59 - dev-python/coloredlogs[${PYTHON_USEDEP}]
60 - >=dev-python/pdfminer-six-20191110[${PYTHON_USEDEP}]
61 - <=dev-python/pdfminer-six-20201018[${PYTHON_USEDEP}]
62 - dev-python/pikepdf[${PYTHON_USEDEP}]
63 - dev-python/pillow[${PYTHON_USEDEP}]
64 - dev-python/pluggy[${PYTHON_USEDEP}]
65 - dev-python/reportlab[${PYTHON_USEDEP}]
66 - dev-python/tqdm[${PYTHON_USEDEP}]
67 - jbig2enc? ( media-libs/jbig2enc )
68 - media-gfx/img2pdf[${PYTHON_USEDEP}]
69 - media-gfx/pngquant
70 - media-libs/leptonica
71 - virtual/python-cffi[${PYTHON_USEDEP}]
72 -"
73 -DEPEND="
74 - test? (
75 - dev-python/pytest-helpers-namespace[${PYTHON_USEDEP}]
76 - dev-python/pytest-xdist[${PYTHON_USEDEP}]
77 - ~dev-python/python-xmp-toolkit-2.0.1[${PYTHON_USEDEP}]
78 - )
79 -"
80 -
81 -distutils_enable_tests pytest
82 -distutils_enable_sphinx docs --no-autodoc
83 -
84 -python_prepare_all() {
85 - # do not depend on deprecated dep
86 - sed -i -e '/pytest-runner/d' setup.py || die
87 -
88 - distutils-r1_python_prepare_all
89 -}
90 -
91 -src_install() {
92 - distutils-r1_src_install
93 -
94 - newbashcomp "${S}"/misc/completion/ocrmypdf.bash "${PN,,}"
95 -
96 - insinto /usr/share/fish/vendor_completions.d
97 - doins "${S}"/misc/completion/ocrmypdf.fish
98 -}