wok-6.x diff python-weberror/receipt @ rev 17388

hg merge
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Nov 27 13:44:07 2014 +0200 (2014-11-27)
parents a49b4ac5f871
children 7390f8de9846
line diff
     1.1 --- a/python-weberror/receipt	Fri Apr 08 13:52:39 2011 +0000
     1.2 +++ b/python-weberror/receipt	Thu Nov 27 13:44:07 2014 +0200
     1.3 @@ -5,24 +5,26 @@
     1.4  CATEGORY="development"
     1.5  SHORT_DESC="Web Error handling and exception catching"
     1.6  MAINTAINER="taziden@slitaz.org"
     1.7 +LICENSE="MIT"
     1.8  SOURCE="WebError"
     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