Search Criteria
Package Details: python2-pymupdf 1.16.10-1
Git Clone URL: | https://aur.archlinux.org/python2-pymupdf.git (read-only, click to copy) |
---|---|
Package Base: | python2-pymupdf |
Description: | Python bindings for MuPDF |
Upstream URL: | https://github.com/pymupdf/PyMuPDF |
Licenses: | |
Submitter: | nabla |
Maintainer: | None |
Last Packager: | cges30901 |
Votes: | 5 |
Popularity: | 0.000020 |
First Submitted: | 2015-12-07 14:49 |
Last Updated: | 2019-12-26 14:55 |
Dependencies (8)
- freetype2 (freetype2-v35, freetype2-old-hinting, freetype2-infinality, freetype2-ttmetrics, freetype2-ultimate5, freetype2-infinality-remix, freetype2-git, freetype2-minimal-git)
- jbig2dec
- libjpeg-turbo (mozjpeg-git, libjpeg-turbo-git, libjpeg-turbo-minimal-git, mozjpeg)
- openjpeg2 (openjpeg-git)
- python2
- python2-setuptools (make)
- libmupdf<1.17 (libmupdf-pymupdf) (make)
- libmupdf>=1.16 (libmupdf-pymupdf) (make)
Latest Comments
« First ‹ Previous 1 2
wenbushi commented on 2019-01-20 09:48
@akobel: By convention python-pymupdf implies python3-pymupdf. Is it really necessary to put python2-pymupdf and python3-pymupdf together in one PKGBUILD?
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 thePKGBUILD
'spackage
commands forpip
andpip2
; that is, replace the two occurences ofinstall --root="${pkgdir}"
byinstall --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...