wok diff setuptools/receipt @ rev 19361

Up tazpkg (919)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Aug 03 08:46:48 2016 +0200 (2016-08-03)
parents 7d672a2330b8
children
line diff
     1.1 --- a/setuptools/receipt	Wed Apr 23 01:06:05 2014 +0200
     1.2 +++ b/setuptools/receipt	Wed Aug 03 08:46:48 2016 +0200
     1.3 @@ -1,29 +1,27 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="setuptools"
     1.7 -VERSION="0.6c11"
     1.8 +VERSION="4.0.1"
     1.9  CATEGORY="misc"
    1.10  SHORT_DESC="Python package installation tool."
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
    1.12  LICENSE="PSL"
    1.13 -TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.14 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.15  WEB_SITE="http://pypi.python.org/pypi/setuptools"
    1.16 -WGET_URL="http://pypi.python.org/packages/source/s/setuptools/$TARBALL"
    1.17 +WGET_URL="https://bitbucket.org/pypa/setuptools/get/$VERSION.tar.bz2"
    1.18  HOST_ARCH="i486 arm"
    1.19  
    1.20 -DEPENDS="python python-dev"
    1.21 -BUILD_DEPENDS="python python-dev"
    1.22 +DEPENDS="python"
    1.23 +BUILD_DEPENDS="python wget"
    1.24  
    1.25  # Rules to configure and make the package.
    1.26  compile_rules()
    1.27  {
    1.28 -	python setup.py build &&
    1.29 -	python setup.py install --root=$DESTDIR
    1.30 +	python setup.py install --no-compile --root=$install
    1.31  }
    1.32  
    1.33  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.34  genpkg_rules()
    1.35  {
    1.36 -	cp -a $install/usr $fs
    1.37 +	cp -a $install/* $fs
    1.38  }
    1.39 -