wok view python-pdfkit/receipt @ rev 21754
Up firefox-official (67.0.3), tinyproxy (1.10.0)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jun 19 17:26:14 2019 +0200 (2019-06-19) |
parents | 6e8b1bcb30e2 |
children | 1df6fa555414 |
line source
1 # SliTaz package receipt.
3 PACKAGE="python-pdfkit"
4 VERSION="0.6.1"
5 CATEGORY="development"
6 SHORT_DESC="Wkhtmltopdf python wrapper to convert html to pdf"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="MIT"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://pypi.org/project/pdfkit/"
11 WGET_URL="https://files.pythonhosted.org/packages/a1/98/6988328f72fe3be4cbfcb6cbfc3066a00bf111ca7821a83dd0ce56e2cf57/pdfkit-$VERSION.tar.gz"
13 DEPENDS="python wkhtmltopdf"
14 BUILD_DEPENDS="python-setuptools"
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 mkdir -p $install/usr/share/doc
27 cp $src/README.rst $install/usr/share/doc
28 cp -a $install/usr $fs
29 }