wok view pypdf2/receipt @ rev 20518
Up openssh (7.9p1), opus (1.3), opus-tools (0.2), zstd (1.3.7)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Nov 02 15:37:03 2018 +0100 (2018-11-02) |
parents | d1bbfbf0568c |
children | 5ea0ce1cecc0 |
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 # Rules to configure and make the package.
17 compile_rules()
18 {
19 python setup.py build
20 python setup.py install --root=$DESTDIR
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 cp -a $install/usr $fs/
27 mkdir -p $install/usr/share/doc
28 cp $src/[CLM]* $src/README* $install/usr/share/doc
29 }