wok-6.x view python-flup/receipt @ rev 18077
Rebuild Python packages to remove "*.pyc" files from package.lists (part 1).
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri May 22 17:34:18 2015 +0300 (2015-05-22) |
parents | d3fd47f6dcf9 |
children | 6135577f4d08 |
line source
1 # SliTaz package receipt.
3 PACKAGE="python-flup"
4 VERSION="1.0.2"
5 CATEGORY="network"
6 SHORT_DESC="Random collection of WSGI modules for Python."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="BSD"
9 SOURCE="flup"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://trac.saddi.com/flup"
12 WGET_URL="http://www.saddi.com/software/flup/dist/$TARBALL"
14 DEPENDS="python"
15 BUILD_DEPENDS="python python-dev python-distribute setuptools"
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
28 cp -a $install/usr $fs
29 }