python3-pypdf: update to 3.5.2.

This commit is contained in:
icp 2023-03-18 01:05:23 +05:30 committed by Chocimier
parent 752d1c2e2e
commit 12b807afc8

View file

@ -1,6 +1,6 @@
# Template file for 'python3-pypdf'
pkgname=python3-pypdf
version=3.5.0
version=3.5.2
revision=1
_sample_files_gitrev=372294b066cd3fbb4fb12fd9000ef935a2a86fcf
build_wrksrc="pypdf-${version}"
@ -15,12 +15,15 @@ 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="07760d7e641a815d9b240d93f2c10a830c0e61061ac83b08b1366082449c49ae
checksum="f602bd26e52cc99926eacfcaff076140c7f0fa3f19dc6b72e6559ebe25abf20a
cf6e64e36e843dfd25d53872203367e9419beb653470da629cc76efc0e4f044b"
post_extract() {
rmdir ${build_wrksrc}/sample-files
mv sample-files-${_sample_files_gitrev} ${build_wrksrc}/sample-files
# requires unpackaged pytest-socket
vsed -e '/addopts/d' -i ${build_wrksrc}/pyproject.toml
}
post_install() {