wok view python-mock/receipt @ rev 20993

gpicview: modified TARBALL
author Hans-G?nter Theisgen
date Thu Mar 07 17:13:01 2019 +0100 (2019-03-07)
parents 2a5cc8208d36
children 814362194a8d
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 python setup.py install --root=$DESTDIR
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 cp -a $install/usr $fs
27 }