wok-6.x annotate python-dateutil/receipt @ rev 14092
emacs 24.2: reverting changes made for the soon upcoming 24.3
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Fri Feb 22 22:55:18 2013 +0100 (2013-02-22) |
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 |