wok annotate python-werkzeug/receipt @ rev 25615
Add libslirp (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Aug 03 12:03:26 2023 +0000 (11 months ago) |
parents | 5ea0ce1cecc0 |
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@25601 | 17 # What is the latest version available today? |
pascal@24055 | 18 current_version() |
pascal@24055 | 19 { |
pascal@24055 | 20 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ |
pascal@25601 | 21 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q' |
pascal@24055 | 22 } |
pascal@24055 | 23 |
pascal@12973 | 24 # Rules to configure and make the package. |
pascal@12973 | 25 compile_rules() |
pascal@12973 | 26 { |
pascal@12973 | 27 python setup.py install --root=$DESTDIR |
pascal@12973 | 28 } |
pascal@12973 | 29 |
pascal@12973 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@12973 | 31 genpkg_rules() |
pascal@12973 | 32 { |
Hans-G?nter@23583 | 33 cp -a $install/usr $fs |
pascal@12973 | 34 } |