wok-6.x diff python-webob/receipt @ rev 15805

bash: prevent rm .bashrc error when removing bash
author Richard Dunbar <mojo@slitaz.org>
date Thu Jan 23 13:38:58 2014 +0000 (2014-01-23)
parents 7447c587e5f8
children 7390f8de9846
line diff
     1.1 --- a/python-webob/receipt	Fri Apr 08 13:48:25 2011 +0000
     1.2 +++ b/python-webob/receipt	Thu Jan 23 13:38:58 2014 +0000
     1.3 @@ -5,24 +5,26 @@
     1.4  CATEGORY="development"
     1.5  SHORT_DESC="WSGI request and response object"
     1.6  MAINTAINER="taziden@slitaz.org"
     1.7 +LICENSE="MIT"
     1.8  SOURCE="WebOb"
     1.9 -DEPENDS="python"
    1.10 -BUILD_DEPENDS="python python-dev setuptools"
    1.11  TARBALL="$SOURCE-$VERSION.tar.gz"
    1.12  WEB_SITE="http://pypi.python.org/pypi/$SOURCE/"
    1.13  WGET_URL="$WEB_SITE/packages/source/W/$SOURCE/$TARBALL"
    1.14  TAGS="python"
    1.15  
    1.16 +DEPENDS="python"
    1.17 +BUILD_DEPENDS="python python-dev setuptools"
    1.18 +
    1.19  # Rules to configure and make the package.
    1.20  compile_rules()
    1.21  {
    1.22  	cd $src
    1.23 -    python setup.py install --root=$PWD/_pkg
    1.24 +	python setup.py install --root=$DESTDIR
    1.25  }
    1.26  
    1.27  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.28  genpkg_rules()
    1.29  {
    1.30 -	cp -a $_pkg/usr $fs
    1.31 +	cp -a $install/usr $fs
    1.32  }
    1.33