wok-current view python-mock/receipt @ rev 17651

Up: xz 5.2.0
author Alexander Medvedev <devl547@gmail.com>
date Sat Feb 14 22:23:35 2015 +0000 (2015-02-14)
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 }