[arch-commits] Commit in python-pymupdf/trunk (PKGBUILD)

David Runge dvzrv at gemini.archlinux.org
Thu Jun 23 08:42:46 UTC 2022


    Date: Thursday, June 23, 2022 @ 08:42:45
  Author: dvzrv
Revision: 1239226

upgpkg: python-pymupdf 1.20.0-1: Upgrade to 1.20.0.

Remove ignoring of tests. 1.20.0 fixes all of them.

Modified:
  python-pymupdf/trunk/PKGBUILD

----------+
 PKGBUILD |   17 ++++++-----------
 1 file changed, 6 insertions(+), 11 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-06-23 08:41:04 UTC (rev 1239225)
+++ PKGBUILD	2022-06-23 08:42:45 UTC (rev 1239226)
@@ -2,7 +2,7 @@
 
 _name=PyMuPDF
 pkgname=python-pymupdf
-pkgver=1.19.6
+pkgver=1.20.0
 pkgrel=1
 pkgdesc="Python bindings for MuPDF's rendering library"
 arch=(x86_64)
@@ -10,11 +10,11 @@
 license=(AGPL3)
 depends=(glibc gumbo-parser jbig2dec libmupdf openjpeg2 python)
 makedepends=(freetype2 libjpeg-turbo python-distro python-build python-installer python-setuptools python-wheel swig systemd)
-checkdepends=(python-pillow python-pytest)
+checkdepends=(python-fonttools python-pillow python-pytest)
 options=(debug)
 source=(https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz)
-sha512sums=('bd597bcb53c0a86aea41600dcd5231a08a422fb4517b3c07c3fe4b359e9d32977565c389bda199056582c4c5a55acc57c86a00c15822bc96cc266fb1211c9c68')
-b2sums=('584dfc11bafe6c8bfe2571e2e06a1ee5a5ea5bf3a4e234bc9173d398fa3d869a4a1dccba4a39a98f4f9c4d76e7a5b06cd8b826f494be2dafb010c6848682d81f')
+sha512sums=('f6bae4da11b143cec441302ed19032d1d008fe6846d7ae219665064f2307be8d0990dda0ff3a8c7e63ccc223bb71401c6f8d4bb21df7ab321aec98c4683d4686')
+b2sums=('f81380a3b43e229d283d18b90d09b68acf8235708c7ae2adb130d3c014586ca02ecc30ab0dff7ba368a53202772592c85920bfd703435ac2c2f5622eefd8a58c')
 
 build() {
   cd $_name-$pkgver
@@ -31,12 +31,7 @@
   python -m installer --destdir="$_test_dir" dist/*.whl
 
   export PYTHONPATH="$_test_dir/$_site_packages:$PYTHONPATH"
-  # disable failing tests: https://github.com/pymupdf/PyMuPDF/issues/1664
-  # disable tests that SIGABRT pytest: https://github.com/pymupdf/PyMuPDF/issues/1663
-  pytest -vv \
-    -k "not test_pageids \
-        and not test_textbox3 \
-        and not test_checkbox and not test_combobox"
+  pytest -vv -c /dev/null tests/
 }
 
 package() {
@@ -44,5 +39,5 @@
 
   cd $_name-$pkgver
   python -m installer --destdir="$pkgdir" dist/*.whl
-  install -vDm 644 README.md -t "$pkgdir/usr/share/doc/$pkgname"
+  install -vDm 644 README.md -t "$pkgdir/usr/share/doc/$pkgname/"
 }



More information about the arch-commits mailing list