aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitris Zlatanidis <d.zlatanidis@gmail.com>2016-07-06 15:45:14 +0300
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-07-09 08:00:25 +0700
commit0d3ace37ee8fb9b90e8c11b2682a0c1d9af4c704 (patch)
treeeab7a004057fd35836738580042f82f7788ad879
parent535db9bfe5b64467b6b9d0b30bfaf903b1a92b6f (diff)
libraries/facebook-python: Updated for version 1.0.0.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
-rw-r--r--libraries/facebook-python/facebook-python.SlackBuild10
-rw-r--r--libraries/facebook-python/facebook-python.info8
2 files changed, 9 insertions, 9 deletions
diff --git a/libraries/facebook-python/facebook-python.SlackBuild b/libraries/facebook-python/facebook-python.SlackBuild
index 95a37478e5286..0798721222dd8 100644
--- a/libraries/facebook-python/facebook-python.SlackBuild
+++ b/libraries/facebook-python/facebook-python.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for facebook-python
-# Copyright 2014 Dimitris Zlatanidis Greece-Orestiada
+# Copyright 2014-2016 Dimitris Zlatanidis Orestiada, Greece
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,7 +24,7 @@
PRGNAM=facebook-python
SCRNAM=facebook-sdk
-VERSION=${VERSION:-0.4.0}
+VERSION=${VERSION:-1.0.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -61,14 +61,14 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $SCRNAM-$VERSION
-tar xvf $CWD/$SCRNAM-$VERSION.tar.gz
+tar xvf $CWD/$SCRNAM-$VERSION.tar.gz || tar xvf $CWD/v$VERSION.tar.gz
cd $SCRNAM-$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 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
@@ -80,7 +80,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 PKG-INFO README.rst $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a README.rst CONTRIBUTING.rst $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/libraries/facebook-python/facebook-python.info b/libraries/facebook-python/facebook-python.info
index f3c41164e8b38..984bf5fa1c165 100644
--- a/libraries/facebook-python/facebook-python.info
+++ b/libraries/facebook-python/facebook-python.info
@@ -1,11 +1,11 @@
PRGNAM="facebook-python"
-VERSION="0.4.0"
+VERSION="1.0.0"
HOMEPAGE="https://github.com/pythonforfacebook/facebook-sdk"
-DOWNLOAD="https://pypi.python.org/packages/source/f/facebook-sdk/facebook-sdk-0.4.0.tar.gz"
-MD5SUM="ac9f38e197e54b8ba9f3a61988cc33b7"
+DOWNLOAD="https://pypi.python.org/packages/source/f/facebook-sdk/facebook-sdk-1.0.0.tar.gz"
+MD5SUM="3ed0b6eab5b1c8e5d382280676af059c"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES=""
+REQUIRES="python-requests"
MAINTAINER="Dimitris Zlatanidis"
EMAIL="d.zlatanidis@gmail.com"