From 7e24c94cc44dffb1e166acdd8fa44a188e9b92ce Mon Sep 17 00:00:00 2001 From: Dimitris Zlatanidis Date: Sat, 3 Sep 2016 07:30:50 +0300 Subject: python/python-swiftclient: Updated for version 3.1.0. Signed-off-by: Dimitris Zlatanidis --- python/python-swiftclient/README | 2 +- python/python-swiftclient/python-swiftclient.SlackBuild | 10 +++++----- python/python-swiftclient/python-swiftclient.info | 6 +++--- 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" -- cgit v1.2.3