blob: 98352ec3d1886b3a0f426900ad1949724e2f30cd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
# Maintainer: Carlo Landmeter <clandmeter@alpinelinux.org>
pkgname=py3-pikepdf
_pyname=pikepdf
pkgver=1.10.4
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="acdf769eca4f1d7c8044045ddebf3543ec596dfdbb374f29f74339534d7d93a6e8c4d778b09dba7a3868e1efe76ec9954304abc79b6b793fcfb7e3ba878e5440 pikepdf-1.10.4.tar.gz"
|