wok annotate python-elaphe/receipt @ rev 24604

updated glm (0.9.9.7 -> 0.9.9.8)
author Hans-G?nter Theisgen
date Wed Mar 02 16:22:49 2022 +0100 (2022-03-02)
parents 5d50a02468c7
children e717a4953b0e
rev   line source
pascal@15906 1 # SliTaz package receipt.
pascal@15906 2
pascal@15906 3 PACKAGE="python-elaphe"
pascal@15906 4 VERSION="0.6.0"
pascal@15906 5 CATEGORY="development"
pascal@15906 6 SHORT_DESC="Generates various barcodes using barcode.ps and PIL/Pillow."
pascal@15906 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15906 8 LICENSE="BSD"
pascal@15906 9 SOURCE="elaphe"
pascal@15906 10 TARBALL="$SOURCE-$VERSION.tar.gz"
pascal@15906 11 WEB_SITE="http://pypi.python.org/pypi/$SOURCE/$VERSION"
pascal@15907 12 WGET_URL="https://pypi.python.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL"
pascal@15906 13
pascal@15906 14 DEPENDS="python"
pascal@21581 15 BUILD_DEPENDS="python python-setuptools wget"
pascal@15906 16
pascal@24391 17 # What is the latest version available today?
pascal@24391 18 current_version()
pascal@24391 19 {
pascal@24391 20 wget -O - https://pypi.org/project/$SOURCE/ 2>/dev/null | \
pascal@24391 21 sed "/$SOURCE-/!d;/tar/!d;s|.*$SOURCE-||;s|.tar.*||;q"
pascal@24391 22 }
pascal@24391 23
pascal@15906 24 # Rules to configure and make the package.
pascal@15906 25 compile_rules()
pascal@15906 26 {
pascal@15906 27 python setup.py install --root=$DESTDIR
pascal@15906 28 }
pascal@15906 29
pascal@15906 30 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@15906 31 genpkg_rules()
pascal@15906 32 {
pascal@15906 33 cp -a $install/usr $fs
pascal@15906 34 }