wok diff python-restkit/receipt @ rev 24133

Up tazinst (115)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Oct 23 15:17:56 2021 +0000 (2021-10-23)
parents 814362194a8d
children 1df6fa555414
line diff
     1.1 --- a/python-restkit/receipt	Sun May 19 19:45:04 2019 +0200
     1.2 +++ b/python-restkit/receipt	Sat Oct 23 15:17:56 2021 +0000
     1.3 @@ -1,18 +1,19 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="python-restkit"
     1.7 -SOURCE="restkit"
     1.8 -VERSION="4.2.1"
     1.9 +VERSION="4.2.2"
    1.10  CATEGORY="development"
    1.11 -SHORT_DESC="An HTTP resource kit for Python"
    1.12 +SHORT_DESC="An HTTP resource kit for Python."
    1.13  MAINTAINER="claudinei@slitaz.org"
    1.14  LICENSE="MIT"
    1.15 -TARBALL="$SOURCE-$VERSION.zip"
    1.16 -WEB_SITE="http://restkit.readthedocs.org"
    1.17 -WGET_URL="https://github.com/benoitc/$SOURCE/archive/$VERSION.zip"
    1.18 +
    1.19 +SOURCE="restkit"
    1.20 +TARBALL="$SOURCE-$VERSION.tar.gz"
    1.21 +WEB_SITE="https://pypi.org/project/restkit/"
    1.22 +WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL"
    1.23  
    1.24  DEPENDS="python python-http-parser python-socketpool"
    1.25 -BUILD_DEPENDS="python-dev python-setuptools wget"
    1.26 +BUILD_DEPENDS="python python-dev python-setuptools"
    1.27  
    1.28  # Rules to configure and make the package.
    1.29  compile_rules()
    1.30 @@ -24,6 +25,7 @@
    1.31  genpkg_rules()
    1.32  {
    1.33  	mkdir -p $fs/usr
    1.34 -	rm -rf $install/usr/restkit
    1.35 -	cp -a $install/usr $fs
    1.36 +
    1.37 +	rm -rf			$install/usr/restkit
    1.38 +	cp -a $install/usr	$fs
    1.39  }