27 lines
1007 B
Bash
27 lines
1007 B
Bash
# Template file for 'python3-pikepdf'
|
|
pkgname=python3-pikepdf
|
|
version=8.2.1
|
|
revision=2
|
|
build_style=python3-module
|
|
hostmakedepends="python3-pybind11 python3-wheel"
|
|
makedepends="libqpdf-devel python3-pybind11"
|
|
depends="jbig2dec python3-deprecation python3-lxml python3-packaging
|
|
python3-Pillow python3-setuptools"
|
|
checkdepends="poppler python3-dateutil python3-hypothesis python3-psutil
|
|
python3-pytest python3-pytest-timeout python3-pytest-xdist $depends"
|
|
short_desc="Python library for reading and writing PDF files"
|
|
maintainer="Philipp David <pd@3b.pm>"
|
|
license="MPL-2.0"
|
|
homepage="https://github.com/pikepdf/pikepdf"
|
|
changelog="https://raw.githubusercontent.com/pikepdf/pikepdf/master/docs/releasenotes/version${version%%.*}.rst"
|
|
distfiles="${PYPI_SITE}/p/pikepdf/pikepdf-${version}.tar.gz"
|
|
checksum=ec6fb1bc37d1bd4c4f70ab13fc685787f21b498b92ae93215df23471c55401de
|
|
|
|
pre_check() {
|
|
cp -r src/pikepdf.egg-info "$(cd build/lib* && pwd)"
|
|
}
|
|
|
|
post_check() {
|
|
rm -r "$(cd build/lib* && pwd)/pikepdf.egg-info"
|
|
}
|