summaryrefslogtreecommitdiffstats
path: root/python/python-requests-kerberos/python-requests-kerberos.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'python/python-requests-kerberos/python-requests-kerberos.SlackBuild')
-rw-r--r--python/python-requests-kerberos/python-requests-kerberos.SlackBuild16
1 files changed, 9 insertions, 7 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