wok-next view python-qrcode/receipt @ rev 20969

Micro-updates + { new clang + assaultcube (still broken)} + {new python modules from SliTaz Cooking + their depends}
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Sep 14 01:56:52 2018 +0300 (2018-09-14)
parents 92698cd69f34
children c9a7a7b42a86
line source
1 # SliTaz package receipt.
3 PACKAGE="python-qrcode"
4 VERSION="4.0.4"
5 CATEGORY="development"
6 SHORT_DESC="Python QR Code image generator."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="PSL"
9 WEB_SITE="https://pypi.org/project/qrcode/"
10 REPOLOGY="python:qrcode"
12 SOURCE="qrcode"
13 TARBALL="$SOURCE-$VERSION.tar.gz"
14 WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL"
16 DEPENDS="python python-pil python-six"
17 BUILD_DEPENDS="python-dev python"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 python setup.py build &&
23 python setup.py install --root=$DESTDIR
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 cp -a $install/usr $fs
30 }