# Maintainer: Carlo Landmeter pkgname=py3-pikepdf _pyname=pikepdf pkgver=1.6.5 pkgrel=0 pkgdesc="A Python library for reading and writing PDF" url=https://github.com/pikepdf/pikepdf arch=all license="MPL-2.0" depends="python3 py3-lxml py3-pybind11>=2.4.3" makedepends="py3-pybind11-dev py3-setuptools python3-dev qpdf-dev" _pypiprefix="${_pyname%${_pyname#?}}" source="https://files.pythonhosted.org/packages/source/$_pypiprefix/$_pyname/$_pyname-$pkgver.tar.gz" builddir=$srcdir/$_pyname-$pkgver options="!check" # tests fail to import pikepdf build() { python3 setup.py build } package() { python3 setup.py install --prefix=/usr --root="$pkgdir" } sha512sums="8233473ca017befe8a1bec8d099420746dec5d8d199666a4575ec4aff9af78c72ee3b65f432ad186acf7d4bd0a2df801ad09e542c643a615facbdcb5710f2483 pikepdf-1.6.5.tar.gz"