wok-6.x annotate python-webtest/receipt @ rev 12003
clex: new icon added to stuff
author | Samuel Trassare <samuel_trassare@yahoo.com> |
---|---|
date | Mon Mar 05 08:55:26 2012 -0800 (2012-03-05) |
parents | fa326e027272 |
children | bf4a09ef1d2e |
rev | line source |
---|---|
taziden@3777 | 1 # SliTaz package receipt. |
taziden@3777 | 2 |
taziden@3777 | 3 PACKAGE="python-webtest" |
taziden@6506 | 4 VERSION="1.2.2" |
taziden@3777 | 5 CATEGORY="development" |
taziden@3777 | 6 SHORT_DESC="Helper to test WSGI applications" |
taziden@3777 | 7 MAINTAINER="taziden@slitaz.org" |
taziden@3777 | 8 SOURCE="WebTest" |
taziden@3777 | 9 DEPENDS="python" |
slaxemulator@9538 | 10 BUILD_DEPENDS="python python-dev setuptools" |
taziden@3777 | 11 TARBALL="$SOURCE-$VERSION.tar.gz" |
taziden@6506 | 12 WEB_SITE="http://pypi.python.org/pypi/$SOURCE/" |
taziden@6506 | 13 WGET_URL="$WEB_SITE/packages/source/W/$SOURCE/$TARBALL" |
taziden@3777 | 14 TAGS="python" |
taziden@3777 | 15 |
taziden@3777 | 16 # Rules to configure and make the package. |
taziden@3777 | 17 compile_rules() |
taziden@3777 | 18 { |
taziden@3777 | 19 cd $src |
taziden@3777 | 20 python setup.py install --root=$PWD/_pkg |
taziden@3777 | 21 } |
taziden@3777 | 22 |
taziden@3777 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
taziden@3777 | 24 genpkg_rules() |
taziden@3777 | 25 { |
taziden@3777 | 26 cp -a $_pkg/usr $fs |
taziden@3777 | 27 } |
taziden@3777 | 28 |