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