summaryrefslogtreecommitdiff
path: root/python/pySmartDL
diff options
context:
space:
mode:
authorDimitris Zlatanidis <d.zlatanidis@gmail.com>2014-02-10 06:47:36 +0700
committerErik Hanson <erik@slackbuilds.org>2014-02-11 12:15:07 -0600
commit7a3665cb6bfa731fcfe2905fbb7fe66749ef8e64 (patch)
tree6066a287c6097316e8f4a2e7091170d5c5b460e2 /python/pySmartDL
parentf9ea7faea93ad47b68d5aa4af47b88bd3695bf3d (diff)
downloadslackbuilds-7a3665cb6bfa731fcfe2905fbb7fe66749ef8e64.tar.gz
python/pySmartDL: Updated for version 1.2.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/pySmartDL')
-rw-r--r--python/pySmartDL/README1
-rw-r--r--python/pySmartDL/pySmartDL.SlackBuild12
-rw-r--r--python/pySmartDL/pySmartDL.info8
3 files changed, 12 insertions, 9 deletions
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"