wok-current view python-pdfkit/receipt @ rev 21516
updated nagvis and nagvis-doc (1.5.7 -> 1.9.11)
author | Hans-G?nter Theisgen |
---|---|
date | Fri May 03 13:39:55 2019 +0100 (2019-05-03) |
parents | |
children | 814362194a8d |
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="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 }