wok diff python-dateutil/receipt @ rev 17282

Up youtube-dl (2014.10.27)
author Richard Dunbar <mojo@slitaz.org>
date Mon Oct 27 01:26:15 2014 -0400 (2014-10-27)
parents 636bb875224c
children 5d50a02468c7
line diff
     1.1 --- a/python-dateutil/receipt	Mon Feb 20 11:19:45 2012 +0100
     1.2 +++ b/python-dateutil/receipt	Mon Oct 27 01:26:15 2014 -0400
     1.3 @@ -5,26 +5,28 @@
     1.4  CATEGORY="development"
     1.5  SHORT_DESC="Extensions to the standart python 2.3+ datetime module"
     1.6  MAINTAINER="claudinei@slitaz.org"
     1.7 -DEPENDS="python"
     1.8 -BUILD_DEPENDS="python python-dev setuptools"
     1.9 +LICENSE="PSL"
    1.10  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.11  WEB_SITE="http://labix.org/python-dateutil"
    1.12  WGET_URL="http://labix.org/download/$PACKAGE/$TARBALL"
    1.13  
    1.14 +DEPENDS="python"
    1.15 +BUILD_DEPENDS="python python-dev setuptools"
    1.16 +
    1.17  # Rules to configure and make the package.
    1.18  compile_rules()
    1.19  {
    1.20  	cd $src
    1.21 -	python setup.py install --root=$PWD/_pkg
    1.22 +	python setup.py install --root=$DESTDIR
    1.23  }
    1.24  
    1.25  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.26  genpkg_rules()
    1.27  {
    1.28 -	for file in `find $_pkg | grep 'pyc$'`; do
    1.29 +	for file in `find $install | grep 'pyc$'`; do
    1.30  		rm $file
    1.31  	done
    1.32  	mkdir -p $fs/usr
    1.33 -	cp -a $_pkg/usr/lib $fs/usr
    1.34 +	cp -a $install/usr/lib $fs/usr
    1.35  }
    1.36