wok annotate python-barcode/receipt @ rev 25614

Add libslirp
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Aug 03 11:59:41 2023 +0000 (15 months ago)
parents 076f424196b2
children
rev   line source
pascal@15906 1 # SliTaz package receipt.
pascal@15906 2
pascal@15906 3 PACKAGE="python-barcode"
pascal@15906 4 VERSION="0.7"
pascal@15906 5 CATEGORY="development"
pascal@15906 6 SHORT_DESC="Create standard barcodes."
pascal@15906 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15906 8 LICENSE="MIT"
pascal@15906 9 SOURCE="pyBarcode"
pascal@15906 10 TARBALL="$SOURCE-$VERSION.tar.gz"
pascal@21231 11 WEB_SITE="https://pypi.org/project/$PACKAGE"
pascal@24979 12 WGET_URL="https://github.com/WhyNotHugo/python-barcode/archive/refs/tags/$VERSION.tar.gz"
pascal@15906 13
pascal@15906 14 DEPENDS="python"
pascal@21581 15 BUILD_DEPENDS="python python-setuptools wget"
pascal@15906 16
pascal@24383 17 # What is the latest version available today?
pascal@24288 18 current_version()
pascal@24288 19 {
pascal@24383 20 wget -O - $WEB_SITE 2>/dev/null | sed "/$PACKAGE [0-9]/!d;s|.*$PACKAGE ||;s|<.*||"
pascal@24288 21 }
pascal@24288 22
pascal@15906 23 # Rules to configure and make the package.
pascal@15906 24 compile_rules()
pascal@15906 25 {
pascal@15906 26 python setup.py install --root=$DESTDIR
pascal@15906 27 }
pascal@15906 28
pascal@15906 29 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@15906 30 genpkg_rules()
pascal@15906 31 {
pascal@15906 32 cp -a $install/usr $fs
pascal@15906 33 }