summaryrefslogtreecommitdiff
path: root/python/python-future/python-future.SlackBuild
diff options
context:
space:
mode:
authorDimitris Zlatanidis <d.zlatanidis@gmail.com>2014-10-25 07:20:59 +0300
committerDimitris Zlatanidis <d.zlatanidis@gmail.com>2014-10-25 07:20:59 +0300
commitd0e76457ae8df7ffecf4167f4a4e7e8ad9c8c797 (patch)
treefe6796e1d2e5467e0ae04e75c8205b223789f1c0 /python/python-future/python-future.SlackBuild
parent600c7178e3028b72c87931011ea3d5b502757e3c (diff)
downloadslackbuilds-d0e76457ae8df7ffecf4167f4a4e7e8ad9c8c797.tar.gz
python/python-future: Updated for version 0.14.1.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
Diffstat (limited to 'python/python-future/python-future.SlackBuild')
-rw-r--r--python/python-future/python-future.SlackBuild9
1 files changed, 5 insertions, 4 deletions
diff --git a/python/python-future/python-future.SlackBuild b/python/python-future/python-future.SlackBuild
index d80fa55c0c..168922493b 100644
--- a/python/python-future/python-future.SlackBuild
+++ b/python/python-future/python-future.SlackBuild
@@ -23,7 +23,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=python-future
-VERSION=${VERSION:-0.12.3}
+SRCNAM=$(echo $PRGNAM | cut -c8-13)
+VERSION=${VERSION:-0.14.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -59,9 +60,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/v$VERSION.tar.gz
-cd $PRGNAM-$VERSION
+rm -rf $SRCNAM-$VERSION
+tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
+cd $SRCNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \