python3-pikepdf: update to 5.4.0.

This commit is contained in:
Philipp David 2022-07-20 12:28:17 +02:00 committed by classabbyamp
parent f35af59e36
commit c9d46aeb49

View file

@ -1,21 +1,22 @@
# Template file for 'python3-pikepdf' # Template file for 'python3-pikepdf'
pkgname=python3-pikepdf pkgname=python3-pikepdf
version=5.1.3 version=5.4.0
revision=1 revision=1
wrksrc="pikepdf-${version}" wrksrc="pikepdf-${version}"
build_style=python3-module build_style=python3-module
hostmakedepends="python3-pybind11 python3-setuptools_scm python3-wheel" hostmakedepends="python3-pybind11 python3-setuptools_scm python3-wheel"
makedepends="libqpdf-devel python3-pybind11" makedepends="libqpdf-devel python3-pybind11"
depends="python3-lxml python3-packaging python3-Pillow python3-setuptools" depends="jbig2dec python3-deprecation python3-lxml python3-packaging
checkdepends="python3-dateutil python3-hypothesis python3-psutil python3-pytest python3-Pillow python3-setuptools"
$depends" 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" short_desc="Python library for reading and writing PDF files"
maintainer="Philipp David <pd@3b.pm>" maintainer="Philipp David <pd@3b.pm>"
license="MPL-2.0" license="MPL-2.0"
homepage="https://github.com/pikepdf/pikepdf" homepage="https://github.com/pikepdf/pikepdf"
distfiles="${PYPI_SITE}/p/pikepdf/pikepdf-${version}.tar.gz" distfiles="${PYPI_SITE}/p/pikepdf/pikepdf-${version}.tar.gz"
checksum=c34e4239661d2ddf23caa1c4256f636c866ce8069a5052a2bf8ee06e3cae22f3 checksum=d397a061959a5cd7d9869a381dda005eccfef59c33dd3eba6a8e19ce036168be
pre_build() { pre_check() {
vsed -e '/setuptools_scm_git_archive/d' -i setup.py cp -r src/pikepdf.egg-info "$(cd build/lib* && pwd)"
} }