python/python-swiftclient: Updated for version 3.1.0.

Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
This commit is contained in:
Dimitris Zlatanidis 2016-09-03 07:30:50 +03:00 committed by Willy Sudiarto Raharjo
parent e4bf8e39a8
commit 7e24c94cc4
No known key found for this signature in database
GPG Key ID: 887B8374D7333381
3 changed files with 9 additions and 9 deletions

View File

@ -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)

View File

@ -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

View File

@ -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"