wok-6.x view python-mock/receipt @ rev 15025
sipsak: fix compile_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Aug 11 21:34:10 2013 +0000 (2013-08-11) |
parents | 000d5c4906fc |
children | 2a5cc8208d36 |
line source
1 # SliTaz package receipt.
3 PACKAGE="python-mock"
4 VERSION="1.0.1"
5 CATEGORY="development"
6 SHORT_DESC="A library for testing in Python."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 SOURCE="mock"
9 TARBALL="$SOURCE-$VERSION.tar.gz"
10 WEB_SITE="http://pypi.python.org/pypi/$SOURCE/$VERSION"
11 WGET_URL="http://pypi.python.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL"
13 DEPENDS="python"
14 BUILD_DEPENDS="python setuptools"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 python setup.py install --root=$DESTDIR
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 cp -a $install/usr $fs
27 }