wok-current rev 25174
updated python-flask (1.1.2 -> 1.1.4)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jul 01 17:16:59 2022 +0100 (2022-07-01) |
parents | d56de587d8e8 |
children | 45288ce2ee21 |
files | python-flask/description.txt python-flask/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/python-flask/description.txt Fri Jul 01 17:16:59 2022 +0100 1.3 @@ -0,0 +1,10 @@ 1.4 +Flask is a lightweight WSGI web application framework. 1.5 +It is designed to make getting started quick and easy, with the ability 1.6 +to scale up to complex applications. 1.7 +It began as a simple wrapper around Werkzeug and Jinja and has become 1.8 +one of the most popular Python web application frameworks. 1.9 + 1.10 +Flask offers suggestions, but doesn't enforce any dependencies or project 1.11 +layout. It is up to the developer to choose the tools and libraries they 1.12 +want to use. There are many extensions provided by the community that make 1.13 +adding new functionality easy.
2.1 --- a/python-flask/receipt Fri Jul 01 17:05:43 2022 +0100 2.2 +++ b/python-flask/receipt Fri Jul 01 17:16:59 2022 +0100 2.3 @@ -1,7 +1,7 @@ 2.4 # SliTaz package receipt. 2.5 2.6 PACKAGE="python-flask" 2.7 -VERSION="1.1.2" 2.8 +VERSION="1.1.4" # last version with support for Python 2 2.9 CATEGORY="development" 2.10 SHORT_DESC="A simple framework for building complex web applications." 2.11 MAINTAINER="pascal.bellard@slitaz.org" 2.12 @@ -10,7 +10,7 @@ 2.13 2.14 SOURCE="Flask" 2.15 TARBALL="$SOURCE-$VERSION.tar.gz" 2.16 -WGET_URL="https://files.pythonhosted.org/packages/source/F/$SOURCE/$TARBALL" 2.17 +WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL" 2.18 2.19 DEPENDS="python-click python-itsdangerous" 2.20 BUILD_DEPENDS="python python-setuptools" 2.21 @@ -25,11 +25,15 @@ 2.22 # Rules to configure and make the package. 2.23 compile_rules() 2.24 { 2.25 - python setup.py install --prefix=/usr --root=$DESTDIR 2.26 + python setup.py \ 2.27 + install \ 2.28 + --prefix=/usr \ 2.29 + --root=$DESTDIR 2.30 } 2.31 2.32 # Rules to gen a SliTaz package suitable for Tazpkg. 2.33 genpkg_rules() 2.34 { 2.35 - cp -a $install/usr $fs 2.36 + cook_copy_folders bin 2.37 + cook_copy_folders lib 2.38 }