wok diff python-pdfkit/receipt @ rev 21314

5) lxpanel: up (0.10.0)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Apr 18 17:46:06 2019 +0300 (2019-04-18)
parents
children 814362194a8d
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/python-pdfkit/receipt	Thu Apr 18 17:46:06 2019 +0300
     1.3 @@ -0,0 +1,29 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="python-pdfkit"
     1.7 +VERSION="0.6.1"
     1.8 +CATEGORY="development"
     1.9 +SHORT_DESC="Wkhtmltopdf python wrapper to convert html to pdf"
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +LICENSE="MIT"
    1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.13 +WEB_SITE="https://pypi.org/project/pdfkit/"
    1.14 +WGET_URL="https://files.pythonhosted.org/packages/a1/98/6988328f72fe3be4cbfcb6cbfc3066a00bf111ca7821a83dd0ce56e2cf57/pdfkit-$VERSION.tar.gz"
    1.15 +
    1.16 +DEPENDS="python wkhtmltopdf"
    1.17 +BUILD_DEPENDS="setuptools"
    1.18 +
    1.19 +# Rules to configure and make the package.
    1.20 +compile_rules()
    1.21 +{
    1.22 +	python setup.py build &&
    1.23 +	python setup.py install --root=$DESTDIR
    1.24 +}
    1.25 +
    1.26 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.27 +genpkg_rules()
    1.28 +{
    1.29 +	mkdir -p $install/usr/share/doc
    1.30 +	cp $src/README.rst $install/usr/share/doc
    1.31 +	cp -a $install/usr $fs
    1.32 +}