wok diff python-restclient/receipt @ rev 24026
created recipe for os-prober
author | Hans-G?nter Theisgen |
---|---|
date | Wed Mar 24 16:16:25 2021 +0100 (2021-03-24) |
parents | 814362194a8d |
children | 1df6fa555414 |
line diff
1.1 --- a/python-restclient/receipt Sun May 19 19:45:04 2019 +0200 1.2 +++ b/python-restclient/receipt Wed Mar 24 16:16:25 2021 +0100 1.3 @@ -1,15 +1,16 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="python-restclient" 1.7 -SOURCE="py-restclient" 1.8 -VERSION="1.3.2" 1.9 +VERSION="1.3.3" 1.10 CATEGORY="development" 1.11 -SHORT_DESC="A simple REST client for python" 1.12 +SHORT_DESC="A simple REST client for python." 1.13 MAINTAINER="claudinei@slitaz.org" 1.14 LICENSE="MIT" 1.15 -TARBALL="$PACKAGE-$VERSION.tgz" 1.16 -WEB_SITE="https://bitbucket.org/benoitc/$SOURCE" 1.17 -WGET_URL="$WEB_SITE/get/$VERSION.gz" 1.18 +WEB_SITE="https://pypi.org/project/py-restclient/" 1.19 + 1.20 +SOURCE="py-restclient" 1.21 +TARBALL="$SOURCE-$VERSION.tar.gz" 1.22 +WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL" 1.23 1.24 DEPENDS="python python-httplib2" 1.25 BUILD_DEPENDS="python python-dev python-setuptools" 1.26 @@ -24,8 +25,9 @@ 1.27 genpkg_rules() 1.28 { 1.29 PYTHON_LIB=python$(grep ^VERSION= $WOK/python/receipt | sed 's/.*"\(...\).*/\1/') 1.30 + 1.31 mkdir -p $fs/usr 1.32 - rm -f $install/usr/lib/$PYTHON_LIB/site-packages/tests/* 1.33 - rmdir $install/usr/lib/$PYTHON_LIB/site-packages/tests 1.34 - cp -a $install/usr $fs 1.35 + rm -f $install/usr/lib/$PYTHON_LIB/site-packages/tests/* 1.36 + rmdir $install/usr/lib/$PYTHON_LIB/site-packages/tests 1.37 + cp -a $install/usr $fs 1.38 }