wok-current annotate python-qrcode/receipt @ rev 15479
python-qrcode: update bdeps (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Nov 10 10:36:42 2013 +0000 (2013-11-10) |
parents | 0b592dc3c0d4 |
children | 3ef10cee1665 |
rev | line source |
---|---|
pascal@15477 | 1 # SliTaz package receipt. |
pascal@15477 | 2 |
pascal@15477 | 3 PACKAGE="python-qrcode" |
pascal@15477 | 4 SOURCE="qrcode" |
pascal@15477 | 5 VERSION="4.0.4" |
pascal@15477 | 6 CATEGORY="development" |
pascal@15477 | 7 SHORT_DESC="Python QR Code image generator." |
pascal@15477 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15477 | 9 LICENSE="PSL" |
pascal@15477 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@15477 | 11 WEB_SITE="https://pypi.python.org/pypi/qrcode" |
pascal@15479 | 12 WGET_URL="https://pypi.python.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL" |
pascal@15477 | 13 |
pascal@15477 | 14 DEPENDS="python python-pil" |
pascal@15479 | 15 BUILD_DEPENDS="python-dev python wget setuptools" |
pascal@15477 | 16 |
pascal@15477 | 17 # Rules to configure and make the package. |
pascal@15477 | 18 compile_rules() |
pascal@15477 | 19 { |
pascal@15477 | 20 cd $src |
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 { |
pascal@15477 | 28 cp -a $install/usr $fs |
pascal@15477 | 29 } |