wok annotate python-qrcode/receipt @ rev 24657

updated icewm (1.6.4 -> 2.9.6)
author Hans-G?nter Theisgen
date Fri Mar 11 07:48:38 2022 +0100 (2022-03-11)
parents a32589fd69e7
children
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@24391 18 # What is the latest version available today?
pascal@24391 19 current_version()
pascal@24391 20 {
pascal@24391 21 wget -O - https://pypi.org/project/$SOURCE/ 2>/dev/null | \
pascal@24391 22 sed "/$SOURCE-/!d;/tar/!d;s|.*$SOURCE-||;s|.tar.*||;q"
pascal@24391 23 }
pascal@24391 24
pascal@15477 25 # Rules to configure and make the package.
pascal@15477 26 compile_rules()
pascal@15477 27 {
pascal@15477 28 python setup.py build &&
pascal@15477 29 python setup.py install --root=$DESTDIR
pascal@15477 30 }
pascal@15477 31
pascal@15477 32 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@15477 33 genpkg_rules()
pascal@15477 34 {
Hans-G?nter@23551 35 cp -a $install/usr $fs
pascal@15477 36 }