wok view python-mock/receipt @ rev 17017

fbvnc-auth: fix cross compilation
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Aug 13 14:10:10 2014 +0200 (2014-08-13)
parents cce8d74a7952
children 16df76e1fc6a
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 LICENSE="BSD"
9 SOURCE="mock"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://pypi.python.org/pypi/$SOURCE/$VERSION"
12 WGET_URL="http://pypi.python.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL"
14 DEPENDS="python"
15 BUILD_DEPENDS="python setuptools"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 python setup.py install --root=$DESTDIR
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 cp -a $install/usr $fs
28 }