wok-current annotate python-flask/receipt @ rev 20451

Add python-click python-itsdangerous & python-flask
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Sep 29 15:27:00 2018 +0200 (2018-09-29)
parents
children 570dc794f847
rev   line source
pascal@20451 1 # SliTaz package receipt.
pascal@20451 2
pascal@20451 3 PACKAGE="python-flask"
pascal@20451 4 SOURCE="Flask"
pascal@20451 5 VERSION="1.0.2"
pascal@20451 6 CATEGORY="development"
pascal@20451 7 SHORT_DESC="A simple framework for building complex web applications"
pascal@20451 8 MAINTAINER="pascal.bellard@slitaz.org"
pascal@20451 9 LICENSE="BSD"
pascal@20451 10 WEB_SITE="http://flask.pocoo.org/"
pascal@20451 11 TARBALL="$SOURCE-$VERSION.tar.gz"
pascal@20451 12 WGET_URL="https://files.pythonhosted.org/packages/4b/12/c1fbf4971fda0e4de05565694c9f0c92646223cff53f15b6eb248a310a62/$TARBALL"
pascal@20451 13
pascal@20451 14 DEPENDS="python-click python-itsdangerous"
pascal@20451 15 BUILD_DEPENDS="python"
pascal@20451 16
pascal@20451 17 # Rules to configure and make the package.
pascal@20451 18 compile_rules()
pascal@20451 19 {
pascal@20451 20 python setup.py install --prefix=/usr --root=$DESTDIR
pascal@20451 21 }
pascal@20451 22
pascal@20451 23 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@20451 24 genpkg_rules()
pascal@20451 25 {
pascal@20451 26 cp -a $install/usr $fs/
pascal@20451 27 }