python3-PyPDF2: update to 1.27.12.

This commit is contained in:
Piotr Wójcik 2022-05-19 19:41:30 +02:00 committed by Piotr
parent e991ee8c77
commit ff643771fd
1 changed files with 18 additions and 8 deletions

View File

@ -1,17 +1,27 @@
# Template file for 'python3-PyPDF2'
pkgname=python3-PyPDF2
version=1.26.0
revision=4
wrksrc="PyPDF2-${version}"
version=1.27.12
revision=1
_sample_files_gitrev=41b5cd4f774f8fbd8ac42d93b9962f0376352a15
create_wrksrc=yes
build_wrksrc="PyPDF2-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3"
short_desc="PDF toolkit"
depends="python3-Pillow"
checkdepends="python3-pytest ${depends}"
short_desc="PDF library for splitting, merging, cropping, and transforming pages"
maintainer="Piotr Wójcik <chocimier@tlen.pl>"
license="BSD-3-Clause"
homepage="http://mstamy2.github.com/PyPDF2"
distfiles="${PYPI_SITE}/P/PyPDF2/PyPDF2-${version}.tar.gz"
checksum=e28f902f2f0a1603ea95ebe21dff311ef09be3d0f0ef29a3e44a932729564385
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
https://github.com/py-pdf/sample-files/archive/${_sample_files_gitrev}.tar.gz"
checksum="20929fad10a3b4890862f65f3a46f563cfdf53132faae5193b54e18658467a60
dc2fb112e800400c7891bcff9d48dc8cae5e8ecf6c5058a2ecea2de09d241e78"
post_extract() {
mv sample-files-${_sample_files_gitrev} ${build_wrksrc}/sample-files
}
post_install() {
vlicense LICENSE