python3-PyPDF2: update to 2.4.1.

This commit is contained in:
Piotr Wójcik 2022-07-05 18:33:05 +02:00
parent d2a783f901
commit 6edb4d1560
1 changed files with 7 additions and 6 deletions

View File

@ -1,25 +1,26 @@
# Template file for 'python3-PyPDF2'
pkgname=python3-PyPDF2
version=1.27.12
version=2.4.1
revision=1
_sample_files_gitrev=41b5cd4f774f8fbd8ac42d93b9962f0376352a15
_sample_files_gitrev=4d24ff93dcddf21d55d028d9675d5b5bf9d7a350
create_wrksrc=yes
build_wrksrc="PyPDF2-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3-Pillow"
checkdepends="python3-pytest ${depends}"
checkdepends="python3-pytest 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"
homepage="https://pypdf2.readthedocs.io/en/latest/"
changelog="https://raw.githubusercontent.com/py-pdf/PyPDF2/main/CHANGELOG"
distfiles="${PYPI_SITE}/P/PyPDF2/PyPDF2-${version}.tar.gz
distfiles="https://github.com/py-pdf/PyPDF2/archive/refs/tags/${version}.tar.gz
https://github.com/py-pdf/sample-files/archive/${_sample_files_gitrev}.tar.gz"
checksum="20929fad10a3b4890862f65f3a46f563cfdf53132faae5193b54e18658467a60
dc2fb112e800400c7891bcff9d48dc8cae5e8ecf6c5058a2ecea2de09d241e78"
checksum="ec3b2792744c2bac3a51e1e3646b491e3b9374575e0e9361fcb4ec6756fb2061
04257ac9185da140a3463e1efd049ffe1ad2a9a8224375c13f2b5aec02f4f672"
post_extract() {
rmdir ${build_wrksrc}/sample-files
mv sample-files-${_sample_files_gitrev} ${build_wrksrc}/sample-files
}