wok-6.x view python-pyweb/receipt @ rev 18086

Rebuild Python packages to remove "*.pyc" files from packages files.lists (part last)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat May 23 16:17:14 2015 +0300 (2015-05-23)
parents f13bd223c231
children dab616728814
line source
1 # SliTaz package receipt.
3 PACKAGE="python-pyweb"
4 SOURCE="web.py"
5 VERSION="0.37"
6 CATEGORY="development"
7 SHORT_DESC="A web framework for Python."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="PublicDomain"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://webpy.org/"
12 WGET_URL="${WEB_SITE}static/$TARBALL"
14 DEPENDS="python"
15 BUILD_DEPENDS="python"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 python setup.py build
21 python setup.py install --root=$DESTDIR
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr
28 cp -a $install/usr/lib $fs/usr
29 }