Date: Tuesday, March 29, 2022 @ 22:11:17 Author: arojas Revision: 1177697
Update to 5.1.1, run tests Modified: python-pikepdf/trunk/PKGBUILD ----------+ PKGBUILD | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2022-03-29 21:46:00 UTC (rev 1177696) +++ PKGBUILD 2022-03-29 22:11:17 UTC (rev 1177697) @@ -3,7 +3,7 @@ # Contributor: Stephan Eisvogel <eisvogel at embinet dot de> pkgname=python-pikepdf -pkgver=5.1.0 +pkgver=5.1.1 pkgrel=1 pkgdesc='Read and write PDFs with Python, powered by qpdf' arch=(x86_64) @@ -11,8 +11,9 @@ license=(MPL2) makedepends=(pybind11 python-build python-installer python-wheel python-toml python-setuptools-scm-git-archive) depends=(python-lxml python-pillow qpdf) +checkdepends=(python-pytest-xdist python-hypothesis) source=(https://pypi.python.org/packages/source/p/pikepdf/pikepdf-$pkgver.tar.gz) -sha256sums=('559b3d502cc1a6813cbcb0766b0797fec034303f8f9b0734cf938fb1734e2b74') +sha256sums=('710535c679ab0d7b8249f72247832773e7a9a121dfbe9cad7f6465bd9bb45fae') build() { cd pikepdf-$pkgver @@ -19,6 +20,12 @@ python -m build --wheel --no-isolation } +check() { + cd pikepdf-$pkgver + PYTHONPATH="${PWD}/$(echo build/lib.*)" \ + pytest -v +} + package() { cd pikepdf-$pkgver python -m installer --destdir="$pkgdir" dist/*.whl
