wok annotate python-flask/receipt @ rev 25237
updated python-simplejson (3.17.0 -> 3.17.6)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jul 13 17:45:54 2022 +0100 (2022-07-13) |
parents | d7522d21c4d3 |
children |
rev | line source |
---|---|
pascal@20451 | 1 # SliTaz package receipt. |
pascal@20451 | 2 |
pascal@20451 | 3 PACKAGE="python-flask" |
Hans-G?nter@25174 | 4 VERSION="1.1.4" # last version with support for Python 2 |
pascal@20451 | 5 CATEGORY="development" |
Hans-G?nter@23482 | 6 SHORT_DESC="A simple framework for building complex web applications." |
pascal@20451 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@20451 | 8 LICENSE="BSD" |
Hans-G?nter@23482 | 9 WEB_SITE="https://palletsprojects.com/p/flask/" |
Hans-G?nter@23482 | 10 |
Hans-G?nter@23482 | 11 SOURCE="Flask" |
pascal@20451 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@25174 | 13 WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL" |
pascal@20451 | 14 |
pascal@20451 | 15 DEPENDS="python-click python-itsdangerous" |
Hans-G?nter@23482 | 16 BUILD_DEPENDS="python python-setuptools" |
pascal@20451 | 17 |
pascal@24500 | 18 # What is the latest version available today? |
pascal@24500 | 19 current_version() |
pascal@24500 | 20 { |
pascal@24500 | 21 wget -O - https://pypi.org/project/Flask/ 2>/dev/null | \ |
pascal@24500 | 22 sed '/Flask [0-9]/!d;s|.*Flask ||' |
pascal@24500 | 23 } |
pascal@24500 | 24 |
pascal@20451 | 25 # Rules to configure and make the package. |
pascal@20451 | 26 compile_rules() |
pascal@20451 | 27 { |
Hans-G?nter@25174 | 28 python setup.py \ |
Hans-G?nter@25174 | 29 install \ |
Hans-G?nter@25174 | 30 --prefix=/usr \ |
Hans-G?nter@25174 | 31 --root=$DESTDIR |
pascal@20451 | 32 } |
pascal@20451 | 33 |
pascal@20451 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@20451 | 35 genpkg_rules() |
pascal@20451 | 36 { |
Hans-G?nter@25174 | 37 cook_copy_folders bin |
Hans-G?nter@25174 | 38 cook_copy_folders lib |
pascal@20451 | 39 } |