Robin Candau pushed to branch main at Arch Linux / Packaging / Packages / python-pymupdf
Commits: 535acefd by Robin Candau at 2024-05-10T10:03:09+02:00 upgpkg: 1.24.3-1: New upstream release https://github.com/pymupdf/PyMuPDF/releases/tag/1.24.3 - - - - - 3 changed files: - .SRCINFO - PKGBUILD - remove-clang-and-swig-dependencies.patch Changes: ===================================== .SRCINFO ===================================== @@ -1,6 +1,6 @@ pkgbase = python-pymupdf pkgdesc = Python bindings for MuPDF's rendering library - pkgver = 1.24.2 + pkgver = 1.24.3 pkgrel = 1 url = https://github.com/pymupdf/PyMuPDF arch = x86_64 @@ -24,11 +24,11 @@ pkgbase = python-pymupdf depends = python-mupdf optdepends = python-fonttools: for building font subsets using fontTools optdepends = python-pillow: for image file saving using pillow - source = PyMuPDF-1.24.2.tar.gz::https://github.com/pymupdf/PyMuPDF/archive/refs/tags/1.24.2.tar.gz + source = PyMuPDF-1.24.3.tar.gz::https://github.com/pymupdf/PyMuPDF/archive/refs/tags/1.24.3.tar.gz source = remove-clang-and-swig-dependencies.patch - sha512sums = 35fe5ac731aa3b6e8ca8c8468498d48cc8481eedd274b0067f7ca8586201a7a5128aff334ee934eff5214ba0b7f5825c07f30ced3587e43a6465dc7a261c6a27 - sha512sums = fb2da9db1ba9b34ecfe6556d912659c36f9603eefeaa9836d2b692f42952955a6de10d8629a8f2bafd813aaf678782aca12033031b6ccc52c1bc1a4ee5fb897c - b2sums = 9c63a42bad3c82580a7ea83419c9e903d7d9084399a681bb6af51392ffa594917d431f6086ba890cb5d3dfccd5ce4b09fb62d3c4fe01ce3978f3d95e335e8d24 - b2sums = 8c4f93146385bd2e74b8245b4b8d8ece390ef97ad369602adcfcc56c8f9858f4c754886e290f0f6bfea1727fca6897715f3e8eeb961609fdad6fadf57493e354 + sha512sums = a35fdffeaa108c6bd0df30e407eade2699f55865d81e001f88824806b685cce45da5dfa0706d95de9ec44c3b26f99696aacca33e5fda4078180e1df97275936a + sha512sums = 3ad7fcc092288fd973a6fdaff5702919473607bcc6007d1a8e464d613a11a550bb5a06f0ebab8b171e1188be702abbecc999a0ad0d2fca121516b69f7d36bae5 + b2sums = e3d4b79555f22e4adab2d6f18dd9795912da85bf9c9896348c0e112dbacbe3d638a41c3e09260b7abf2dba4b75d00cd934acba2eb9d53e1787ae0c21e60334eb + b2sums = a0307f03e70f18547e095d5f9e80776e7e7ef38da170fa331a77a4465488f619228cd2367976f3be5fced6a77fe5e639c1d321c636b8a8825aa6310787aa1d39 pkgname = python-pymupdf ===================================== PKGBUILD ===================================== @@ -3,7 +3,7 @@ _name=PyMuPDF pkgname=python-pymupdf -pkgver=1.24.2 +pkgver=1.24.3 pkgrel=1 pkgdesc="Python bindings for MuPDF's rendering library" arch=(x86_64) @@ -41,10 +41,10 @@ source=( $_name-$pkgver.tar.gz::$url/archive/refs/tags/$pkgver.tar.gz remove-clang-and-swig-dependencies.patch ) -sha512sums=('35fe5ac731aa3b6e8ca8c8468498d48cc8481eedd274b0067f7ca8586201a7a5128aff334ee934eff5214ba0b7f5825c07f30ced3587e43a6465dc7a261c6a27' - 'fb2da9db1ba9b34ecfe6556d912659c36f9603eefeaa9836d2b692f42952955a6de10d8629a8f2bafd813aaf678782aca12033031b6ccc52c1bc1a4ee5fb897c') -b2sums=('9c63a42bad3c82580a7ea83419c9e903d7d9084399a681bb6af51392ffa594917d431f6086ba890cb5d3dfccd5ce4b09fb62d3c4fe01ce3978f3d95e335e8d24' - '8c4f93146385bd2e74b8245b4b8d8ece390ef97ad369602adcfcc56c8f9858f4c754886e290f0f6bfea1727fca6897715f3e8eeb961609fdad6fadf57493e354') +sha512sums=('a35fdffeaa108c6bd0df30e407eade2699f55865d81e001f88824806b685cce45da5dfa0706d95de9ec44c3b26f99696aacca33e5fda4078180e1df97275936a' + '3ad7fcc092288fd973a6fdaff5702919473607bcc6007d1a8e464d613a11a550bb5a06f0ebab8b171e1188be702abbecc999a0ad0d2fca121516b69f7d36bae5') +b2sums=('e3d4b79555f22e4adab2d6f18dd9795912da85bf9c9896348c0e112dbacbe3d638a41c3e09260b7abf2dba4b75d00cd934acba2eb9d53e1787ae0c21e60334eb' + 'a0307f03e70f18547e095d5f9e80776e7e7ef38da170fa331a77a4465488f619228cd2367976f3be5fced6a77fe5e639c1d321c636b8a8825aa6310787aa1d39') prepare() { # remove bundled mupdf sources @@ -95,12 +95,14 @@ check() { # disable test that shells out to pip: https://github.com/pymupdf/PyMuPDF/issues/2950 --deselect tests/test_font.py::test_fontarchive --deselect tests/test_general.py::test_subset_fonts - # some textbox stuff again - --deselect tests/test_textbox.py::test_textbox3 # we do not care about flake8 --deselect tests/test_flake8.py::test_flake8 # no point testing code quality on our side --deselect tests/test_pylint.py::test_pylint + # some textbox stuff again: https://github.com/pymupdf/PyMuPDF/issues/3398 + --deselect tests/test_textbox.py::test_textbox3 + # broken test as of v1.24.3: https://github.com/pymupdf/PyMuPDF/issues/3460 + --deselect tests/test_balance_count.py::test_q_count ) local _site_packages=$(python -c "import site; print(site.getsitepackages()[0])") ===================================== remove-clang-and-swig-dependencies.patch ===================================== @@ -1,19 +1,19 @@ diff --git a/setup.py b/setup.py -index 5dacd895..17c99cee 100755 +index c28c042..cee46be 100755 --- a/setup.py +++ b/setup.py -@@ -1178,14 +1178,10 @@ def get_requires_for_build_wheel(config_settings=None): - elif darwin and platform.machine() == 'arm64': - print(f'MacOS/arm64: forcing use of libclang 16.0.6 because 18.1.1 known to fail with `clang.cindex.TranslationUnitLoadError: Error parsing translation unit.`') - ret.append('libclang==16.0.6') -- else: -- ret.append('libclang') - if msys2: - print(f'msys2: pip install of swig does not build; assuming `pacman -S swig`.') - elif openbsd: - print(f'OpenBSD: pip install of swig does not build; assuming `pkg_add swig`.') -- else: -- ret.append( 'swig') - return ret - +@@ -1226,14 +1226,10 @@ else: + elif darwin and platform.machine() == 'arm64': + print(f'MacOS/arm64: forcing use of libclang 16.0.6 because 18.1.1 known to fail with `clang.cindex.TranslationUnitLoadError: Error parsing translation unit.`') + ret.append('libclang==16.0.6') +- else: +- ret.append('libclang') + if msys2: + print(f'msys2: pip install of swig does not build; assuming `pacman -S swig`.') + elif openbsd: + print(f'OpenBSD: pip install of swig does not build; assuming `pkg_add swig`.') +- else: +- ret.append( 'swig') + return ret + build_wheel = p.build_wheel View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/python-pymupdf/-/commit/535acefd9d0e409e93fedc8e9c5c81da4c2461e0 -- This project does not include diff previews in email notifications. View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/python-pymupdf/-/commit/535acefd9d0e409e93fedc8e9c5c81da4c2461e0 You're receiving this email because of your account on gitlab.archlinux.org.