diff options
Diffstat (limited to 'python/python-requests')
-rw-r--r-- | python/python-requests/README | 2 | ||||
-rw-r--r-- | python/python-requests/python-requests.SlackBuild | 9 | ||||
-rw-r--r-- | python/python-requests/python-requests.info | 6 |
3 files changed, 12 insertions, 5 deletions
diff --git a/python/python-requests/README b/python/python-requests/README index 971ab87590fe4..9cf8a1867d6f9 100644 --- a/python/python-requests/README +++ b/python/python-requests/README @@ -1,2 +1,4 @@ Requests is an Apache2 Licensed HTTP library, written in Python, for human beings. + +python3 is an optional dependency (autodetected). diff --git a/python/python-requests/python-requests.SlackBuild b/python/python-requests/python-requests.SlackBuild index f24f49b7c9c7f..8219b638e0e8e 100644 --- a/python/python-requests/python-requests.SlackBuild +++ b/python/python-requests/python-requests.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for python-requests -# Copyright 2013-2014 Thibaut Notteboom, Paris, FRANCE +# Copyright 2013-2015 Thibaut Notteboom, Paris, FRANCE # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=python-requests -VERSION=${VERSION:-2.4.3} +VERSION=${VERSION:-2.5.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -73,6 +73,11 @@ find -L . \ python setup.py install --root=$PKG +# Python 3 support. +if $(python3 -c 'import sys' 2>/dev/null); then + python3 setup.py install --root=$PKG +fi + mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ HISTORY.rst LICENSE NOTICE PKG-INFO README.rst \ diff --git a/python/python-requests/python-requests.info b/python/python-requests/python-requests.info index 1c068380c8d35..84f584f6b211a 100644 --- a/python/python-requests/python-requests.info +++ b/python/python-requests/python-requests.info @@ -1,8 +1,8 @@ PRGNAM="python-requests" -VERSION="2.4.3" +VERSION="2.5.3" HOMEPAGE="http://pypi.python.org/pypi/requests" -DOWNLOAD="http://pypi.python.org/packages/source/r/requests/requests-2.4.3.tar.gz" -MD5SUM="02214b3a179e445545de4b7a98d3dd17" +DOWNLOAD="http://pypi.python.org/packages/source/r/requests/requests-2.5.3.tar.gz" +MD5SUM="23bf4fcc89ea8d353eb5353bb4a475b1" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |