wok view python-pytest/receipt @ rev 14889

Up: python-httplib2 (0.8)
author Claudinei Pereira <claudinei@slitaz.org>
date Wed Jul 24 19:02:34 2013 -0300 (2013-07-24)
parents
children fd4f1e692109
line source
1 # SliTaz package receipt.
3 PACKAGE="python-pytest"
4 VERSION="2.3.4"
5 CATEGORY="development"
6 SHORT_DESC="A simple powerful testing with Python"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 SOURCE="pytest"
9 TARBALL="$SOURCE-$VERSION.zip"
10 WEB_SITE="http://pypi.python.org/pypi/pytest"
11 WGET_URL="http://pypi.python.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL"
13 DEPENDS="python"
14 BUILD_DEPENDS="python-dev setuptools"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 python setup.py build
21 python setup.py install --root=$DESTDIR
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr
28 cp -a $install/usr/lib $fs/usr
29 }