wok annotate python-flask/receipt @ rev 20596
xfi, xfw, cryptkeeper: (not so) dirty hack
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Dec 16 11:41:49 2018 +0100 (2018-12-16) |
parents | bcdfc23ee041 |
children | 814362194a8d |
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@20452 | 15 BUILD_DEPENDS="setuptools" |
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 } |