python3-pypdf: update to 3.11.0.

This commit is contained in:
Piotr Wójcik 2023-06-23 21:33:41 +02:00
parent ca3d523959
commit f5840afbc3

View file

@ -1,13 +1,15 @@
# Template file for 'python3-pypdf'
pkgname=python3-pypdf
version=3.7.1
version=3.11.0
revision=1
_sample_files_gitrev=d89d531f4bed7c5e692e4c094645133baf50a044
_sample_files_gitrev=69b31cff6b183a42f9081709ef9bee4047976f56
build_wrksrc="pypdf-${version}"
build_style=python3-pep517
# requires unpackaged fpdf2
make_check_args="-k not(test_compression)"
hostmakedepends="python3-flit_core"
depends="python3-Pillow"
checkdepends="python3-pytest python3-pycryptodome ${depends}"
checkdepends="python3-pytest python3-pytest-timeout python3-pycryptodome ${depends}"
short_desc="PDF library for splitting, merging, cropping, and transforming pages"
maintainer="Piotr Wójcik <chocimier@tlen.pl>"
license="BSD-3-Clause"
@ -15,8 +17,8 @@ homepage="https://pypdf.readthedocs.io/en/latest/"
changelog="https://raw.githubusercontent.com/py-pdf/pypdf/main/CHANGELOG.md"
distfiles="https://github.com/py-pdf/pypdf/archive/refs/tags/${version}.tar.gz
https://github.com/py-pdf/sample-files/archive/${_sample_files_gitrev}.tar.gz"
checksum="c9d28daa1d8acedd4a63570df1ea5548da3022eb9c066c080e607dcae82e6bfa
4e5a055c0b6f8b7f37730456e4c376aa62afba44c439698cc6135c3906489c8e"
checksum="bde551e6951ae65e9df119d261e4ce2d1c7aa5acfd3a24b33d5d797a8d65c03a
0167f2e32e27fe6ad9c27ea7378f82f47fb53df3f5ccf63a9fde5c5924e49053"
post_extract() {
rmdir ${build_wrksrc}/sample-files