wok-6.x view python-cherrypy/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 fd4f1e692109
children b9659e3c2111
line source
1 # SliTaz package receipt.
3 PACKAGE="python-cherrypy"
4 VERSION="3.1.2" # Fix to this version for turbogears.
5 CATEGORY="development"
6 SHORT_DESC="CherryPy is a pythonic, object-oriented HTTP framework."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="BSD"
9 SOURCE="CherryPy"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://www.cherrypy.org/"
12 WGET_URL="http://download.cherrypy.org/cherrypy/$VERSION/$TARBALL"
13 TAGS="python"
15 DEPENDS="python"
16 BUILD_DEPENDS="python python-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 python setup.py install --root=$DESTDIR
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 cp -a $install/usr $fs
28 }