python/pycassa: Updated for version 1.11.1.

Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
Nikolay Korotkiy 2016-11-21 22:19:38 +00:00 committed by Willy Sudiarto Raharjo
parent 23756590c2
commit 82ba59b6c9
No known key found for this signature in database
GPG Key ID: 887B8374D7333381
4 changed files with 15 additions and 14 deletions

View File

@ -1,5 +1,5 @@
pycassa is a python client library for Apache Cassandra with
the following features:
pycassa is a Thrift-based python client library for Apache Cassandra
with the following features:
- Automatic failover and operation retries
- Connection pooling

View File

@ -2,11 +2,12 @@
# Slackware build script for pycassa
# Copyright 2012, Nikolay Korotkiy <sikmir@gmail.com>
# Copyright 2012-2016, Nikolay Korotkiy <sikmir@gmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
# permitted provided that the following conditions are met:
#
# 1. Redistributions of this script must retain the above copyright
# notice, this list of conditions and the following disclaimer.
#
@ -22,13 +23,13 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=pycassa
VERSION=${VERSION:-1.7.2}
VERSION=${VERSION:-1.11.1}
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
@ -49,10 +50,10 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
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 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
\( -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 {} \;
python setup.py install --root=$PKG

View File

@ -1,8 +1,8 @@
PRGNAM="pycassa"
VERSION="1.7.2"
VERSION="1.11.1"
HOMEPAGE="https://github.com/pycassa/pycassa"
DOWNLOAD="https://github.com/downloads/pycassa/pycassa/pycassa-1.7.2.tar.gz"
MD5SUM="aa69935198b39fb72a2969401180ddc8"
DOWNLOAD="http://github.com/pycassa/pycassa/archive/v1.11.1/pycassa-1.11.1.tar.gz"
MD5SUM="b87e4effd85384fde09f016b0b084039"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="thrift"

View File

@ -6,7 +6,7 @@
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
pycassa: pycassa (python client library for Apache Cassandra)
pycassa: pycassa (Python Thrift driver for Apache Cassandra)
pycassa:
pycassa: - Automatic failover and operation retries
pycassa: - Connection pooling
@ -14,6 +14,6 @@ pycassa: - Multithreading support
pycassa: - A batch interface
pycassa: - A class for mapping classes to Cassandra column families
pycassa:
pycassa: Homepage: https://github.com/pycassa
pycassa: Homepage: https://github.com/pycassa/pycassa
pycassa:
pycassa: