wok-next view python-unittest2/receipt @ rev 19084

Add: autoconf213, palemoon
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Sat Apr 30 00:11:09 2016 +0200 (2016-04-30)
parents 2a5cc8208d36
children 6c73b944e8dd
line source
1 # SliTaz package receipt.
3 PACKAGE="python-unittest2"
4 VERSION="0.5.1"
5 CATEGORY="development"
6 SHORT_DESC="New features backport to the unittest testing framework."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="BSD"
9 SOURCE="unittest2"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://pypi.python.org/pypi/unittest2"
12 WGET_URL="http://pypi.python.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL"
14 DEPENDS="python"
15 BUILD_DEPENDS="python-dev setuptools"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 python setup.py build
21 python setup.py test
22 python setup.py install --root=$DESTDIR
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr
29 cp -a $install/usr/lib $fs/usr
30 }