wok-6.x view python-pytz/receipt @ rev 11481
libgtop: add glib to depends; add intltool to build_depends
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Sun Dec 18 03:01:59 2011 +0100 (2011-12-18) |
parents | 7e47afbaec37 |
children | fd4f1e692109 |
line source
1 # SliTaz package receipt.
3 PACKAGE="python-pytz"
4 SOURCE="pytz"
5 VERSION="2011g"
6 CATEGORY="development"
7 SHORT_DESC="World Timezone Definitions for Python."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 DEPENDS="python"
10 BUILD_DEPENDS="python-dev python"
11 TARBALL="$SOURCE-$VERSION.tar.bz2"
12 WEB_SITE="http://pytz.sourceforge.net/"
13 WGET_URL="http://pypi.python.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 python setup.py build &&
20 python setup.py install --root=$PWD/_pkg
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs
27 cp -a $_pkg/usr $fs
28 }
30 # Remove old package.
31 post_install()
32 {
33 rm -rf $1/var/lib/tazpkg/installed/pytz
34 }