Package Base Details: python2-pymupdf

Git Clone URL: https://aur.archlinux.org/python2-pymupdf.git (read-only)
Submitter: nabla
Maintainer: cges30901
Last Packager: cges30901
Votes: 6
Popularity: 1.35
First Submitted: 2015-12-07 14:49
Last Updated: 2019-11-09 14:12

Latest Comments

« First ‹ Previous 1 2

akobel commented on 2019-01-14 14:40

@wenbushi: Note that the failure has nothing to do with the fact that both the Python 2 and 3 versions are built from the same PKGBUILD; it's because this build uses the wheel distributed upstream rather than building from source.

wenbushi commented on 2019-01-14 12:44

Maybe it's more convenient to separate python-pymupdf and python2-mupdf as two packages.

akobel commented on 2019-01-09 11:32

Indeed. Problem is that the previous version is visible during the makepkg stage, and pip tries to uninstall it, but isn't (and shouldn't be) allowed to; the former version gets removed when the new package gets installed, not when it's built.

Workaround: first uninstall python{,2}-pymupdf, then re-install the new version.

Fix: add --ignore-installed in the PKGBUILD's package commands for pip and pip2; that is, replace the two occurences of install --root="${pkgdir}" by install --root="${pkgdir}" --ignore-installed.

marlemion commented on 2019-01-09 07:49

Package build fails with makepkg:

makepkg ==> Making package: python2-pymupdf 1.14.5-1 (Wed Jan 9 08:49:17 2019) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Retrieving sources... -> Found PyMuPDF-1.14.5-cp27-cp27mu-manylinux1_x86_64.whl -> Found PyMuPDF-1.14.5-cp37-cp37m-manylinux1_x86_64.whl ==> Validating source files with sha256sums... PyMuPDF-1.14.5-cp27-cp27mu-manylinux1_x86_64.whl ... Passed PyMuPDF-1.14.5-cp37-cp37m-manylinux1_x86_64.whl ... Passed ==> Extracting sources... ==> Removing existing $pkgdir/ directory... ==> Entering fakeroot environment... ==> Starting package_python2-pymupdf()... Processing ./PyMuPDF-1.14.5-cp27-cp27mu-manylinux1_x86_64.whl Installing collected packages: PyMuPDF Found existing installation: PyMuPDF 1.13.19 Uninstalling PyMuPDF-1.13.19: Could not install packages due to an EnvironmentError: [Errno 13] Permission denied: '/usr/lib/python2.7/site-packages/PyMuPDF-1.13.19.dist-info/INSTALLER' Consider using the --user option or check the permissions.

==> ERROR: A failure occurred in package_python2-pymupdf(). Aborting...