wok-stable view python-dateutil/receipt @ rev 5268
Add: mpc-library (C lib for the arithmetic) New dep for gcc 4.5.0
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Apr 14 22:45:03 2010 +0200 (2010-04-14) |
parents | |
children | 636bb875224c |
line source
1 # SliTaz package receipt.
3 PACKAGE="python-dateutil"
4 VERSION="1.4.1"
5 CATEGORY="development"
6 SHORT_DESC="Extensions to the standart python 2.3+ datetime module"
7 MAINTAINER="claudinei@slitaz.org"
8 DEPENDS="python"
9 BUILD_DEPENDS="python python-dev setuptools"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://labix.org/python-dateutil"
12 WGET_URL="http://labix.org/download/$PACKAGE/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 python setup.py install --root=$PWD/_pkg
19 }
21 # Rules to gen a SliTaz package suitable for Tazpkg.
22 genpkg_rules()
23 {
24 for file in `find $_pkg | grep 'pyc$'`; do
25 rm $file
26 done
27 mkdir -p $fs/usr
28 cp -a $_pkg/usr/lib $fs/usr
29 }