wok-current view python-py/receipt @ rev 16845

netsurf: try default make rules
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Sat Jul 12 23:41:25 2014 +0300 (2014-07-12)
parents a7f918cb00d1
children 7390f8de9846
line source
1 # SliTaz package receipt.
3 PACKAGE="python-py"
4 VERSION="1.4.13"
5 CATEGORY="development"
6 SHORT_DESC="Library with cross-python path, ini-parsing, io, code, log facilities."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="MIT"
9 SOURCE="py"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://pypi.python.org/pypi/py"
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 cd $src
21 python setup.py build
22 python setup.py test
23 python setup.py install --root=$DESTDIR
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr
30 cp -a $install/usr/lib $fs/usr
31 }