Navigation

Project: wok

Clone project: hg clone http://hg.slitaz.org/wok

  • Download tarball:
  • bz2
  • gz

Search

wok changeset 14499:000d5c4906fc

Add python-mock
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 11 17:26:00 2013 +0200 (16 months ago ago)
parents 709aac634c27
children 83841109a521
files python-mock/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/python-mock/receipt	Sat May 11 17:26:00 2013 +0200
     1.3 @@ -0,0 +1,28 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="python27-mock"
     1.7 +VERSION="1.0.1"
     1.8 +CATEGORY="development"
     1.9 +SHORT_DESC="A library for testing in Python."
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +SOURCE="mock"
    1.12 +TARBALL="$SOURCE-$VERSION.tar.gz"
    1.13 +WEB_SITE="http://pypi.python.org/pypi/$SOURCE/$VERSION"
    1.14 +WGET_URL="http://pypi.python.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL"
    1.15 +
    1.16 +DEPENDS="python"
    1.17 +BUILD_DEPENDS="python setuptools"
    1.18 +
    1.19 +# Rules to configure and make the package.
    1.20 +compile_rules()
    1.21 +{
    1.22 +	cd $src
    1.23 +	python setup.py install --root=$DESTDIR
    1.24 +}
    1.25 +
    1.26 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.27 +genpkg_rules()
    1.28 +{
    1.29 +	cp -a $install/usr $fs
    1.30 +}
    1.31 +