python3-pypdf: update to 3.17.4.

This commit is contained in:
icp 2023-10-05 01:18:44 +05:30 committed by classabbyamp
parent c0d6b4bbf4
commit 0bd3a22305

View File

@ -1,15 +1,17 @@
# Template file for 'python3-pypdf'
pkgname=python3-pypdf
version=3.14.0
revision=2
_sample_files_gitrev=5b5ee6b0e9bf4b683490351b1e15e01d6553da7b
version=3.17.4
revision=1
_sample_files_gitrev=964fb47b0fbfa89864680582640ae4eedf143890
build_wrksrc="pypdf-${version}"
build_style=python3-pep517
# requires unpackaged fpdf2
make_check_args="-k not(test_compression)"
# requires unpackaged pytest-socket, fpdf2
make_check_args="-m not(enable_socket) --deselect tests/test_page.py::test_compression
--deselect tests/test_writer.py::test_merging_many_temporary_files"
hostmakedepends="python3-flit_core"
depends="python3-Pillow"
checkdepends="python3-pytest python3-pytest-timeout python3-pycryptodome ${depends}"
checkdepends="python3-pytest python3-pytest-timeout python3-pycryptodome
python3-yaml ${depends}"
short_desc="PDF library for splitting, merging, cropping, and transforming pages"
maintainer="Piotr Wójcik <chocimier@tlen.pl>"
license="BSD-3-Clause"
@ -17,8 +19,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="b3a340430faa9a8fb610240b74132f3ce3aa0c4b7e5436776a0c3202db00aae6
9b9b3b8b4735c87d79bcd17e35312613cdaf1f6bc41c00c4b278b3157bda26ce"
checksum="ccc89b7b732192e66028cb6ff468a6b25279f53cfecf037b074775de38d88062
2200786fd7b5244785fd77268f7d79ec38238dbcc76b0e162e2eb197b45351fd"
post_extract() {
rmdir ${build_wrksrc}/sample-files