summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitris Zlatanidis <d.zlatanidis@gmail.com>2016-09-13 14:55:14 +0300
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-09-14 19:07:16 +0700
commit652b7da824f15ee12b3225301182060cccf85fe2 (patch)
treeeb446b8572457eb8d6d999af47c5f4bd24f8ff88
parentdbe1b7e25f926d4be7167bab42afe6eddec7fb13 (diff)
downloadslackbuilds-652b7da824f15ee12b3225301182060cccf85fe2.tar.gz
libraries/tmdb3: Updated for version 0.7.2.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
-rw-r--r--libraries/tmdb3/tmdb3.SlackBuild16
-rw-r--r--libraries/tmdb3/tmdb3.info6
2 files changed, 11 insertions, 11 deletions
diff --git a/libraries/tmdb3/tmdb3.SlackBuild b/libraries/tmdb3/tmdb3.SlackBuild
index 5e061276bb..5280f39637 100644
--- a/libraries/tmdb3/tmdb3.SlackBuild
+++ b/libraries/tmdb3/tmdb3.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for tmdb3
-# 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
@@ -23,13 +23,13 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=tmdb3
-VERSION=${VERSION:-0.6.17}
+VERSION=${VERSION:-0.7.2}
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
@@ -40,8 +40,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"
@@ -60,14 +60,14 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-unzip $CWD/$PRGNAM-$VERSION.zip
+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 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
@@ -75,7 +75,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 README PKG-INFO $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a README.md LICENSE PKG-INFO $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/libraries/tmdb3/tmdb3.info b/libraries/tmdb3/tmdb3.info
index f6d967619b..b432c69305 100644
--- a/libraries/tmdb3/tmdb3.info
+++ b/libraries/tmdb3/tmdb3.info
@@ -1,8 +1,8 @@
PRGNAM="tmdb3"
-VERSION="0.6.17"
+VERSION="0.7.2"
HOMEPAGE="https://pypi.python.org/pypi/tmdb3/"
-DOWNLOAD="https://pypi.python.org/packages/source/t/tmdb3/tmdb3-0.6.17.zip"
-MD5SUM="cd259427454472164c9a2479504c9cbb"
+DOWNLOAD="https://pypi.python.org/packages/ec/67/b248c8c4867876c7620d724e7f85f6cf86102d730813891e41b05cc744bd/tmdb3-0.7.2.tar.gz"
+MD5SUM="c712bca4934230a16a8b1a41dcb987cf"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""