wok view python-dateutil/receipt @ rev 16018

Add gritz
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Mar 05 17:48:08 2014 +0000 (2014-03-05)
parents 636bb875224c
children 5d50a02468c7
line source
1 # SliTaz package receipt.
3 PACKAGE="python-dateutil"
4 VERSION="1.5"
5 CATEGORY="development"
6 SHORT_DESC="Extensions to the standart python 2.3+ datetime module"
7 MAINTAINER="claudinei@slitaz.org"
8 LICENSE="PSL"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://labix.org/python-dateutil"
11 WGET_URL="http://labix.org/download/$PACKAGE/$TARBALL"
13 DEPENDS="python"
14 BUILD_DEPENDS="python python-dev setuptools"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 python setup.py install --root=$DESTDIR
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 for file in `find $install | grep 'pyc$'`; do
27 rm $file
28 done
29 mkdir -p $fs/usr
30 cp -a $install/usr/lib $fs/usr
31 }