wok view python-flask/receipt @ rev 25680

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