wok-6.x view python-qrcode/receipt @ rev 17559
slim: why force base theme on update
author | Richard Dunbar <mojo@slitaz.org> |
---|---|
date | Thu Feb 05 21:41:45 2015 -0500 (2015-02-05) |
parents | da9d337802a6 |
children | 7390f8de9846 |
line source
1 # SliTaz package receipt.
3 PACKAGE="python-qrcode"
4 SOURCE="qrcode"
5 VERSION="4.0.4"
6 CATEGORY="development"
7 SHORT_DESC="Python QR Code image generator."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="PSL"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="https://pypi.python.org/pypi/qrcode"
12 WGET_URL="https://pypi.python.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL"
14 DEPENDS="python python-pil python-six"
15 BUILD_DEPENDS="python-dev python wget setuptools"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 python setup.py build &&
22 python setup.py install --root=$DESTDIR
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 cp -a $install/usr $fs
29 }