wok-next diff python-dateutil/receipt @ rev 18117

Up: cookutils (741): add descriptions.txt to the bundle.tar.lzma
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sun Jun 07 00:49:14 2015 +0300 (2015-06-07)
parents 636bb875224c
children 6c73b944e8dd
line diff
     1.1 --- a/python-dateutil/receipt	Mon Feb 20 11:19:45 2012 +0100
     1.2 +++ b/python-dateutil/receipt	Sun Jun 07 00:49:14 2015 +0300
     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