wok-next annotate python-dateutil/receipt @ rev 14195

emacs-pkg-vala-mode: tidy receipt
author Dominique Corbex <domcox@slitaz.org>
date Tue Mar 12 23:05:45 2013 +0100 (2013-03-12)
parents 54c42486972b
children fd4f1e692109
rev   line source
claudinei@3828 1 # SliTaz package receipt.
claudinei@3828 2
claudinei@3828 3 PACKAGE="python-dateutil"
pascal@11719 4 VERSION="1.5"
claudinei@3828 5 CATEGORY="development"
claudinei@3828 6 SHORT_DESC="Extensions to the standart python 2.3+ datetime module"
claudinei@3828 7 MAINTAINER="claudinei@slitaz.org"
claudinei@3828 8 DEPENDS="python"
claudinei@3828 9 BUILD_DEPENDS="python python-dev setuptools"
claudinei@3828 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
claudinei@3828 11 WEB_SITE="http://labix.org/python-dateutil"
claudinei@3828 12 WGET_URL="http://labix.org/download/$PACKAGE/$TARBALL"
claudinei@3828 13
claudinei@3828 14 # Rules to configure and make the package.
claudinei@3828 15 compile_rules()
claudinei@3828 16 {
claudinei@3828 17 cd $src
claudinei@3828 18 python setup.py install --root=$PWD/_pkg
claudinei@3828 19 }
claudinei@3828 20
claudinei@3828 21 # Rules to gen a SliTaz package suitable for Tazpkg.
claudinei@3828 22 genpkg_rules()
claudinei@3828 23 {
claudinei@3828 24 for file in `find $_pkg | grep 'pyc$'`; do
claudinei@3828 25 rm $file
claudinei@3828 26 done
claudinei@3828 27 mkdir -p $fs/usr
claudinei@3828 28 cp -a $_pkg/usr/lib $fs/usr
claudinei@3828 29 }
claudinei@3828 30