aboutsummaryrefslogtreecommitdiff
path: root/python/rope
diff options
context:
space:
mode:
authorLarry Hajali <larryhaja@gmail.com>2014-07-06 07:39:19 +0700
committerRobby Workman <rworkman@slackbuilds.org>2014-07-07 00:00:39 -0500
commit7d98345b27d650bfae82e98d55f8ffca5adb7b80 (patch)
treef185c4d289565cf0549e2c85792909115331e5dc /python/rope
parent76c11975e2210f3a9b95ef5d17b7ac56ee93e33a (diff)
python/rope: Updated for version 0.10.2.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/rope')
-rw-r--r--python/rope/rope.SlackBuild48
-rw-r--r--python/rope/rope.info6
2 files changed, 28 insertions, 26 deletions
diff --git a/python/rope/rope.SlackBuild b/python/rope/rope.SlackBuild
index 9876f03c3573f..bed9c56e5c10f 100644
--- a/python/rope/rope.SlackBuild
+++ b/python/rope/rope.SlackBuild
@@ -2,10 +2,28 @@
# Slackware build script for rope
-# Written by Larry Hajali <larryhaja[at]gmail[dot]com>
+# Copyright 2011-2014 Larry Hajali <larryhaja[at]gmail[dot]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.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=rope
-VERSION=${VERSION:-0.9.4}
+VERSION=${VERSION:-0.10.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -22,20 +40,6 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
set -e
rm -rf $PKG
@@ -46,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
@@ -57,9 +61,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- COPYING PKG-INFO README.txt docs/* \
- $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a COPYING PKG-INFO README.rst docs/* $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/python/rope/rope.info b/python/rope/rope.info
index 08cc1f4fecb60..e3193f6d68b60 100644
--- a/python/rope/rope.info
+++ b/python/rope/rope.info
@@ -1,8 +1,8 @@
PRGNAM="rope"
-VERSION="0.9.4"
+VERSION="0.10.2"
HOMEPAGE="http://rope.sourceforge.net/"
-DOWNLOAD="http://pypi.python.org/packages/source/r/rope/rope-0.9.4.tar.gz"
-MD5SUM="6c654c6892f78008e04e2d65f9f859bb"
+DOWNLOAD="http://pypi.python.org/packages/source/r/rope/rope-0.10.2.tar.gz"
+MD5SUM="8d3341cd2994df5ea08e1729b45dac7c"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""