mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-04 20:29:09 +01:00
python/python-requests: Updated for version 2.5.3.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
db80bc979d
commit
b6c0f3a24a
3 changed files with 12 additions and 5 deletions
|
@ -1,2 +1,4 @@
|
||||||
Requests is an Apache2 Licensed HTTP library, written in Python, for
|
Requests is an Apache2 Licensed HTTP library, written in Python, for
|
||||||
human beings.
|
human beings.
|
||||||
|
|
||||||
|
python3 is an optional dependency (autodetected).
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
# Slackware build script for python-requests
|
# Slackware build script for python-requests
|
||||||
|
|
||||||
# Copyright 2013-2014 Thibaut Notteboom, Paris, FRANCE
|
# Copyright 2013-2015 Thibaut Notteboom, Paris, FRANCE
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
#
|
#
|
||||||
# Redistribution and use of this script, with or without modification, is
|
# Redistribution and use of this script, with or without modification, is
|
||||||
|
@ -23,7 +23,7 @@
|
||||||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
PRGNAM=python-requests
|
PRGNAM=python-requests
|
||||||
VERSION=${VERSION:-2.4.3}
|
VERSION=${VERSION:-2.5.3}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-1}
|
||||||
TAG=${TAG:-_SBo}
|
TAG=${TAG:-_SBo}
|
||||||
|
|
||||||
|
@ -73,6 +73,11 @@ find -L . \
|
||||||
|
|
||||||
python setup.py install --root=$PKG
|
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
|
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||||
cp -a \
|
cp -a \
|
||||||
HISTORY.rst LICENSE NOTICE PKG-INFO README.rst \
|
HISTORY.rst LICENSE NOTICE PKG-INFO README.rst \
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
PRGNAM="python-requests"
|
PRGNAM="python-requests"
|
||||||
VERSION="2.4.3"
|
VERSION="2.5.3"
|
||||||
HOMEPAGE="http://pypi.python.org/pypi/requests"
|
HOMEPAGE="http://pypi.python.org/pypi/requests"
|
||||||
DOWNLOAD="http://pypi.python.org/packages/source/r/requests/requests-2.4.3.tar.gz"
|
DOWNLOAD="http://pypi.python.org/packages/source/r/requests/requests-2.5.3.tar.gz"
|
||||||
MD5SUM="02214b3a179e445545de4b7a98d3dd17"
|
MD5SUM="23bf4fcc89ea8d353eb5353bb4a475b1"
|
||||||
DOWNLOAD_x86_64=""
|
DOWNLOAD_x86_64=""
|
||||||
MD5SUM_x86_64=""
|
MD5SUM_x86_64=""
|
||||||
REQUIRES=""
|
REQUIRES=""
|
||||||
|
|
Loading…
Reference in a new issue