summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorDimitris Zlatanidis <d.zlatanidis@gmail.com>2016-09-03 07:30:50 +0300
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-09-11 08:53:26 +0700
commit7e24c94cc44dffb1e166acdd8fa44a188e9b92ce (patch)
treeed9512a20257330435fb3c171c3aac7dc1f9ae53 /python
parente4bf8e39a80e3fbd7eba5b392ffc615971cb322c (diff)
downloadslackbuilds-7e24c94cc44dffb1e166acdd8fa44a188e9b92ce.tar.gz
python/python-swiftclient: Updated for version 3.1.0.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
Diffstat (limited to 'python')
-rw-r--r--python/python-swiftclient/README2
-rw-r--r--python/python-swiftclient/python-swiftclient.SlackBuild10
-rw-r--r--python/python-swiftclient/python-swiftclient.info6
3 files changed, 9 insertions, 9 deletions
diff --git a/python/python-swiftclient/README b/python/python-swiftclient/README
index d70f8e9037..1a92d37478 100644
--- a/python/python-swiftclient/README
+++ b/python/python-swiftclient/README
@@ -1,4 +1,4 @@
OpenStack Object Storage API Client Library.
-This is a python client for the Swift API.
+This is a python client for the Swift API.
There's a Python API (the swiftclient module), and a command-line script (swift)
diff --git a/python/python-swiftclient/python-swiftclient.SlackBuild b/python/python-swiftclient/python-swiftclient.SlackBuild
index 9a6f1908a1..d14ae8b7e8 100644
--- a/python/python-swiftclient/python-swiftclient.SlackBuild
+++ b/python/python-swiftclient/python-swiftclient.SlackBuild
@@ -23,13 +23,13 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=python-swiftclient
-VERSION=${VERSION:-3.0.0}
+VERSION=${VERSION:-3.1.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -40,8 +40,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"
@@ -67,7 +67,7 @@ find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
python setup.py install --root=$PKG
diff --git a/python/python-swiftclient/python-swiftclient.info b/python/python-swiftclient/python-swiftclient.info
index a5823ab1f2..7d2dc149c2 100644
--- a/python/python-swiftclient/python-swiftclient.info
+++ b/python/python-swiftclient/python-swiftclient.info
@@ -1,8 +1,8 @@
PRGNAM="python-swiftclient"
-VERSION="3.0.0"
+VERSION="3.1.0"
HOMEPAGE="http://www.openstack.org/"
-DOWNLOAD="https://pypi.python.org/packages/source/p/python-swiftclient/python-swiftclient-3.0.0.tar.gz"
-MD5SUM="88740cc4258b980d166e98d8a42c4da7"
+DOWNLOAD="https://pypi.python.org/packages/d9/7f/4e6e49f4946adb22bbd4b015cc18b3f1606f8fa0a679cef010b1e52929d4/python-swiftclient-3.1.0.tar.gz"
+MD5SUM="ec4662569de59f6965a1b6703fe62449"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="python-requests six futures pbr"