From 7a3665cb6bfa731fcfe2905fbb7fe66749ef8e64 Mon Sep 17 00:00:00 2001 From: Dimitris Zlatanidis Date: Mon, 10 Feb 2014 06:47:36 +0700 Subject: python/pySmartDL: Updated for version 1.2.0. Signed-off-by: Willy Sudiarto Raharjo --- python/pySmartDL/README | 1 + python/pySmartDL/pySmartDL.SlackBuild | 12 +++++++----- python/pySmartDL/pySmartDL.info | 8 ++++---- 3 files changed, 12 insertions(+), 9 deletions(-) (limited to 'python') diff --git a/python/pySmartDL/README b/python/pySmartDL/README index f131528165..9313c1e5e6 100644 --- a/python/pySmartDL/README +++ b/python/pySmartDL/README @@ -8,5 +8,6 @@ Main features: - Pause/Unpause feature. - Hash checking. - Non-blocking, shows progress bar, download speed and eta. +- Python 3 Support Documentation: http://itaybb.github.io/pySmartDL/ diff --git a/python/pySmartDL/pySmartDL.SlackBuild b/python/pySmartDL/pySmartDL.SlackBuild index 3c2a2177a6..7ad3deb458 100644 --- a/python/pySmartDL/pySmartDL.SlackBuild +++ b/python/pySmartDL/pySmartDL.SlackBuild @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=pySmartDL -VERSION=${VERSION:-1.1.2} +VERSION=${VERSION:-1.2.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -71,14 +71,16 @@ 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" \ - README.md PKG-INFO ChangeLog.txt LICENSE.txt \ - docs/* \ - $PKG/usr/doc/$PRGNAM-$VERSION +cp -a README.md PKG-INFO ChangeLog.txt LICENSE.txt 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/pySmartDL/pySmartDL.info b/python/pySmartDL/pySmartDL.info index 8e6b17f60f..16d5533342 100644 --- a/python/pySmartDL/pySmartDL.info +++ b/python/pySmartDL/pySmartDL.info @@ -1,10 +1,10 @@ PRGNAM="pySmartDL" -VERSION="1.1.2" +VERSION="1.2.0" HOMEPAGE="http://pypi.python.org/pypi/pySmartDL/" -DOWNLOAD="https://pypi.python.org/packages/source/p/pySmartDL/pySmartDL-1.1.2.tar.gz" -MD5SUM="3dfdc85b91b0e2f976e8d784107bfba3" +DOWNLOAD="https://pypi.python.org/packages/source/p/pySmartDL/pySmartDL-1.2.0.tar.gz" +MD5SUM="58d2ec32512afd0b70e7643cd4fce5f2" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="pysetuptools threadpool" +REQUIRES="futures" MAINTAINER="Dimitris Zlatanidis" EMAIL="d.zlatanidis@gmail.com" -- cgit v1.2.3