Gentoo Archives: gentoo-commits

From: Ronny Gutbrod <gentoo@××××××××.de>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:master commit in: app-text/OCRmyPDF/
Date: Tue, 01 Nov 2022 02:55:15
Message-Id: 1667131468.8c525d9d1033ef08f31b35341ba7d4ca003fcb74.tastytea@gentoo
1 commit: 8c525d9d1033ef08f31b35341ba7d4ca003fcb74
2 Author: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
3 AuthorDate: Sun Oct 30 12:04:28 2022 +0000
4 Commit: Ronny Gutbrod <gentoo <AT> tastytea <DOT> de>
5 CommitDate: Sun Oct 30 12:04:28 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=8c525d9d
7
8 app-text/OCRmyPDF: drop 13.4.6-r1, 13.6.0
9
10 Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>
11
12 app-text/OCRmyPDF/Manifest | 2 -
13 app-text/OCRmyPDF/OCRmyPDF-13.4.6-r1.ebuild | 59 -----------------------------
14 app-text/OCRmyPDF/OCRmyPDF-13.6.0.ebuild | 58 ----------------------------
15 3 files changed, 119 deletions(-)
16
17 diff --git a/app-text/OCRmyPDF/Manifest b/app-text/OCRmyPDF/Manifest
18 index 5ddad5e2a..56c32500d 100644
19 --- a/app-text/OCRmyPDF/Manifest
20 +++ b/app-text/OCRmyPDF/Manifest
21 @@ -1,3 +1 @@
22 -DIST OCRmyPDF-13.4.6.tar.gz 7890082 BLAKE2B 5d1fe4a0147dc7ca5bf5d1468e6cb23b57d436b80ec60b3cec9af4b1768af10fb387b724975e0c5e83aaa79806d4ba7a984fcf1d78f8bfaf97f42edfefa20f81 SHA512 fedf17630af21e94e45373aec45966cca2baa8abaca604a2a6820a74e62cf115bad376234b69dffad1ab26e50d5b891b1255026262512b518547f133f12c33d5
23 -DIST OCRmyPDF-13.6.0.tar.gz 7897382 BLAKE2B e05df2c44b32c1de17e7352f821c4bfb86dffad1c5bbb3440fab09b5172ba0bae99de4fe93039cf70e56f901a1afc0659f06c8760fb6f1b12edb7658a9b0cb7e SHA512 d58b154dd6affd9ef69b1ff79b20daee7ac9021601a3db2b9d571410b179a826de09f4b68a4683724749856fd27e2cca608e150c94aeca8bfdbc8c4d11d22a20
24 DIST OCRmyPDF-14.0.1.tar.gz 6503040 BLAKE2B b54f5b7960c9f5303f4c2d0f8d949a7c3a813674a28f2166d89aaaf6e5203d94f0dee368846578a0ac554e35ed3cf9f479b907973b06e3e663c98ea700888b19 SHA512 6872ba20cfd455b5421a25e45b6a06f7aaa821c59d4825822dac0898989917752c1018d4477bfa3a106b2b036ce6cf511a16990cca4226a490ad2a97f8eb5229
25
26 diff --git a/app-text/OCRmyPDF/OCRmyPDF-13.4.6-r1.ebuild b/app-text/OCRmyPDF/OCRmyPDF-13.4.6-r1.ebuild
27 deleted file mode 100644
28 index 6a22b6003..000000000
29 --- a/app-text/OCRmyPDF/OCRmyPDF-13.4.6-r1.ebuild
30 +++ /dev/null
31 @@ -1,59 +0,0 @@
32 -# Copyright 2020-2022 Gentoo Authors
33 -# Distributed under the terms of the GNU General Public License v2
34 -
35 -EAPI=8
36 -
37 -PYTHON_COMPAT=( python3_{8..10} )
38 -DISTUTILS_USE_SETUPTOOLS=rdepend
39 -
40 -inherit bash-completion-r1 distutils-r1 optfeature
41 -
42 -DESCRIPTION="OCRmyPDF adds an OCR text layer to scanned PDF files"
43 -HOMEPAGE="https://github.com/ocrmypdf/OCRmyPDF"
44 -SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
45 -
46 -LICENSE="MPL-2.0"
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 -
53 -RDEPEND="
54 - app-text/ghostscript-gpl
55 - app-text/tesseract
56 - app-text/unpaper
57 - dev-python/cffi[${PYTHON_USEDEP}]
58 - dev-python/coloredlogs[${PYTHON_USEDEP}]
59 - >dev-python/pdfminer-six-20200720[${PYTHON_USEDEP}]
60 - dev-python/pikepdf[${PYTHON_USEDEP}]
61 - dev-python/pillow[${PYTHON_USEDEP}]
62 - dev-python/pluggy[${PYTHON_USEDEP}]
63 - dev-python/reportlab[${PYTHON_USEDEP}]
64 - dev-python/tqdm[${PYTHON_USEDEP}]
65 - media-gfx/img2pdf[${PYTHON_USEDEP}]
66 - media-gfx/pngquant
67 - media-libs/leptonica
68 - virtual/python-cffi[${PYTHON_USEDEP}]
69 -"
70 -DEPEND="
71 - test? (
72 - dev-python/pytest-helpers-namespace[${PYTHON_USEDEP}]
73 - ~dev-python/python-xmp-toolkit-2.0.1[${PYTHON_USEDEP}]
74 - )
75 -"
76 -
77 -distutils_enable_tests pytest
78 -
79 -distutils_enable_sphinx docs --no-autodoc
80 -
81 -src_install() {
82 - distutils-r1_src_install
83 - newbashcomp misc/completion/ocrmypdf.bash "${PN,,}"
84 - insinto /usr/share/fish/vendor_completions.d
85 - doins misc/completion/ocrmypdf.fish
86 -}
87 -
88 -pkg_postinst() {
89 - optfeature "JBIG2 support" media-libs/jbig2enc
90 -}
91
92 diff --git a/app-text/OCRmyPDF/OCRmyPDF-13.6.0.ebuild b/app-text/OCRmyPDF/OCRmyPDF-13.6.0.ebuild
93 deleted file mode 100644
94 index 923bd29e7..000000000
95 --- a/app-text/OCRmyPDF/OCRmyPDF-13.6.0.ebuild
96 +++ /dev/null
97 @@ -1,58 +0,0 @@
98 -# Copyright 2020-2022 Gentoo Authors
99 -# Distributed under the terms of the GNU General Public License v2
100 -
101 -EAPI=8
102 -
103 -PYTHON_COMPAT=( python3_{8..10} )
104 -
105 -inherit bash-completion-r1 distutils-r1 optfeature
106 -
107 -DESCRIPTION="OCRmyPDF adds an OCR text layer to scanned PDF files"
108 -HOMEPAGE="https://github.com/ocrmypdf/OCRmyPDF"
109 -SRC_URI="https://github.com/ocrmypdf/OCRmyPDF/archive/v${PV}.tar.gz -> ${P}.tar.gz"
110 -
111 -LICENSE="MPL-2.0"
112 -SLOT="0"
113 -KEYWORDS="~amd64"
114 -RESTRICT="test" # Exhausts RAM
115 -
116 -RDEPEND="
117 - app-text/ghostscript-gpl
118 - app-text/tesseract
119 - app-text/unpaper
120 - dev-python/cffi[${PYTHON_USEDEP}]
121 - >=dev-python/coloredlogs-15.0.1[${PYTHON_USEDEP}]
122 - >=dev-python/packaging-20[${PYTHON_USEDEP}]
123 - >dev-python/pdfminer-six-20200720[${PYTHON_USEDEP}]
124 - >dev-python/pikepdf-5.0.0[${PYTHON_USEDEP}]
125 - >=dev-python/pillow-8.2.0[${PYTHON_USEDEP}]
126 - >=dev-python/pluggy-0.13.0[${PYTHON_USEDEP}]
127 - >=dev-python/reportlab-3.5.66[${PYTHON_USEDEP}]
128 - >=dev-python/tqdm-4[${PYTHON_USEDEP}]
129 - >=media-gfx/img2pdf-0.3.0[${PYTHON_USEDEP}]
130 - media-gfx/pngquant
131 - media-libs/leptonica
132 - virtual/python-cffi[${PYTHON_USEDEP}]
133 -"
134 -DEPEND="
135 - test? (
136 - dev-python/pytest-helpers-namespace[${PYTHON_USEDEP}]
137 - ~dev-python/python-xmp-toolkit-2.0.1[${PYTHON_USEDEP}]
138 - )
139 -"
140 -
141 -distutils_enable_tests pytest
142 -distutils_enable_sphinx docs --no-autodoc
143 -
144 -export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
145 -
146 -src_install() {
147 - distutils-r1_src_install
148 - newbashcomp misc/completion/ocrmypdf.bash "${PN,,}"
149 - insinto /usr/share/fish/vendor_completions.d
150 - doins misc/completion/ocrmypdf.fish
151 -}
152 -
153 -pkg_postinst() {
154 - optfeature "JBIG2 support" media-libs/jbig2enc
155 -}