wok-current rev 23533

updated python-psutil (0.6.1 -> 5.7.0)
author Hans-G?nter Theisgen
date Mon Apr 06 15:50:05 2020 +0100 (2020-04-06)
parents 63190bc5a57d
children 0faadfd0f249
files python-psutil/receipt
line diff
     1.1 --- a/python-psutil/receipt	Mon Apr 06 15:37:40 2020 +0100
     1.2 +++ b/python-psutil/receipt	Mon Apr 06 15:50:05 2020 +0100
     1.3 @@ -1,19 +1,21 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="python-psutil"
     1.7 -VERSION="0.6.1"
     1.8 +VERSION="5.7.0"
     1.9  CATEGORY="development"
    1.10  SHORT_DESC="A process and system utilities module for Python."
    1.11  MAINTAINER="paul@slitaz.org"
    1.12  LICENSE="BSD"
    1.13 +WEB_SITE="https://pypi.org/project/$SOURCE/"
    1.14 +
    1.15  SOURCE="psutil"
    1.16  TARBALL="$SOURCE-$VERSION.tar.gz"
    1.17 -WEB_SITE="https://pypi.org/project/$SOURCE/"
    1.18 -WGET_URL="http://psutil.googlecode.com/files/$TARBALL"
    1.19 -HOST_ARCH="i486 arm"
    1.20 +WGET_URL="https://files.pythonhosted.org/packages/source/p/$SOURCE/$TARBALL"
    1.21  
    1.22  DEPENDS="python"
    1.23 -BUILD_DEPENDS="python-dev python-setuptools"
    1.24 +BUILD_DEPENDS="python python-dev python-setuptools"
    1.25 +
    1.26 +HOST_ARCH="i486 arm"
    1.27  
    1.28  # Rules to configure and make the package.
    1.29  compile_rules()
    1.30 @@ -25,7 +27,9 @@
    1.31  			ln -s /cross/${ARCH}/tools/bin/arm-slitaz-linux-gnueabi-gcc \
    1.32  				/usr/bin/i486-slitaz-linux-gcc ;;
    1.33  	esac &&
    1.34 +
    1.35  	python setup.py install --root=$DESTDIR
    1.36 +
    1.37  	case "$ARCH" in
    1.38  		arm*) 
    1.39  			rm /usr/bin/i486-slitaz-linux-gcc &&
    1.40 @@ -36,5 +40,5 @@
    1.41  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.42  genpkg_rules()
    1.43  {
    1.44 -	cp -a $install/usr $fs
    1.45 +	cp -a $install/usr	$fs
    1.46  }