wok view pypdf2/receipt @ rev 24742

updated libffcall (2.2 -> 2.4)
author Hans-G?nter Theisgen
date Wed Mar 16 10:31:26 2022 +0100 (2022-03-16)
parents 9dc7e658f193
children 0262035dc1e7
line source
1 # SliTaz package receipt.
3 PACKAGE="pypdf2"
4 VERSION="1.26.0"
5 CATEGORY="development"
6 SHORT_DESC="A utility to read and write PDFs with Python."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="BSD"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://github.com/mstamy2/PyPDF2"
11 WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz"
13 DEPENDS="python"
14 BUILD_DEPENDS="python"
16 current_version()
17 {
18 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
19 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
20 }
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 python setup.py build
26 python setup.py install --root=$DESTDIR
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 cp -a $install/usr $fs/
33 mkdir -p $install/usr/share/doc
34 cp $src/[CLM]* $src/README* $install/usr/share/doc
35 }