wok-next view python-mock/receipt @ rev 20891
cookutils: up (1085); syslinux: remove docs
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Jul 19 18:27:17 2018 +0300 (2018-07-19) |
parents | 6c73b944e8dd |
children | 8b5b2a6d07b8 |
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 WEB_SITE="http://pypi.python.org/pypi/$SOURCE/$VERSION"
10 REPOLOGY="python:mock"
12 SOURCE="mock"
13 TARBALL="$SOURCE-$VERSION.tar.gz"
14 WGET_URL="http://pypi.python.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL"
16 DEPENDS="python"
17 BUILD_DEPENDS="python"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 python setup.py install --root=$DESTDIR
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 cp -a $install/usr $fs
29 }