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

airgeddon: fix wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jun 14 10:00:11 2016 +0200 (2016-06-14)
parents 636bb875224c
children 6c73b944e8dd
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"
pascal@15378 8 LICENSE="PSL"
claudinei@3828 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
claudinei@3828 10 WEB_SITE="http://labix.org/python-dateutil"
claudinei@3828 11 WGET_URL="http://labix.org/download/$PACKAGE/$TARBALL"
claudinei@3828 12
pascal@15378 13 DEPENDS="python"
pascal@15378 14 BUILD_DEPENDS="python python-dev setuptools"
pascal@15378 15
claudinei@3828 16 # Rules to configure and make the package.
claudinei@3828 17 compile_rules()
claudinei@3828 18 {
claudinei@3828 19 cd $src
pascal@15378 20 python setup.py install --root=$DESTDIR
claudinei@3828 21 }
claudinei@3828 22
claudinei@3828 23 # Rules to gen a SliTaz package suitable for Tazpkg.
claudinei@3828 24 genpkg_rules()
claudinei@3828 25 {
pascal@15378 26 for file in `find $install | grep 'pyc$'`; do
claudinei@3828 27 rm $file
claudinei@3828 28 done
claudinei@3828 29 mkdir -p $fs/usr
pascal@15378 30 cp -a $install/usr/lib $fs/usr
claudinei@3828 31 }
claudinei@3828 32