wok-next annotate python-mock/receipt @ rev 16918
Up glibmm glibmm-dev (2.40.0) to reflect glib version
author | Yuri Pourre <yuripourre@gmail.com> |
---|---|
date | Thu Jul 17 11:41:17 2014 -0300 (2014-07-17) |
parents | cce8d74a7952 |
children | 16df76e1fc6a |
rev | line source |
---|---|
pascal@14499 | 1 # SliTaz package receipt. |
pascal@14499 | 2 |
pascal@14501 | 3 PACKAGE="python-mock" |
pascal@14499 | 4 VERSION="1.0.1" |
pascal@14499 | 5 CATEGORY="development" |
pascal@14499 | 6 SHORT_DESC="A library for testing in Python." |
pascal@14499 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15379 | 8 LICENSE="BSD" |
pascal@14499 | 9 SOURCE="mock" |
pascal@14499 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@14499 | 11 WEB_SITE="http://pypi.python.org/pypi/$SOURCE/$VERSION" |
pascal@14499 | 12 WGET_URL="http://pypi.python.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL" |
pascal@14499 | 13 |
pascal@14499 | 14 DEPENDS="python" |
pascal@14499 | 15 BUILD_DEPENDS="python setuptools" |
pascal@14499 | 16 |
pascal@14499 | 17 # Rules to configure and make the package. |
pascal@14499 | 18 compile_rules() |
pascal@14499 | 19 { |
pascal@14499 | 20 cd $src |
pascal@14499 | 21 python setup.py install --root=$DESTDIR |
pascal@14499 | 22 } |
pascal@14499 | 23 |
pascal@14499 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@14499 | 25 genpkg_rules() |
pascal@14499 | 26 { |
pascal@14499 | 27 cp -a $install/usr $fs |
pascal@14499 | 28 } |
pascal@14499 | 29 |