wok-6.x view python-urwid/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 26f251d80c76
children 7390f8de9846
line source
1 # SliTaz package receipt.
3 PACKAGE="python-urwid"
4 VERSION="1.1.1"
5 CATEGORY="development"
6 SHORT_DESC="Console user interface library for Python."
7 MAINTAINER="paul@slitaz.org"
8 LICENSE="LGPL2.1"
9 SOURCE="urwid"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://excess.org/urwid/"
12 WGET_URL="http://excess.org/urwid/$TARBALL"
14 DEPENDS="python"
15 BUILD_DEPENDS="python python-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
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 }