summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThibaut Notteboom <thibaut.notteboom@gmail.com>2016-08-14 21:45:58 +0100
committerDavid Spencer <idlemoor@slackbuilds.org>2016-08-14 21:45:58 +0100
commit66ea168809a103acd3ef803e261466c7ef4fe342 (patch)
tree99650fb4f290515fa6c54b9bbc57411e23fa4eff
parentac004a91f716afa1a8526bdc706844418bfde7e1 (diff)
downloadslackbuilds-66ea168809a103acd3ef803e261466c7ef4fe342.tar.gz
python/python-requests-kerberos: Updated for version 0.10.0.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
-rw-r--r--python/python-requests-kerberos/python-requests-kerberos.SlackBuild16
-rw-r--r--python/python-requests-kerberos/python-requests-kerberos.info8
-rw-r--r--python/python-requests-kerberos/slack-desc4
3 files changed, 15 insertions, 13 deletions
diff --git a/python/python-requests-kerberos/python-requests-kerberos.SlackBuild b/python/python-requests-kerberos/python-requests-kerberos.SlackBuild
index eebf4cae2b..64149e5394 100644
--- a/python/python-requests-kerberos/python-requests-kerberos.SlackBuild
+++ b/python/python-requests-kerberos/python-requests-kerberos.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for python-requests-kerberos
-# Copyright 2015 Thibaut Notteboom, Paris, FRANCE
+# Copyright 2015-2016 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-kerberos
-VERSION=${VERSION:-0.7.0}
+VERSION=${VERSION:-0.10.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -31,7 +31,7 @@ SRCNAM=requests-kerberos
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -42,8 +42,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -61,7 +61,7 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
+rm -rf $SRCNAM-$VERSION
tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
cd $SRCNAM-$VERSION
chown -R root:root .
@@ -74,7 +74,9 @@ find -L . \
python setup.py install --root=$PKG
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS HISTORY.rst LICENSE PKG-INFO README.rst $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ AUTHORS HISTORY.rst LICENSE README.rst \
+ $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/python/python-requests-kerberos/python-requests-kerberos.info b/python/python-requests-kerberos/python-requests-kerberos.info
index 9b54e8ce8a..0ccd818a65 100644
--- a/python/python-requests-kerberos/python-requests-kerberos.info
+++ b/python/python-requests-kerberos/python-requests-kerberos.info
@@ -1,8 +1,8 @@
PRGNAM="python-requests-kerberos"
-VERSION="0.7.0"
-HOMEPAGE="http://pypi.python.org/pypi/requests-kerberos"
-DOWNLOAD="https://pypi.python.org/packages/source/r/requests-kerberos/requests-kerberos-0.7.0.tar.gz"
-MD5SUM="d7cde195a95536c83a2ffd8a7050be4c"
+VERSION="0.10.0"
+HOMEPAGE="https://github.com/requests/requests-kerberos"
+DOWNLOAD="https://github.com/requests/requests-kerberos/archive/v0.10.0/requests-kerberos-0.10.0.tar.gz"
+MD5SUM="1a08c83a9b72a5ae1f6b18948042f971"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="python-kerberos python-requests"
diff --git a/python/python-requests-kerberos/slack-desc b/python/python-requests-kerberos/slack-desc
index 1bb50a3c0a..34b9e407b6 100644
--- a/python/python-requests-kerberos/slack-desc
+++ b/python/python-requests-kerberos/slack-desc
@@ -6,8 +6,8 @@
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
-python-requests-kerberos: python-requests-kerberos (A Kerberos authentication handler
-python-requests-kerberos:
+python-requests-kerberos: python-requests-kerberos (A Kerberos authentication handler for
+python-requests-kerberos: python-requests)
python-requests-kerberos:
python-requests-kerberos: Requests is an HTTP library, written in Python, for human beings.
python-requests-kerberos: This library adds optional Kerberos/GSSAPI authentication support and