mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-18 22:06:04 +01:00
python/python-memcached: Updated for version 1.58 + new maintainer.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
ec5420bc75
commit
3228aeefc1
2 changed files with 13 additions and 12 deletions
|
@ -3,6 +3,7 @@
|
|||
# Slackware build script for "python-memcached".
|
||||
|
||||
# Copyright 2015 Marcel Saegebarth <marc@mos6581.de>
|
||||
# Copyright 2016 Dimitris Zlatanidis Orestiada, Greece
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
|
@ -25,13 +26,13 @@
|
|||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
PRGNAM=python-memcached
|
||||
VERSION=${VERSION:-1.53}
|
||||
VERSION=${VERSION:-1.58}
|
||||
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
|
||||
|
@ -42,8 +43,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"
|
||||
|
@ -62,8 +63,8 @@ rm -rf $PKG
|
|||
mkdir -p $TMP $PKG $OUTPUT
|
||||
cd $TMP
|
||||
rm -rf $PRGNAM-release-$VERSION
|
||||
tar xvf $CWD/release-$VERSION.tar.gz || tar xvf $CWD/$PRGNAM-release-$VERSION.tar.gz
|
||||
cd $PRGNAM-release-$VERSION
|
||||
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 \
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
PRGNAM="python-memcached"
|
||||
VERSION="1.53"
|
||||
VERSION="1.58"
|
||||
HOMEPAGE="https://github.com/linsomniac/python-memcached/"
|
||||
DOWNLOAD="https://github.com/linsomniac/python-memcached/archive/release-1.53.tar.gz"
|
||||
MD5SUM="99d19b23bb8a77f66a2f4ea83adb8e46"
|
||||
DOWNLOAD="https://pypi.python.org/packages/f7/62/14b2448cfb04427366f24104c9da97cf8ea380d7258a3233f066a951a8d8/python-memcached-1.58.tar.gz"
|
||||
MD5SUM="23b258105013d14d899828d334e6b044"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES=""
|
||||
MAINTAINER="Marcel Saegebarth"
|
||||
EMAIL="marc@mos6581.de"
|
||||
REQUIRES="six"
|
||||
MAINTAINER="Dimitris Zlatanidis"
|
||||
EMAIL="d.zlatanidis@gmail.com"
|
||||
|
|
Loading…
Reference in a new issue