wok-current annotate python-werkzeug/receipt @ rev 25207

updated python-netifaces (0.10.9 -> 0.11.0)
author Hans-G?nter Theisgen
date Wed Jul 13 14:48:34 2022 +0100 (2022-07-13)
parents 9899c003230e
children
rev   line source
pascal@12973 1 # SliTaz package receipt.
pascal@12973 2
pascal@12973 3 PACKAGE="python-werkzeug"
Hans-G?nter@23583 4 VERSION="1.0.1"
pascal@12973 5 CATEGORY="development"
Hans-G?nter@23583 6 SHORT_DESC="WSGI utility modules."
pascal@12973 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15133 8 LICENSE="BSD"
Hans-G?nter@23583 9 WEB_SITE="https://pypi.org/project/Werkzeug/"
Hans-G?nter@23583 10
pascal@15133 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@21242 12 WGET_URL="https://github.com/pallets/werkzeug/archive/$VERSION.tar.gz"
pascal@12973 13
pascal@12973 14 DEPENDS="python"
Hans-G?nter@23583 15 BUILD_DEPENDS="python python-dev python-setuptools"
pascal@12973 16
pascal@24055 17 current_version()
pascal@24055 18 {
pascal@24055 19 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
pascal@24055 20 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
pascal@24055 21 }
pascal@24055 22
pascal@12973 23 # Rules to configure and make the package.
pascal@12973 24 compile_rules()
pascal@12973 25 {
pascal@12973 26 python setup.py install --root=$DESTDIR
pascal@12973 27 }
pascal@12973 28
pascal@12973 29 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@12973 30 genpkg_rules()
pascal@12973 31 {
Hans-G?nter@23583 32 cp -a $install/usr $fs
pascal@12973 33 }