wok-current annotate python-pdfkit/receipt @ rev 22887
updated gsoap and gsoap-dev (2.8.81 -> 2.8.98)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Feb 22 17:11:00 2020 +0100 (2020-02-22) |
parents | 6e8b1bcb30e2 |
children | 1df6fa555414 |
rev | line source |
---|---|
pascal@20671 | 1 # SliTaz package receipt. |
pascal@20671 | 2 |
pascal@20671 | 3 PACKAGE="python-pdfkit" |
pascal@20671 | 4 VERSION="0.6.1" |
pascal@20671 | 5 CATEGORY="development" |
pascal@20671 | 6 SHORT_DESC="Wkhtmltopdf python wrapper to convert html to pdf" |
pascal@20671 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@20671 | 8 LICENSE="MIT" |
pascal@20671 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@20671 | 10 WEB_SITE="https://pypi.org/project/pdfkit/" |
pascal@20671 | 11 WGET_URL="https://files.pythonhosted.org/packages/a1/98/6988328f72fe3be4cbfcb6cbfc3066a00bf111ca7821a83dd0ce56e2cf57/pdfkit-$VERSION.tar.gz" |
pascal@20671 | 12 |
pascal@20671 | 13 DEPENDS="python wkhtmltopdf" |
pascal@21582 | 14 BUILD_DEPENDS="python-setuptools" |
pascal@20671 | 15 |
pascal@20671 | 16 # Rules to configure and make the package. |
pascal@20671 | 17 compile_rules() |
pascal@20671 | 18 { |
pascal@20671 | 19 python setup.py build && |
pascal@20671 | 20 python setup.py install --root=$DESTDIR |
pascal@20671 | 21 } |
pascal@20671 | 22 |
pascal@20671 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@20671 | 24 genpkg_rules() |
pascal@20671 | 25 { |
pascal@20671 | 26 mkdir -p $install/usr/share/doc |
pascal@20671 | 27 cp $src/README.rst $install/usr/share/doc |
pascal@20671 | 28 cp -a $install/usr $fs |
pascal@20671 | 29 } |