wok-6.x view python-pdfkit/receipt @ rev 21024
gyrus: TARBALL modified
author | Hans-G?nter Theisgen |
---|---|
date | Sun Mar 10 16:14:31 2019 +0100 (2019-03-10) |
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 }