Hey,I've just asked myself why You are not using this link: https://github.com/jbarlow83/OCRmyPDF/archive/v7.0.4.tar.gz
Search Criteria
Package Details: ocrmypdf 16.10.0-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/ocrmypdf.git (read-only, click to copy) |
---|---|
Package Base: | ocrmypdf |
Description: | A tool to add an OCR text layer to scanned PDF files, allowing them to be searched |
Upstream URL: | https://github.com/ocrmypdf/OCRmyPDF |
Licenses: | MPL2 |
Submitter: | dreuter |
Maintainer: | fbrennan (pigmonkey) |
Last Packager: | pigmonkey |
Votes: | 129 |
Popularity: | 4.17 |
First Submitted: | 2014-01-27 11:36 (UTC) |
Last Updated: | 2025-02-28 03:49 (UTC) |
Dependencies (21)
- ghostscript
- img2pdf (img2pdf-gitAUR)
- pngquant
- python (python37AUR, python311AUR, python310AUR)
- python-deprecation
- python-importlib_resources
- python-packaging
- python-pdfminer
- python-pikepdf
- python-pillow (python-pillow-simd-gitAUR)
- python-pluggy
- python-reportlab
- python-rich
- python-tqdm
- tesseract (tesseract-gitAUR)
- unpaper (unpaper-gitAUR)
- python-build (make)
- python-hatch-vcs (make)
- python-installer (make)
- python-wheel (make)
- Show 1 more dependencies...
Required by (6)
- docspell-joex (optional)
- dpsprep-git (optional)
- phoronix-test-suite-git (optional)
- python-ocrmypdf-papermerge
- riven-original-soundtrack (make)
- stirling-pdf-bin
Sources (1)
Latest Comments
« First ‹ Previous 1 .. 12 13 14 15 16 17 18 19 20 21 22 Next › Last »
jbehmel commented on 2018-09-03 13:55 (UTC)
sagittarius commented on 2018-09-01 09:44 (UTC)
For v7.04,
$ ocrmypdf gives:
Traceback (most recent call last): File "/usr/lib/python3.7/site-packages/pkg_resources/init.py", line 578, in _build_master ws.require(requires) File "/usr/lib/python3.7/site-packages/pkg_resources/init.py", line 895, in require needed = self.resolve(parse_requirements(requirements)) File "/usr/lib/python3.7/site-packages/pkg_resources/init.py", line 786, in resolve raise VersionConflict(dist, req).with_context(dependent_req) pkg_resources.ContextualVersionConflict: (pikepdf 0.3.1 (/usr/lib/python3.7/site-packages), Requirement.parse('pikepdf<0.4,>=0.3.2'), {'ocrmypdf'})
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/usr/bin/ocrmypdf", line 6, in <module> from pkg_resources import load_entry_point File "/usr/lib/python3.7/site-packages/pkg_resources/init.py", line 3105, in <module> @_call_aside File "/usr/lib/python3.7/site-packages/pkg_resources/init.py", line 3089, in _call_aside f(args, *kwargs) File "/usr/lib/python3.7/site-packages/pkg_resources/init.py", line 3118, in _initialize_master_working_set working_set = WorkingSet._build_master() File "/usr/lib/python3.7/site-packages/pkg_resources/init.py", line 580, in _build_master return cls._build_from_requirements(requires) File "/usr/lib/python3.7/site-packages/pkg_resources/init.py", line 593, in _build_from_requirements dists = ws.resolve(reqs, Environment()) File "/usr/lib/python3.7/site-packages/pkg_resources/init.py", line 781, in resolve raise DistributionNotFound(req, requirers) pkg_resources.DistributionNotFound: The 'pikepdf<0.4,>=0.3.2' distribution was not found and is required by ocrmypdf</module></module>
Seems there is an issue with pikepdf<0.4,>=0.3.2 for only 0.3.1 is available
jbarlow commented on 2018-08-26 18:53 (UTC)
Most Linux distributions don't have jbig2enc packaged, so jbig2enc is technically optional to ease packaging. But ArchLinux has already jbig2enc, it should be required, because there's no reason to not take it when it's available.
Further details: https://ocrmypdf.readthedocs.io/en/latest/jbig2.html
bsdice commented on 2018-08-25 20:43 (UTC)
Popular package ;-) (also great software, using it alot)
As per comment by jbarlow on 2018-08-13 22:33 "jbig2enc should be added"
Should jbig2enc be added as a dependency or optional dependency or not at all?
fbrennan commented on 2018-08-24 07:15 (UTC)
python-pytz
is a dependency of python-xmp-toolkit
which is a dependency of ocrmypdf
.
Using an AUR helper, such as yay
, might help with packages that have many AUR dependencies. Updating one AUR package in isolation will not work.
connaisseur commented on 2018-08-24 05:52 (UTC)
Found just out, that an additional dependendcy has rised: python-pytz
Could you please verify / check - and possibly update the PKGBUILD?
bsdice commented on 2018-08-21 15:37 (UTC)
@sleeping Yes, as commented by me at 2018-08-13 04:55
Compare https://github.com/jbarlow83/OCRmyPDF/blob/1e23ea5364f1f39850d72e7a73d233067993dd4a/setup.py#L257
sleeping commented on 2018-08-21 12:38 (UTC)
Missing dependency: python-reportlab
sagittarius commented on 2018-08-18 14:42 (UTC) (edited on 2018-08-18 14:45 (UTC) by sagittarius)
Just for information, I had to rebuild few packages in this order to be able to launch ocrmypdf 7.0.3:
yaourt -S python-ruffus
yaourt -S python-pikepdf
yaourt -S python-xmp-toolkit
yaourt -S img2pdf-git
$ ocrmypdf --version
7.0.3
jbarlow commented on 2018-08-18 06:48 (UTC)
@fbrennan I was using setuptools_scm_git_archive a few years ago, but it was causing some problems (details of which I don't remember), so I removed it. Maybe I should try it again.
Either way, easiest thing to do is wait for PyPI. Normally it's only 20 minutes behind Github.
Pinned Comments
fbrennan commented on 2023-05-12 22:54 (UTC)
The flag was invalid and has been removed with no action taken as no new version was released. There's nothing to do for this package; no new release has been made. Rebuild, as @eclairevoyant has said.