python/python-requests: Updated for version 2.5.3.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Thibaut Notteboom 2015-03-15 07:59:10 +07:00 committed by Willy Sudiarto Raharjo
parent db80bc979d
commit b6c0f3a24a
3 changed files with 12 additions and 5 deletions

View File

@ -1,2 +1,4 @@
Requests is an Apache2 Licensed HTTP library, written in Python, for
human beings.
python3 is an optional dependency (autodetected).

View File

@ -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 \

View File

@ -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=""