# HG changeset patch # User Claudinei Pereira # Date 1249582863 0 # Node ID 54c42486972ba46029459e97a0a14e7709ab1dc2 # Parent 5c1856d603e27082d42bfe5d7a866a1eb7897b8d Add: python-dateutil (1.4.1) diff -r 5c1856d603e2 -r 54c42486972b python-dateutil/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-dateutil/receipt Thu Aug 06 18:21:03 2009 +0000 @@ -0,0 +1,30 @@ +# SliTaz package receipt. + +PACKAGE="python-dateutil" +VERSION="1.4.1" +CATEGORY="development" +SHORT_DESC="Extensions to the standart python 2.3+ datetime module" +MAINTAINER="claudinei@slitaz.org" +DEPENDS="python" +BUILD_DEPENDS="python python-dev setuptools" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://labix.org/python-dateutil" +WGET_URL="http://labix.org/download/$PACKAGE/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + python setup.py install --root=$PWD/_pkg +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + for file in `find $_pkg | grep 'pyc$'`; do + rm $file + done + mkdir -p $fs/usr + cp -a $_pkg/usr/lib $fs/usr +} +