python3-PyPDF2: rename to python3-pypdf, update to 3.4.1.
This commit is contained in:
parent
8568c593a2
commit
87f3b04582
|
@ -0,0 +1 @@
|
|||
python3-pypdf
|
|
@ -1,29 +0,0 @@
|
|||
# Template file for 'python3-PyPDF2'
|
||||
pkgname=python3-PyPDF2
|
||||
version=2.11.1
|
||||
revision=2
|
||||
_sample_files_gitrev=fee1d72f36bfb73fec831a1cc6de273510a306a6
|
||||
create_wrksrc=yes
|
||||
build_wrksrc="PyPDF2-${version}"
|
||||
build_style=python3-module
|
||||
hostmakedepends="python3-setuptools"
|
||||
depends="python3-Pillow"
|
||||
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.md"
|
||||
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="a4e323120adc5103d53c370782bfc86381143ea7b69e9213eb1263c7aaf39df8
|
||||
24e5b1edaf78628f5267d4aed241795f3f1143e7fa0934f80be02a6c802296d7"
|
||||
|
||||
post_extract() {
|
||||
rmdir ${build_wrksrc}/sample-files
|
||||
mv sample-files-${_sample_files_gitrev} ${build_wrksrc}/sample-files
|
||||
}
|
||||
|
||||
post_install() {
|
||||
vlicense LICENSE
|
||||
}
|
|
@ -0,0 +1,34 @@
|
|||
# Template file for 'python3-pypdf'
|
||||
pkgname=python3-pypdf
|
||||
version=3.4.1
|
||||
revision=1
|
||||
_sample_files_gitrev=372294b066cd3fbb4fb12fd9000ef935a2a86fcf
|
||||
build_wrksrc="pypdf-${version}"
|
||||
build_style=python3-pep517
|
||||
hostmakedepends="python3-flit_core"
|
||||
depends="python3-Pillow"
|
||||
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://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="14be5809a8df46adb40c7f510ee7aa8206b7658f0388276e54ba658b188e0d9a
|
||||
cf6e64e36e843dfd25d53872203367e9419beb653470da629cc76efc0e4f044b"
|
||||
|
||||
post_extract() {
|
||||
rmdir ${build_wrksrc}/sample-files
|
||||
mv sample-files-${_sample_files_gitrev} ${build_wrksrc}/sample-files
|
||||
}
|
||||
|
||||
post_install() {
|
||||
vlicense LICENSE
|
||||
}
|
||||
|
||||
python3-PyPDF2_package() {
|
||||
depends="${sourcepkg}>=${version}_${revision}"
|
||||
build_style=meta
|
||||
short_desc+=" (transitional dummy package)"
|
||||
}
|
Loading…
Reference in New Issue