wok-current annotate python-pdfkit/receipt @ rev 20671
Update some WEB_SITE
| author | Pascal Bellard <pascal.bellard@slitaz.org> |
|---|---|
| date | Thu Jan 24 11:33:03 2019 +0100 (2019-01-24) |
| parents | |
| children | 814362194a8d |
| 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@20671 | 14 BUILD_DEPENDS="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 } |