diff options
author | Dimitris Zlatanidis <d.zlatanidis@gmail.com> | 2015-08-26 06:02:13 +0300 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2015-08-29 10:07:27 +0700 |
commit | 092bb6bb6c2896b384443ca05766cb76325a0168 (patch) | |
tree | ccafc042f1333f2b6c39430a081627514127de88 /libraries/dropbox-python | |
parent | 1c9c28e2ad499f49c4994d12d7eea3634403ee80 (diff) | |
download | slackbuilds-092bb6bb6c2896b384443ca05766cb76325a0168.tar.gz |
libraries/dropbox-python: Updated for version 3.14.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
Diffstat (limited to 'libraries/dropbox-python')
-rw-r--r-- | libraries/dropbox-python/dropbox-python.SlackBuild | 13 | ||||
-rw-r--r-- | libraries/dropbox-python/dropbox-python.info | 8 |
2 files changed, 8 insertions, 13 deletions
diff --git a/libraries/dropbox-python/dropbox-python.SlackBuild b/libraries/dropbox-python/dropbox-python.SlackBuild index 74308b6f70..96c860ed33 100644 --- a/libraries/dropbox-python/dropbox-python.SlackBuild +++ b/libraries/dropbox-python/dropbox-python.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for dropbox-python -# Copyright 2014 Dimitris Zlatanidis Greece-Orestiada +# Copyright 2014-2015 Dimitris Zlatanidis Orestiada, Greece # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,7 +24,7 @@ PRGNAM=dropbox-python SCRNAM=$(printf $PRGNAM | cut -c1-7) -VERSION=${VERSION:-2.2.0} +VERSION=${VERSION:-3.14} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -61,7 +61,7 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $SCRNAM-$VERSION -unzip $CWD/$SCRNAM-$VERSION.zip +tar xvf $CWD/$SCRNAM-$VERSION.tar.gz cd $SCRNAM-$VERSION chown -R root:root . find -L . \ @@ -72,16 +72,11 @@ find -L . \ python setup.py install --root=$PKG -if $(python3 -c 'import sys' 2>/dev/null); then - python3 setup.py install --root=$PKG -fi - find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a CHANGELOG.mdown LICENSE PKG-INFO README.rst TESTING conf.py \ - $PKG/usr/doc/$PRGNAM-$VERSION +cp -a LICENSE README.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/dropbox-python/dropbox-python.info b/libraries/dropbox-python/dropbox-python.info index 9b698c36d4..f93171ae57 100644 --- a/libraries/dropbox-python/dropbox-python.info +++ b/libraries/dropbox-python/dropbox-python.info @@ -1,11 +1,11 @@ PRGNAM="dropbox-python" -VERSION="2.2.0" +VERSION="3.14" HOMEPAGE="http://www.dropbox.com/" -DOWNLOAD="https://pypi.python.org/packages/source/d/dropbox/dropbox-2.2.0.zip" -MD5SUM="8f9bc437c19b34670aff2526e30c855a" +DOWNLOAD="https://pypi.python.org/packages/source/d/dropbox/dropbox-3.14.tar.gz" +MD5SUM="d113d9cdfe476475eba3f74d1619ebd4" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="pysetuptools python-urllib3" +REQUIRES="pysetuptools python-urllib3 six python-requests" MAINTAINER="Dimitris Zlatanidis" EMAIL="d.zlatanidis@gmail.com" |