wok-6.x annotate python-qrcode/receipt @ rev 24271
updated perl-yaml-syck (1.32 -> 1.34)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Jan 02 10:42:49 2022 +0100 (2022-01-02) |
parents | 814362194a8d |
children | 104a2a2e5484 |
rev | line source |
---|---|
pascal@15477 | 1 # SliTaz package receipt. |
pascal@15477 | 2 |
pascal@15477 | 3 PACKAGE="python-qrcode" |
Hans-G?nter@23551 | 4 VERSION="6.1" |
pascal@15477 | 5 CATEGORY="development" |
pascal@15477 | 6 SHORT_DESC="Python QR Code image generator." |
pascal@15477 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15477 | 8 LICENSE="PSL" |
Hans-G?nter@23551 | 9 WEB_SITE="https://pypi.python.org/pypi/qrcode" |
Hans-G?nter@23551 | 10 |
Hans-G?nter@23551 | 11 SOURCE="qrcode" |
pascal@15477 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@23551 | 13 WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL" |
pascal@15477 | 14 |
pascal@15502 | 15 DEPENDS="python python-pil python-six" |
Hans-G?nter@23551 | 16 BUILD_DEPENDS="python python-dev python-setuptools" |
pascal@15477 | 17 |
pascal@15477 | 18 # Rules to configure and make the package. |
pascal@15477 | 19 compile_rules() |
pascal@15477 | 20 { |
pascal@15477 | 21 python setup.py build && |
pascal@15477 | 22 python setup.py install --root=$DESTDIR |
pascal@15477 | 23 } |
pascal@15477 | 24 |
pascal@15477 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@15477 | 26 genpkg_rules() |
pascal@15477 | 27 { |
Hans-G?nter@23551 | 28 cp -a $install/usr $fs |
pascal@15477 | 29 } |