wok-6.x annotate python-flup/receipt @ rev 24073
ocaml: disable-force-safe-string
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jul 08 06:56:08 2021 +0000 (2021-07-08) |
parents | 814362194a8d |
children | 1df6fa555414 |
rev | line source |
---|---|
pankso@10438 | 1 # SliTaz package receipt. |
pankso@10438 | 2 |
pankso@10438 | 3 PACKAGE="python-flup" |
Hans-G?nter@23483 | 4 VERSION="1.0.3" |
pankso@10438 | 5 CATEGORY="network" |
pankso@10438 | 6 SHORT_DESC="Random collection of WSGI modules for Python." |
pankso@10438 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15378 | 8 LICENSE="BSD" |
Hans-G?nter@23483 | 9 WEB_SITE="https://pypi.org/project/flup/" |
Hans-G?nter@23483 | 10 |
pankso@10438 | 11 SOURCE="flup" |
pankso@10438 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@23483 | 13 WGET_URL="https://files.pythonhosted.org/packages/source/f/$SOURCE/$TARBALL" |
pankso@10438 | 14 |
pascal@15378 | 15 DEPENDS="python" |
pascal@21582 | 16 BUILD_DEPENDS="python python-dev python-distribute python-setuptools" |
pascal@15378 | 17 |
pankso@10438 | 18 # Rules to configure and make the package. |
pankso@10438 | 19 compile_rules() |
pankso@10438 | 20 { |
pankso@10438 | 21 python setup.py build && |
pankso@10438 | 22 python setup.py install --root=$DESTDIR |
pankso@10438 | 23 } |
pankso@10438 | 24 |
pankso@10438 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@10438 | 26 genpkg_rules() |
pankso@10438 | 27 { |
pankso@10438 | 28 mkdir -p $fs |
Hans-G?nter@23483 | 29 cp -a $install/usr $fs |
pankso@10438 | 30 } |