wok-current view python-flask/receipt @ rev 24944

updated n2n (2.4 -> 3.0)
author Hans-G?nter Theisgen
date Fri Apr 22 16:44:33 2022 +0100 (2022-04-22)
parents a3edc4e00723
children a44b366afa25
line source
1 # SliTaz package receipt.
3 PACKAGE="python-flask"
4 VERSION="1.1.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/F/$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 install --prefix=/usr --root=$DESTDIR
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 cp -a $install/usr $fs
35 }