Skip to content
This repository has been archived by the owner on May 20, 2023. It is now read-only.

Commit

Permalink
upgpkg: python-pymupdf 1.21.1-1: Upgrade to 1.21.1.
Browse files Browse the repository at this point in the history
Remove unneeded patch for building against system libs.
Disable test_color_count: pymupdf/PyMuPDF#2127

git-svn-id: file:///srv/repos/svn-community/svn@1359226 9fca08f4-af9d-4005-b8df-a31f2cc04f65
  • Loading branch information
dvzrv authored and svntogit committed Dec 15, 2022
1 parent 7b614c1 commit c3b874c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 21 deletions.
15 changes: 5 additions & 10 deletions trunk/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

_name=PyMuPDF
pkgname=python-pymupdf
pkgver=1.21.0
pkgver=1.21.1
pkgrel=1
pkgdesc="Python bindings for MuPDF's rendering library"
arch=(x86_64)
Expand All @@ -18,17 +18,11 @@ optdepends=(
options=(debug)
source=(
https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz
$pkgname-1.21.0-fix_build.patch
)
sha512sums=('be540106b448cd49eebc9de9123a2f8c1a26037e5bd426b2c07742e1e91892c6c1c031d4fe1e3fcb166a1aa287098912184892d8bd5481982db6c2fc151f13ec'
'654d320712803bb3a06928e19f4db30acc1e5548284e04dcb9e6634739f512157b83bbc91b7c5ef32d58855ddcb823fac45f8087b7e02238736ec02ce4c4c36c')
b2sums=('51d5419326116d9fa7551474422534dff96c5af0e986f2d2e5c2d7722c51eaf5d693b04f894fa332cd7103ac75cb31d11d68fd063f118aa4b1a13696706a6fb5'
'387c599663e2e51ecef635747daa353f2507c8bd44a18513321400c6393493f8d936e25fd63ceaf976718cb530c99c42b5ec6608fcbbed2c9a1e36162a42d6f4')
sha512sums=('863afe65c7f84c941bc040053a09cb14f90d0d7a040c7f2efee94c40c522e959efb91460af8404f0562eb377fae056cd28b9de2b0881a91b9199d09baa6e7e77')
b2sums=('056dc2cab19b120ff5f2dad7c1a71164372565796ce3c419e762b80f93aa130ede06dba7ed6500a28beb4b3de1a161986d091aabf88b44bce27d7e20c3a38308')

prepare() {
# fix issue with setup.py: https://github.com/pymupdf/PyMuPDF/issues/2039
patch -Np1 -d $_name-$pkgver -i ../$pkgname-1.21.0-fix_build.patch

# remove bundled mupdf sources
rm -frv $_name-$pkgver/*.tgz
}
Expand All @@ -51,7 +45,8 @@ check() {

export PYTHONPATH="$_test_dir/$_site_packages:$PYTHONPATH"
# disable broken test: https://github.com/pymupdf/PyMuPDF/issues/2040
pytest -vv -c /dev/null tests/ -k 'not test_textbox3'
# disable broken test: https://github.com/pymupdf/PyMuPDF/issues/2127
pytest -vv -c /dev/null tests/ -k 'not test_textbox3 and not test_color_count'
}

package() {
Expand Down
11 changes: 0 additions & 11 deletions trunk/python-pymupdf-1.21.0-fix_build.patch

This file was deleted.

0 comments on commit c3b874c

Please sign in to comment.