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

Use default gcc 6.3 for libgphoto2
author Stanislas Leduc <shann@slitaz.org>
date Sun Sep 03 19:59:46 2023 +0000 (14 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 }