[arch-commits] Commit in python-pikepdf/trunk (PKGBUILD)
Antonio Rojas
arojas at gemini.archlinux.org
Thu Jun 9 16:03:05 UTC 2022
Date: Thursday, June 9, 2022 @ 16:03:05
Author: arojas
Revision: 1229692
Update to 5.1.4
Modified:
python-pikepdf/trunk/PKGBUILD
----------+
PKGBUILD | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-06-09 15:41:26 UTC (rev 1229691)
+++ PKGBUILD 2022-06-09 16:03:05 UTC (rev 1229692)
@@ -3,8 +3,9 @@
# Contributor: Stephan Eisvogel <eisvogel at embinet dot de>
pkgname=python-pikepdf
-pkgver=5.1.3
+pkgver=5.1.4
pkgrel=1
+_commit=caaf1119784b32f8b68d26b2c05a8fc2bea5ad89
pkgdesc='Read and write PDFs with Python, powered by qpdf'
arch=(x86_64)
url='https://github.com/pikepdf/pikepdf'
@@ -13,7 +14,7 @@
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=('c34e4239661d2ddf23caa1c4256f636c866ce8069a5052a2bf8ee06e3cae22f3')
+sha256sums=('a740c0c14c8bb05221d6d7f87d20f186f50907b2b114531177b0d5733d6c01fd')
build() {
cd pikepdf-$pkgver
@@ -22,8 +23,9 @@
check() {
cd pikepdf-$pkgver
- PYTHONPATH="${PWD}/$(echo build/lib.*)" \
- pytest -v
+ python -m venv --system-site-packages test-env
+ test-env/bin/python -m installer dist/*.whl
+ test-env/bin/python -m pytest
}
package() {
More information about the arch-commits
mailing list