Search Criteria
Package Details: python-pypdf2 2:3.0.1-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/python-pypdf2.git (read-only, click to copy) |
---|---|
Package Base: | python-pypdf2 |
Description: | Python library for manipulating pages of PDF files (legacy v2) |
Upstream URL: | https://pypi.org/project/PyPDF2 |
Licenses: | BSD |
Submitter: | arojas |
Maintainer: | fryfrog (bulletmark) |
Last Packager: | fryfrog |
Votes: | 32 |
Popularity: | 0.093428 |
First Submitted: | 2019-07-30 05:58 (UTC) |
Last Updated: | 2024-09-22 16:37 (UTC) |
Dependencies (6)
- python-pillow (python-pillow-gitAUR)
- python-typing_extensions
- python-build (make)
- python-flit-core (make)
- python-installer (python-installer-gitAUR) (make)
- python-wheel (make)
Required by (26)
- bookletimposer
- caj2pdf-git
- email2pdf
- kraft (optional)
- kraft-git
- krop-git (optional)
- lens_calibrate
- nautilus-columns-git
- nemo-media-columns-git
- odoo
- pdfgui_tools-bin
- pdfposter
- pdfposter-git
- pdf_translator
- python-camelot-git
- python-drizzlepac
- python-drizzlepac (check)
- python-mapnik
- python-pdfjinjax
- python-pdfnup
- spiderfoot
- springerdownload-git
- stapler
- stapler-git
- tear-pages
- truepolyglot
Latest Comments
« First ‹ Previous 1 2 3 4 5 6 Next › Last »
fryfrog commented on 2024-07-10 22:39 (UTC)
Hey @TurtleRuss, could you add
conflicts=('python-pypdf')
?TrialnError commented on 2024-06-04 20:16 (UTC)
That should work. But still doesn't really the answer the question, why this PKGBUILD was updated and brought alongside
python-pypdf
. If there is a python program, which needspypdf >3.0.0
to work it needs to depend onpython-pypdf
and not this. If it is somehow really checking for pypdf2 and still requires >3.0.0 to work, this should be brought up upstream, as there may be something going wrong.alan1world commented on 2024-05-26 00:49 (UTC)
Try this for the PKGBUILD:
bulletmark commented on 2024-05-24 22:29 (UTC) (edited on 2024-05-24 22:30 (UTC) by bulletmark)
@TurtleRuss, yes TriainError is correct. Please restore this package back to 2.12.1. You will have to bump the epoch to 2. Perhaps also change the
url
in thePKGBUILD
to https://pypi.org/project/PyPDF2/ which is more appropriate now. The current 4.2.0 version is available in the standard packages at python-pypdf which you have inadvertently duplicated.TrialnError commented on 2024-05-24 17:38 (UTC)
Isn't this package now broken for other programs that requires pypdf2 with the bump to the latest release? It was deliberatly left at version 2.x, because afterwards upstream unified the various pypdf project attempts and 3.x and forward weren't compatible with the old API?
https://github.com/py-pdf/pypdf/pull/1489
Of note is that 3.0.0 apparantly already broke things and therefore this was left at the latest 2.x release.
Didn't test with stapler-git yet, but for that reason also avoiding to build a new package pypdf2 package because I am still irritated why this legacy got updated to the latest version of pypdf (which is not pypdf2).
simon.wiles commented on 2024-05-24 04:35 (UTC)
Yeah this package as been completely borked with the recent change; thank you @alan1world for the fix :)
alan1world commented on 2024-05-23 18:12 (UTC) (edited on 2024-05-23 18:12 (UTC) by alan1world)
Using patch, the PKGBUILD would look something like this:
and the patch (PyPDF2-4.2.0.patch) would look like:
alan1world commented on 2024-05-23 17:52 (UTC) (edited on 2024-05-23 17:52 (UTC) by alan1world)
The repo now builds to a site library folder of pypdf rather than PyPDF2, causing a conflict with the pypdf package.
This package could be marked with a conflict against the python-pypdf package. However, since this is the legacy package with a lot of applications expecting to import from PyPDF2, it would be preferable to amend the package to build to PyPDF2.
No changes are needed to the package build, I made the changes manually (because I can't remember how to build a patch file) and re-ran with makepkg -e.
Changes:
Those changes build to a site-library folder of PyPDF2.
Using bookletimposer as a test, this now runs.
bulletmark commented on 2023-01-20 07:15 (UTC)
Actually, I just pushed 1:2.12.1-3 which changes the name of the download file and thus forces it to be re-downloaded to avoid this issue for any future users who may still have the old file cached.
« First ‹ Previous 1 2 3 4 5 6 Next › Last »