wok-current rev 23554

updated python-restclient (1.3.2 -> 1.3.3)
author Hans-G?nter Theisgen
date Tue Apr 07 07:15:27 2020 +0100 (2020-04-07)
parents 6d05491c304a
children 70c49ddb476b
files python-requests/receipt python-restclient/receipt
line diff
     1.1 --- a/python-requests/receipt	Tue Apr 07 07:06:50 2020 +0100
     1.2 +++ b/python-requests/receipt	Tue Apr 07 07:15:27 2020 +0100
     1.3 @@ -10,7 +10,7 @@
     1.4  
     1.5  SOURCE="requests"
     1.6  TARBALL="$PACKAGE-$VERSION.tar.gz"
     1.7 -WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL"
     1.8 +WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$SOURCE-$VERSION.tar.gz"
     1.9  
    1.10  DEPENDS="python"
    1.11  BUILD_DEPENDS="python python-setuptools"
     2.1 --- a/python-restclient/receipt	Tue Apr 07 07:06:50 2020 +0100
     2.2 +++ b/python-restclient/receipt	Tue Apr 07 07:15:27 2020 +0100
     2.3 @@ -1,15 +1,16 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="python-restclient"
     2.7 -SOURCE="py-restclient"
     2.8 -VERSION="1.3.2"
     2.9 +VERSION="1.3.3"
    2.10  CATEGORY="development"
    2.11 -SHORT_DESC="A simple REST client for python"
    2.12 +SHORT_DESC="A simple REST client for python."
    2.13  MAINTAINER="claudinei@slitaz.org"
    2.14  LICENSE="MIT"
    2.15 -TARBALL="$PACKAGE-$VERSION.tgz"
    2.16 -WEB_SITE="https://bitbucket.org/benoitc/$SOURCE"
    2.17 -WGET_URL="$WEB_SITE/get/$VERSION.gz"
    2.18 +WEB_SITE="https://pypi.org/project/py-restclient/"
    2.19 +
    2.20 +SOURCE="py-restclient"
    2.21 +TARBALL="$SOURCE-$VERSION.tar.gz"
    2.22 +WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL"
    2.23  
    2.24  DEPENDS="python python-httplib2"
    2.25  BUILD_DEPENDS="python python-dev python-setuptools"
    2.26 @@ -24,8 +25,9 @@
    2.27  genpkg_rules()
    2.28  {
    2.29  	PYTHON_LIB=python$(grep ^VERSION= $WOK/python/receipt | sed 's/.*"\(...\).*/\1/')
    2.30 +
    2.31  	mkdir -p $fs/usr
    2.32 -	rm -f $install/usr/lib/$PYTHON_LIB/site-packages/tests/*
    2.33 -	rmdir $install/usr/lib/$PYTHON_LIB/site-packages/tests
    2.34 -	cp -a $install/usr $fs
    2.35 +	rm -f			$install/usr/lib/$PYTHON_LIB/site-packages/tests/*
    2.36 +	rmdir			$install/usr/lib/$PYTHON_LIB/site-packages/tests
    2.37 +	cp -a $install/usr	$fs
    2.38  }