wok-next diff python-httplib2/receipt @ rev 21338
OpenSSL 1.0.2t -> 1.0.2u: overflow bug CVE-2019-1551
author | Erkan Yilmaz <erkan@slitaz.org> |
---|---|
date | Sat Dec 21 08:55:46 2019 +0000 (2019-12-21) |
parents | a3c581bf52b8 |
children |
line diff
1.1 --- a/python-httplib2/receipt Fri Aug 10 12:53:17 2018 +0300 1.2 +++ b/python-httplib2/receipt Sat Dec 21 08:55:46 2019 +0000 1.3 @@ -1,29 +1,25 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 +ORIGIN="httplib2" 1.8 PACKAGE="python-httplib2" 1.9 -VERSION="0.8" 1.10 -CATEGORY="development" 1.11 +VERSION="0.11.3" 1.12 +CATEGORY="python" 1.13 SHORT_DESC="A comprehensive HTTP client library for python" 1.14 MAINTAINER="claudinei@slitaz.org" 1.15 LICENSE="MIT" 1.16 -WEB_SITE="https://pypi.org/project/httplib2/" 1.17 +WEB_SITE="https://pypi.org/project/$ORIGIN/" 1.18 +HOST_ARCH="any" 1.19 REPOLOGY="python:httplib2" 1.20 1.21 -SOURCE="httplib2" 1.22 -TARBALL="$SOURCE-$VERSION.tar.gz" 1.23 -WGET_URL="http://$SOURCE.googlecode.com/files/$TARBALL" # FIXME 1.24 +BUILD_DEPENDS="python-dev python3-dev" 1.25 +SPLIT="${PACKAGE/python/python3}:3" 1.26 1.27 -DEPENDS="python" 1.28 -BUILD_DEPENDS="python-dev" 1.29 - 1.30 -# Rules to configure and make the package. 1.31 -compile_rules() 1.32 -{ 1.33 - python setup.py install --root=$DESTDIR 1.34 +compile_rules() { 1.35 + pip$SET install --no-compile --root=$install $ORIGIN==$VERSION 1.36 } 1.37 1.38 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.39 -genpkg_rules() 1.40 -{ 1.41 - cp -a $install/usr $fs 1.42 +genpkg_rules() { 1.43 + copy @std 1.44 + py="${PACKAGE%%-*}" # python/python3 1.45 + DEPENDS="$py" 1.46 }