wok-current annotate python-flask/receipt @ rev 21582
Use python-setuptools as bdeps (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun May 19 19:45:04 2019 +0200 (2019-05-19) |
parents | 570dc794f847 |
children | a3edc4e00723 |
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@21582 | 15 BUILD_DEPENDS="python-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 } |